
An Amazon Inspector finding on a vulnerable Amazon ECR image triggers an AWS Step Functions workflow via Amazon EventBridge to tag the image and alert via Amazon SNS.
ecr:BatchGetImage and writes the same manifest back under a per-image quarantine-<digest> tag with ecr:PutImage - a pure control-plane re-tag that needs no AWS Lambda function - then publishes an Amazon SNS notification. Retry and Catch drive a failure-notification path, and repeat findings for an already tagged image end without another email.git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/inspector-eventbridge-sfn/typescript/cdkcd serverless-patterns/inspector-eventbridge-sfn/typescript/cdknpm installIf this account and Region have never been used with the AWS CDK, run npx cdk bootstrap oncenpx cdk deploynpx cdk destroy.