Control: ECR repository policy should prohibit public access
Description
Ensure ECR repository associated policy prohibits public access.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ecr_repository_policy_prohibit_public_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ecr_repository_policy_prohibit_public_access --share
SQL
This control uses a named query:
ecr_repository_policy_prohibit_public_access