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-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select ECR.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.all_controls_ecr
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.all_controls_ecr --share
Controls
- 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