- Discovering IAM policies for GCP organizations, folders, and projects.
- Checking roles, bindings, and enforced conditions like MFA.
- Building a full compliance picture of your GCP environment.
Example
Initialization
To create a handler with your service account credentials:Fetch IAM policy evidence for all accessible GCP organizations.
Fetch IAM policy evidence for folders under a specific organization or folder.
Fetch IAM policies for projects under an organization or folder.
Collects IAM evidence across organizations, folders, and projects in one run.
Internal method that retrieves IAM policy details for a specific resource (organization, folder, or project). It returns information about roles, members, bindings, conditions, and MFA enforcement.