Google Workspace integration
Integrate Identity Security Posture Management (ISPM) with your Google Workspace.
- Create a project
- Create a service account
- Create keys for the service account
- Enable API access
- Configure domain-wide delegation for the service account
- Share the parameters with ISPM
Before you begin
Ensure that you have the Google Workspace super admin privilege.
Create a project
-
Sign in to your Google Cloud Console and open the Navigation menu.
- Go to .
- Click + Create Project.
- Enter the required information such as the project name, organization, and location.
- Click Create.
Create a service account
- Open the Navigation menu and go to .
- Select the project that you created.
- Click + CREATE SERVICE ACCOUNT.
- In the Service account details section, enter a name and a description for the service account. You can keep the auto-generated service account ID or change it.
- Click CREATE AND CONTINUE.
- In the Grant this service account access to project (optional) section, click Continue. Don't add any roles.
- In the Grant users access to this service account (Optional) section, add users who own or can access this service account.
- Click Done.
Create keys for the service account
- For the new service account you created, open the options menu from the Actions column.
- Select Manage keys.
- On the Keys page, click ADD KEY.
- Select Create new key.
- Select JSON as the format for the key.
- Click Create. This creates a credentials JSON file. These are the credentials that allow the service account to access Google Workspace.
- Click Close.
Enable API access
-
Sign in to your Google Cloud Console and open the Navigation menu.
- Go to .
- Check if Admin SDK API, Service Usage API, and Cloud Identity API appear in the APIs & Services list.
- If they aren't listed, complete these steps for each API to enable it:
Click + ENABLE APIS AND SERVICES.
Search for and select an API using the search bar.
Select the tile corresponding to the API.
Click Enable.
Configure domain-wide delegation for the service account
- Sign in to your Google Workspace Admin Console and open the Navigation menu.
- Go to .
- In the Domain wide delegation section, click MANAGE DOMAIN WIDE DELEGATION.
- Click Add new.
- In the Client ID field enter the client_id value. You can find this value in the credentials JSON file that you generated while creating the service account.
-
In the OAuth Scopes field, enter the following scopes as comma-separated values.
Copyhttps://www.googleapis.com/auth/admin.reports.audit.readonly,https://www.googleapis.com/auth/admin.reports.usage.readonly,https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.domain.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.device.mobile.readonly,https://www.googleapis.com/auth/admin.directory.user.security,https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,https://www.googleapis.com/auth/admin.directory.orgunit.readonly,https://www.googleapis.com/auth/admin.directory.customer.readonly,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly,https://www.googleapis.com/auth/cloud-identity.policies.readonly
- Click Authorize.
Share the parameters with ISPM
-
In the Identity Security Posture Management console, go to .
- Select Google Workspace.
- Enter the following parameters:
- The credentials JSON file that you created in the Create a service account section.
- The email address of a Google Workspace super admin.
- Click Submit.