AWS › Elastic Container Registry (ECR)
How does ECR image scanning help identify security vulnerabilities within container images before they are deployed?
IntermediateAnswer
ECR image scanning automatically analyzes the operating system packages and, with enhanced scanning enabled, application dependencies within a container image against known vulnerability databases, flagging any identified vulnerabilities along with their severity level, which can be configured to run automatically every time a new image is pushed, giving teams visibility into security risks before a vulnerable image is ever deployed to production.
aws ecr start-image-scan --repository-name my-app --image-id imageTag=latestReal-world example A security conscious development team enables automatic scanning on push for their ECR repositories, catching a critical vulnerability in a base image dependency before that image is ever deployed to their production ECS cluster.