Medium ECR Regional

ECR repositories should have at least one lifecycle policy configured

NIST

Description

Ensures ECR repositories have at least one lifecycle policy configured to manage image retention.


Remediation

To configure a lifecycle policy for an ECR repository, refer to the Amazon Elastic Container Registry User Guide.

Steps

  1. Open the Amazon ECR console.
  2. Choose the repository.
  3. Configure a lifecycle policy.
  4. Save the changes.

Compliance

NIST