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

Commit

Permalink
Add policy for gcp project iam policy
Browse files Browse the repository at this point in the history
  • Loading branch information
jceresini committed Mar 18, 2019
1 parent da0bd5f commit 952f3c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions policy/cloudresourcemanager/common_iam.rego
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package gcp.cloudresourcemanager.projects.iam

policies [policy_name] {
policy := data.gcp.cloudresourcemanager.projects.iam.policy[policy_name]
}

violations [policy_name] {
policy := data.gcp.cloudresourcemanager.projects.iam.policy[policy_name]
policy.valid != true
}

0 comments on commit 952f3c5

Please sign in to comment.