The GcpSecurityRoleHandler is a specialized handler for Google Cloud Platform (GCP) that helps collect comprehensive security and IAM-related information.
It focuses on discovering and retrieving IAM policies, service accounts, and custom roles across organizations, folders, and projects.This is particularly useful for compliance, governance, and security evidence collection across multiple levels of the GCP resource hierarchy.
To create the handler, pass in your GCP service account credentials (either as a JSON dict/string or use the environment variable GOOGLE_APPLICATION_CREDENTIALS pointing to your JSON key file).
Collect All Security Information:
Performs a comprehensive security collection across IAM policies, service accounts, and custom roles for an organization or project.