Google Cloud Integration

To integrate GCP you must first integrate Google Workspace

Step 1 - Enable Required Google Cloud API

  1. Log in to the Google Cloud console with organization administrator credentials.

  2. Start Cloud Shell by clicking the CLI icon on the right side of the bar.↓

  3. In the shell interface, enter the following script to enable required API access, in all of the projects that Rezonate should protect.

for project in $(gcloud projects list --format="value(projectId)")

do

echo "ProjectId: $project"

gcloud services enable cloudresourcemanager.googleapis.com --project=$project

gcloud services enable recommender.googleapis.com --project=$project

gcloud services enable cloudasset.googleapis.com --project=$project

gcloud services enable policyanalyzer.googleapis.com --project=$project

done

Enabling these API's allows us to enumerate resources, privileges, and other capabilities.

List of APIs and their usage

API Endpoint
Why Rezonate Requests This Endpoint

cloudresourcemanager.googleapis.com

This API allows reading of the organizational structure and objects in it.

recommender.googleapis.com

This API allows the reading of Google insights regarding your organization.

cloudasset.googleapis.com

This API allows the reading of resources within your projects.

policyanalyzer.googleapis.com

This API allows the reading of policies throughout the whole organizational structure.

Step 2 - Grant Rezonate Access to Your Google Cloud Organization

  1. Head over to the IAM page. Use the organization/project drop-down list to choose your Organization.

  2. Click Grant Access.

  3. In the New Principals box, enter the email address provided by Rezonate - rezonate@rezonapp.iam.gserviceaccount.com, to establish trust between the organizations.

  4. In the Role boxes, grant the new service account the following read-only roles, at the organization level:

    1. Browser

    2. Security Reviewer

    3. Viewer

  5. Click Save.

  1. Execute the following commands to retrieve your organization ID, and the list of all project IDs and filter the ones you want Rezonate to access:

gcloud projects list --format="value(projectId)"

gcloud organizations list --format="value(ID)"

Last updated