Benchmark: ECR
Description
This section contains recommendations for configuring ECR resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select ECR.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.all_controls_ecrSnapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.all_controls_ecr --shareControls
- ECR repositories should have image scan on push enabled
- ECR repositories should have lifecycle policies configured
- ECR repositories should prohibit public access
- ECR private repositories should have tag immutability configured