AWS Security ChangesHomeSearch

AWS deepracer medium security documentation change

Service: deepracer · 2025-10-25 · Security-related medium

File: deepracer/latest/developerguide/cross-service-confused-deputy-prevention.md

Summary

Removed AWS KMS resource policy example and added JSON section markers

Security assessment

The removal of a KMS resource policy example could impact security configurations for customers using custom KMS keys. The policy was demonstrating how to restrict access based on source ARN, which is critical for cross-service confused deputy prevention. Removing this example without replacement might lead to misconfigured KMS policies.

Diff

diff --git a/deepracer/latest/developerguide/cross-service-confused-deputy-prevention.md b/deepracer/latest/developerguide/cross-service-confused-deputy-prevention.md
index 3fa92da98..404a2abf6 100644
--- a//deepracer/latest/developerguide/cross-service-confused-deputy-prevention.md
+++ b//deepracer/latest/developerguide/cross-service-confused-deputy-prevention.md
@@ -16,0 +17,6 @@ The following example shows how you can use the `aws:SourceArn` and `aws:SourceA
+JSON
+    
+
+****
+    
+    
@@ -46,2 +51,0 @@ The following example shows how you can use the `aws:SourceArn` and `aws:SourceA
-If you use a custom AWS Key Management Service (KMS) resource for this bucket, include the AWS KMS resource policy:
-    
@@ -49,15 +53 @@ If you use a custom AWS Key Management Service (KMS) resource for this bucket, i
-    {
-      "Version": "2012-10-17",
-      "Statement": [{
-        "Sid": "statement identifier",
-        "Effect": "effect",
-        "Principal": "principal",
-        "Action": "action",
-        "Resource": "resource",
-        "Condition": {
-            "StringEquals": {
-                "aws:SourceArn": "arn:${Partition}:deepracer:${Region}:${Account}:model/reinforcement_learning/${ResourceId}"
-            }
-        }
-      }]
-    }
+If you use a custom AWS Key Management Service (KMS) resource for this bucket, include the AWS KMS resource policy: