Skip to content

Instantly share code, notes, and snippets.

@spasam
Created March 27, 2023 18:42
Show Gist options
  • Select an option

  • Save spasam/1521fa4313db26a855e916e1048f5a3e to your computer and use it in GitHub Desktop.

Select an option

Save spasam/1521fa4313db26a855e916e1048f5a3e to your computer and use it in GitHub Desktop.
Blocks all S3 ACL permissions
{
"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