Skip to content

Instantly share code, notes, and snippets.

@remonsec
Created August 9, 2020 15:43
Show Gist options
  • Save remonsec/0f0b9ddba3654a583ecf05504b154427 to your computer and use it in GitHub Desktop.
Save remonsec/0f0b9ddba3654a583ecf05504b154427 to your computer and use it in GitHub Desktop.
This is the bucket policy of takeover AWS s3 bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::BucketName/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment