S3 - Global GrantsΒΆ

Scan buckets that allow for global access in their ACLs and report them and the ACL permissions granted.

policies:

- name: s3-global-access
  resource: s3
  filters:
    - type: global-grants
  actions:
    - type: delete-global-grants
      grantees:
        - "http://acs.amazonaws.com/groups/global/AllUsers"
        - "http://acs.amazonaws.com/groups/global/AuthenticatedUsers"