AWS Security ChangesHomeSearch

AWS AmazonECR: ECR SetRepositoryPolicy example: placeholder account ID and policy doc link

Service: AmazonECR · 2026-11-01 · Documentation low

File: AmazonECR/latest/userguide/example_ecr_SetRepositoryPolicy_section.md · Type: iam

Summary

Replaces the sample registryId with the standard 123456789012 placeholder and adds a link to the documentation on setting a private repository policy statement.

Security assessment

The change adds a pointer to guidance on authoring repository policy statements, which govern cross-account access to images. It is documentation of an access-control feature, not a fix for a specific vulnerability.

Evidence

+For more information, see [Setting a private repository policy statement in Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/set-repository-policy.html) in the _Amazon ECR User Guide_.

Diff

diff --git a/AmazonECR/latest/userguide/example_ecr_SetRepositoryPolicy_section.md b/AmazonECR/latest/userguide/example_ecr_SetRepositoryPolicy_section.md
index b041bf5..2032f80 100644
--- a//AmazonECR/latest/userguide/example_ecr_SetRepositoryPolicy_section.md
+++ b//AmazonECR/latest/userguide/example_ecr_SetRepositoryPolicy_section.md
@@ -57 +57 @@ Output:
-        "registryId": "012345678910",
+        "registryId": "123456789012",
@@ -61,0 +62,2 @@ Output:
+For more information, see [Setting a private repository policy statement in Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/set-repository-policy.html) in the _Amazon ECR User Guide_.
+