Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
ecr_registry_scan_images_on_push_enabledProvider: AWS
Service:
ecrSeverity: MEDIUM
Categories:
container-securityResource type:
OtherWhat this check verifies
Amazon ECR registries with repositories are evaluated for image scanning configured asscan on push at the registry level, with scan rules that cover all repositories (no restrictive filters), for either basic or enhanced scanning.
Risk
Absent or filteredscan on push lets vulnerable images be pushed and deployed without timely detection, enabling exploitation of known CVEs (RCE, privilege escalation), supply chain compromise, and lateral movement - threatening workload integrity and data confidentiality.
Recommendation
Enable registry-widescan on push and ensure rules apply to all repositories (no filters). Prefer enhanced scanning for broader coverage, and pair with continuous scans when available. Integrate findings into CI/CD gates and alerts to enforce defense in depth and block promotion of risky images.
Remediation
- CLI
- Terraform
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = ecr_registry_scan_images_on_push_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks