Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
policies:
- name: CheckPublicBlockForPrivateS3Bucket
resource: s3
filters:
- type: check-public-block
BlockPublicAcls: false
BlockPublicPolicy: false
IgnorePublicAcls: false
RestrictPublicBuckets: false
actions:
- type: set-public-block
BlockPublicAcls: true
BlockPublicPolicy: true
IgnorePublicAcls: true
RestrictPublicBuckets: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment