BuildAndDeployment -> Patch Management: Usage of a maximum lifetime for images
Risk and Opportunity
Risk: Vulnerabilities in images of running containers stay for too long and might get exploited. Long running containers have potential memory leaks. A compromised container might get killed by restarting the container (e.g. in case the attacker has not reached the persistence layer).
Opportunity: The periodically built images are deployed minimum every 30 days (better hourly/daily/weekly). Meaning an image is not in production for longer than 30 days.
Usefulness and Requirements of this Activitiy
Required knowledge: Medium (two disciplines)
Required time: High
Required resources (systems): Low
OWASP SAMM VERSION 2