QuestionQ28

VerifiedContinuous Improvement for Existing Solutions

A company runs a containerized application in the AWS Cloud. The application runs on Amazon Elastic Container Service (Amazon ECS) using a group of Amazon EC2 instances. The EC2 instances run in an Auto Scaling group.

The company uses Amazon Elastic Container Registry (Amazon ECR) to store its container images. When a new image version is uploaded, that new image version is assigned a unique tag.

The company requires a solution that scans new image versions for common vulnerabilities and exposures. The solution must automatically delete new image tags that have Critical or High severity findings. The solution must also notify the development team whenever such a deletion occurs.

Which solution meets these requirements?

Explanation

Amazon ECR scan-on-push scanning automatically scans newly pushed images, and completed scan events are delivered to Amazon EventBridge with severity-count and image-tag details. An EventBridge rule can route completed scans containing HIGH or CRITICAL findings to an AWS Step Functions workflow, which can delete the affected ECR tag and publish an Amazon SNS notification to the development team.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!