Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
Merge branch 'dev' of github.com:GoogleCloudPlatform/forseti-security…
Browse files Browse the repository at this point in the history
… into dev
  • Loading branch information
red2k18 committed Aug 28, 2018
2 parents d80d53e + e47b2aa commit 02323bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions rules/iam_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ rules:
- user:*@{DOMAIN}
- group:*@{DOMAIN}

- name: Prevent public users from having access to buckets via IAM
mode: blacklist
resource:
- type: bucket
applies_to: self
resource_ids:
- '*'
inherit_from_parents: true
bindings:
- role: '*'
members:
- allUsers

# Below are the example rules that you can reference to create your own custom rule.
#- name: Allow only service accounts to have access
# mode: whitelist
Expand Down

0 comments on commit 02323bd

Please sign in to comment.