package
2.17.0
Repository: https://github.com/datadog/stratus-red-team.git
Documentation: pkg.go.dev

# Functions

GCPAssignProjectRole grants a project-wide role to a specific service account it works the same as 'gcloud projects add-iam-policy-binding': * Step 1: Read the project's IAM policy using [getIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) * Step 2: Create a binding, or add the service account to an existing binding for the role to grant * Step 3: Update the project's IAM policy using [setIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy).
GCPUnassignProjectRole un-assigns a project-wide role to a specific service account it works the same as 'gcloud projects remove-iam-policy-binding': * Step 1: Read the project's IAM policy using [getIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) * Step 2: Remove a binding, or remove the service account from an existing binding for the role to grant * Step 3: Update the project's IAM policy using [setIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy) Note: no error is returned if the principal does not have a binding in the project's IAM policy.
No description provided by the author

# Constants

No description provided by the author