Google Cloud Platform | Insights
Prerequisites
Before you configure the Google Cloud Platform connector, ensure the following requirements are met.
Google Cloud access
- You have organization-level administrator access to the Google Cloud Console.
- You can create projects, service accounts, and enable APIs within your GCP organization.
- You can assign IAM roles at the organization scope.
- (Optional) If using Google Workspace: You have Super Admin access to the Google Admin Console to configure domain-wide delegation.
Identity Security Insights access
- Administrator access to Identity Security Insights.
- Your Insights site is provisioned and active.
APIs to enable
Detailed steps follow
- Cloud Asset API
- Cloud Logging API
- Cloud Resource Manager API
- Cloud IAM API
- Service Usage API
- Secret Manager API
- Cloud KMS API
- API Keys API
- Discovery Engine API
- (Optional) Admin SDK API, Google Drive API, Google Drive Activity API, Drive Labels API (if using Google Workspace)
- (Optional) Vertex AI API (if enabling Vertex AI)
ImportantThird-party documentation is subject to change. Updates might not be reflected in BeyondTrust documentation. For the most up-to-date information, visit the Google Cloud website.
Configuration paths
Installation method
| Method | When to use |
|---|---|
| Option A Manual configuration | You prefer to configure resources step by step in the Google Cloud console |
| Option B Google Cloud Shell | You prefer to use CLI commands for faster setup |
Both methods produce the same result. Choose the one that matches your team's workflow.
Optional integrations
| Integration | When to enable |
|---|---|
| Google Workspace | Your organization uses Google Workspace and you want to collect user, group, drive, and audit data |
| Vertex AI | You want to collect AI agent and model data from Vertex AI |
Cloud environment (if applicable)
| Environment | When to select |
|---|---|
| FedRAMP High | Your organization operates FedRAMP High assured workloads |
| FedRAMP Moderate | Your organization operates FedRAMP Moderate assured workloads only |
| Commercial | All other environments |
FedRAMP Compliance NoticeInsights Commercial is not FedRAMP-compliant. Using it in combination with the following cloud environments may result in data residency issues and loss of compliance:
- FedRAMP High
- FedRAMP Moderate
Step 1: Create the connector in Insights
-
From Insights Home, select
> Connectors. -
Select the Available tab.
-
Click Create Connector beside Google Cloud Platform.
-
Enter a human-readable name for your connector.
-
Select your cloud environment (Commercial, FedRAMP Moderate, or FedRAMP High).
-
Select your installation method:
- Manual Configuration: If you chose Option A
- Google Cloud Shell: If you chose Option B
Step 2: Retrieve your Organization ID
- In the Google Cloud Console, click the project selector in the top navigation bar.
- Select your organization.
- Navigate to IAM & Admin > Settings.
- Copy your Organization ID.
Paste your Organization ID in the Organization ID field in Identity Security Insights.
Step 3: Create a new project
- In the Google Cloud Console, click the project selector and select your organization.
- In the project window, click New Project.
- Enter a human-readable name for your project.
- Click Create.
Step 4: Enable required services
- From your new project's navigation menu, go to APIs & Services > Library.
- Search for and enable the following APIs:
- Cloud Asset API
- Cloud Logging API
- Cloud Resource Manager API
- Cloud IAM API
- Service Usage API
- Secret Manager API
- Cloud KMS API
- API Keys API
- Discovery Engine API
Google Workspace (if applicable)
Also enable:
- Admin SDK API
- Google Drive API
- Google Drive Activity API
- Drive Labels API
Vertex AI (if applicable)
Also enable:
- Vertex AI API
Ensure all projects within your organization have the same APIs enabled.
Step 5: Create a service account
- From the navigation menu, go to IAM & Admin > Service Accounts.
- Click Create Service Account.
- Enter a human-readable display name.
- Enter a unique service account ID.
- Note the email address generated by Google Cloud — you'll need it in the next step.
- Click Done.
Step 6: Assign service account roles
- In the top navigation toolbar, click the project selector and select your organization.
- Navigate to IAM & Admin > IAM and click Grant Access.
- In the New principals field, enter the service account email generated in Step 5.
- Under Assign roles, at organization scope, select:
- Cloud Asset Viewer
- Security Reviewer
- Logs Viewer
- Organization Viewer
- Secret Manager Secret Accessor
- Secret Manager Viewer
- Cloud KMS Viewer
- API Keys Viewer
Vertex AI (if applicable)
Also assign:
- Discovery Engine Viewer
- Storage Object Viewer (if you enabled Allow access to agent model details)
- Click Save.
Step 7: Generate a key for the service account
- In the top navigation toolbar, click the project selector and select your project.
- Go to IAM & Admin > Service Accounts and select your service account.
- Click the Keys tab.
- Click Add Key > Create new key.
- Select JSON as the key type.
- Click Create.
- A new key downloads automatically. Store the JSON key in a secure location.
Step 8: Set up Google Workspace permission (optional)
Complete this step only if your organization uses Google Workspace and you want to collect user, group, drive, and audit data.
Configure Domain-Wide Delegation
- Navigate to Admin Console > Security > API Controls > Domain-wide Delegation.
- Click Add new.
- Enter the service account's Client ID (the 21-digit number from the
client_idfield in the key JSON file). - Add the following OAuth scopes (comma-separated):
https://www.googleapis.com/auth/admin.directory.user.readonly
https://www.googleapis.com/auth/admin.directory.group.readonly
https://www.googleapis.com/auth/admin.directory.orgunit.readonly
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
https://www.googleapis.com/auth/admin.directory.customer.readonly
https://www.googleapis.com/auth/admin.directory.user.security
https://www.googleapis.com/auth/admin.reports.audit.readonly
https://www.googleapis.com/auth/admin.reports.usage.readonly
https://www.googleapis.com/auth/apps.alerts
https://www.googleapis.com/auth/cloud-identity.groups.readonly
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.activity.readonly
https://www.googleapis.com/auth/drive.labels.readonly
https://www.googleapis.com/auth/drive.admin.labels.readonly
https://apps-apis.google.com/a/feeds/domain/
- Click Save.
Final step: Create the connector
- In Identity Security Insights, paste the Service Account Key (the full JSON key from Step 7).
- (If using Google Workspace) Select Yes on the Use Google Workspace dropdown and enter an organization admin email in the Admin User Email field.
- Click Create Connector.
Navigate to ☰ > Connectors > Configured to confirm connector creation was successful and review connector settings.
Updated 9 days ago