AWS Security ChangesHomeSearch

AWS athena high security documentation change

Service: athena · 2025-08-19 · Security-related high

File: athena/latest/ug/notebooks-spark-requester-pays.md

Summary

Modified S3 bucket policy to restrict access from wildcard principal (*) to a specific AWS account root.

Security assessment

The original policy allowed any AWS principal ("Principal": {"AWS": "*"}), which is a security risk. The updated policy restricts access to a specific account root (e.g., "arn:aws:iam::111122223333:root"), mitigating unauthorized access. This directly addresses a security misconfiguration.

Diff

diff --git a/athena/latest/ug/notebooks-spark-requester-pays.md b/athena/latest/ug/notebooks-spark-requester-pays.md
index ce21525ff..7441cb61f 100644
--- a//athena/latest/ug/notebooks-spark-requester-pays.md
+++ b//athena/latest/ug/notebooks-spark-requester-pays.md
@@ -48,18 +48,6 @@ JSON
-        {
-        "Version": "2012-10-17",
-        "Statement": [
-            {
-                "Sid": "Statement1",
-                "Effect": "Allow",
-                "Principal": {
-                    "AWS": "*"
-                },
-                "Action": "s3:*",
-                "Resource": [
-                    "arn:aws:s3:::account_number-us-east-1-my-s3-requester-pays-bucket",
-                    "arn:aws:s3:::account_number-us-east-1-my-s3-requester-pays-bucket/*"
-                ]
-            }
-        ]
-    }
-    
+        { "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Effect": "Allow",
+        "Principal": { "AWS": "arn:aws:iam::111122223333:root" },
+        "Action": "s3:*", "Resource": [
+            "arn:aws:s3:::111122223333-us-east-1-amzn-s3-demo-bucket",
+            "arn:aws:s3:::555555555555-us-east-1-amzn-s3-demo-bucket/*"
+        ] } ] }
@@ -93,8 +81 @@ JSON
-        {
-        "Version": "2012-10-17",
-        "Statement": [
-            {
-                "Action": [
-                    "s3:*"
-                ],
-                "Effect": "Allow",
+        { "Version": "2012-10-17", "Statement": [ { "Action": [ "s3:*" ], "Effect": "Allow",
@@ -102,6 +83,3 @@ JSON
-                    "arn:aws:s3:::account_number-us-east-1-my-s3-requester-pays-bucket",
-                    "arn:aws:s3:::account_number-us-east-1-my-s3-requester-pays-bucket/*"
-                ]
-            }
-        ]
-    }
+            "arn:aws:s3:::111122223333-us-east-1-amzn-s3-demo-bucket",
+            "arn:aws:s3:::111122223333-us-east-1-amzn-s3-demo-bucket/*"
+        ] } ] }