{
    "Provider": "aws",
    "CheckID": "ecr_repositories_not_publicly_accessible",
    "CheckTitle": "Ensure there are no ECR repositories set as Public",
    "CheckType": ["Protect", "Secure Access Management"],
    "ServiceName": "ecr",
    "SubServiceName": "",
    "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id",
    "Severity": "critical",
    "ResourceType": "AwsEcrRepository",
    "Description": "Ensure there are no ECR repositories set as Public",
    "Risk": "A repository policy that allows anonymous access may allow anonymous users to perform actions.",
    "RelatedUrl": "",
    "Remediation": {
      "Code": {
        "CLI": "",
        "NativeIaC": "https://docs.bridgecrew.io/docs/public_1-ecr-repositories-not-public#cloudformation",
        "Other": "https://docs.bridgecrew.io/docs/public_1-ecr-repositories-not-public#aws-console",
        "Terraform": ""
      },
      "Recommendation": {
        "Text": "Ensure the repository and its contents are not publicly accessible",
        "Url": "https://docs.aws.amazon.com/AmazonECR/latest/public/security_iam_service-with-iam.html"
      }
    },
    "Categories": [],
    "Tags": {
      "Tag1Key": "value",
      "Tag2Key": "value"
    },
    "DependsOn": [],
    "RelatedTo": [],
    "Notes": "",
    "Compliance": []
  }
