patching
Updating software to a version that fixes known bugs or vulnerabilities.
In more detail
For containers you patch by rebuilding the image on an updated base image and redeploying, not by changing running containers. Rebuild regularly even when your code has not changed, because the base image keeps receiving fixes.
Related terms
- vulnerability — A weakness in software or configuration that an attacker could use to cause harm.
- base image — The image a Dockerfile starts from with FROM, which supplies the operating system files and often a language runtime.
- image scanning — Checking the packages inside an image against lists of known vulnerabilities.
- immutable — Something that cannot be changed after it is created; to change it you make a new one.
- shared responsibility model — The cloud security rule for who does what: the provider secures the cloud itself, and you secure what you put in it.
- managed service — A cloud service where the provider runs the servers, software updates and much of the operation for you, such as a managed database.
- NAT gateway — A managed AWS service in a public subnet that lets resources in private subnets start outbound internet connections.
- lockfile — A file that records the exact version of every dependency, including transitive ones, so every install gets the same set.
Taught in
- Helm: Install, Upgrade And Roll Back — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Deployment: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Observability: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Authentication, Authorisation And Admission — Certified Kubernetes Application Developer (CKAD) Exam Prep
- SecurityContexts And Capabilities — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Configuration And Security: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Final Review: Where Your Marks Are At Risk — Certified Kubernetes Application Developer (CKAD) Exam Prep
- The Shared Responsibility Model — Cloud Infrastructure & Hyperscaler Architecture
- Subnets: Public and Private — Cloud Infrastructure & Hyperscaler Architecture
- Comparing Compute Options — Cloud Infrastructure & Hyperscaler Architecture
- NoSQL and DynamoDB — Cloud Infrastructure & Hyperscaler Architecture
- When to Pick Which Database — Cloud Infrastructure & Hyperscaler Architecture
- Scan, Patch And Inspect The Software Supply Chain — Docker Architecture & Production Containers
- Lockfiles And Reproducible Builds — Application Security & Threat Modeling for Engineers
- Container Security: Minimal Bases And Non Root — Application Security & Threat Modeling for Engineers
- Image Scanning And Trivy — Application Security & Threat Modeling for Engineers
References
- NIST glossary: patch
- Dockerfile best practices: rebuild your images often
- AWS Systems Manager Patch Manager
- NIST SP 800-40 Rev. 4: enterprise patch management