AWS Security ChangesHomeSearch

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

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

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

Summary

Replaces the sample registryId with the standard 123456789012 placeholder and adds a link to the private repository policies documentation.

Security assessment

The example shows a repository resource policy (an access-control artifact) and now links to the repository-policy documentation; the registryId edit is a cosmetic placeholder normalization. No specific weakness or CVE is addressed.

Evidence

+For more information, see [Private repository policies in Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html) in the _Amazon ECR User Guide_.

Diff

diff --git a/AmazonECR/latest/userguide/example_ecr_GetRepositoryPolicy_section.md b/AmazonECR/latest/userguide/example_ecr_GetRepositoryPolicy_section.md
index 4e04b1d..de89e8b 100644
--- a//AmazonECR/latest/userguide/example_ecr_GetRepositoryPolicy_section.md
+++ b//AmazonECR/latest/userguide/example_ecr_GetRepositoryPolicy_section.md
@@ -37 +37 @@ Output:
-        "registryId": "012345678910",
+        "registryId": "123456789012",
@@ -41,0 +42,2 @@ Output:
+For more information, see [Private repository policies in Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html) in the _Amazon ECR User Guide_.
+