Created
March 27, 2023 18:42
-
-
Save spasam/1521fa4313db26a855e916e1048f5a3e to your computer and use it in GitHub Desktop.
Blocks all S3 ACL permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "DenyS3ACLPermissions", | |
| "Effect": "Deny", | |
| "Action": [ | |
| "s3:PutObjectAcl", | |
| "s3:GetObjectAcl", | |
| "s3:PutBucketAcl", | |
| "s3:GetBucketAcl" | |
| ], | |
| "Resource": [ | |
| "arn:aws:s3:::*/*", | |
| "arn:aws:s3:::*" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment