AWS Security ChangesHomeSearch

AWS codeartifact documentation change

Service: codeartifact · 2025-10-25 · Documentation low

File: codeartifact/latest/ug/security_iam_id-based-policy-examples.md

Summary

Added JSON formatting sections and updated example account numbers

Security assessment

Formatting changes and placeholder account number updates in policy examples without security-specific context or vulnerability fixes

Diff

diff --git a/codeartifact/latest/ug/security_iam_id-based-policy-examples.md b/codeartifact/latest/ug/security_iam_id-based-policy-examples.md
index 77c71ea6e..759c3ed89 100644
--- a//codeartifact/latest/ug/security_iam_id-based-policy-examples.md
+++ b//codeartifact/latest/ug/security_iam_id-based-policy-examples.md
@@ -70,0 +71,6 @@ The following AWS managed policies, which you can attach to users in your accoun
+JSON
+    
+
+****
+    
+    
@@ -95,0 +103,6 @@ The following AWS managed policies, which you can attach to users in your accoun
+JSON
+    
+
+****
+    
+    
@@ -172,0 +187,6 @@ The `codeartifact:GetAuthorizationToken` and `sts:GetServiceBearerToken` permiss
+JSON
+    
+
+****
+    
+    
@@ -203,0 +225,6 @@ The following shows an example of a permissions policy that allows a user to lis
+JSON
+    
+
+****
+    
+    
@@ -211 +238 @@ The following shows an example of a permissions policy that allows a user to lis
-             "Resource": "arn:aws:codeartifact:us-east-2:123456789012:domain/my*"      
+             "Resource": "arn:aws:codeartifact:us-east-2:111122223333:domain/my*"      
@@ -221,0 +250,6 @@ The `codeartifact:GetAuthorizationToken` and `sts:GetServiceBearerToken` permiss
+JSON
+    
+
+****
+    
+    
@@ -275,0 +311,6 @@ With this policy, users will only be able to create authorization tokens with a
+JSON
+    
+
+****
+    
+    
@@ -306,0 +349,6 @@ With this policy, users will be able to create tokens that are valid between 15
+JSON
+    
+
+****
+    
+