Ensure valid account number format is used in Amazon Elastic Container Registry (Amazon ECR)

LOW

Description

The resource ARN account ID is not valid. Incorrect ARNs may cause issues in DevOps processes.

Remediation

In AWS Console -

  1. Sign in to the AWS Console and go to the Amazon ECR console.
  2. Select Repositories.
  3. Click the image repository that you want to configure. Select Permissions.
  4. In the Permission statements, select the policy statement.
  5. Click Edit and make the necessary changes.

Policy Details

Rule Reference ID: AC_AWS_0505
CSP: AWS
Remediation Available: Yes
Resource Category: Compute