Allowing public access to the ECR repository risks leaking sensitive of abusable information
Risk of potential data leakage of sensitive artifacts
Do not allow public access in the policy
The following example will fail the aws-ecr-no-public-access check.
The following example will pass the aws-ecr-no-public-access check.