Steps to create the solution:
- Download the Template-ECR-SFL.yml template.
- Upload the template to CloudFormation and create a new stack.
- Test the solution by scanning an image on ECR. Then, go to CloudWatch and check log groups starting with ‘/aws/ecr/image-scan-findings/repository name’.
- Feel free to modify the Lambda function code within the template and/or create the resources manually.