Benchmark: Elastic Container Registry
Overview
This section contains recommendations for configuring AWS ECR resources and options.
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 Elastic Container Registry.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.foundational_security_ecr
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.foundational_security_ecr --share
Controls
- 1 ECR private repositories should have image scanning configured
- 2 ECR private repositories should have tag immutability configured
- 3 ECR repositories should have at least one lifecycle policy configured