Skip to main content

google workspace integration Google Workspace Integration Guide

If your organization uses Google Workspace for identity and collaboration, this integration pulls directory data into Openlane so you have the user and group context you need for User Access Reviews, onboarding/offboarding evidence, and identity governance (SOC 2: CC6, ISO 27001: A.9).

Key Capabilities

  • OAuth Connectivity Validation: Confirms Workspace token access and directory API availability.
  • Directory Metadata Sync: Reads user directory data and group memberships, giving you the identity baseline for access reviews and audits (SOC 2: CC6.2, CC6.3).
  • Scoped Directory Collection: Supports optional OU filtering so you only collect identities within your compliance boundary.

Prerequisites

  • Google Workspace super admin account to authorize directory access during OAuth.
  • Admin SDK API enabled in your Google Cloud project.

Supported Operations

OperationDescription
DirectorySyncCollect Google Workspace directory users, groups, and memberships and emit directory ingest envelopes

Step-by-Step Setup

Step 1: Authorize Google Workspace

  1. Navigate to Organization Settings > Integrations and find Google Workspace.
  2. Click Configure.
  3. Click Continue to Authorization — you will be redirected to Google. There are no credentials to enter manually.
  4. Sign in with a Workspace super admin account and grant the requested directory permissions.
  5. After authorization, you are redirected back to Openlane and the connection is saved.

Step 2: Configure Sync Behavior

Optionally configure which data is collected and how records are filtered before ingestion:

Directory Sync

SettingDescription
Primary DirectoryDesignate this connection as the primary directory source for your organization — the primary directory is the authoritative source that populates the majority of fields on identity holder records
Filter ExpressionOptional CEL expression evaluated against each record — only records that match are ingested (allows inclusion)

Filter expression example:

payload.orgUnitPath.startsWith('/engineering/')

CEL expressions have access to the full raw payload for each record via payload.<field>.

Validate Connection

After saving, Openlane runs a health check against Google Workspace and displays the result on the Installed tab of the Integrations page. A Healthy badge confirms connectivity. If the badge shows Needs Attention, review the troubleshooting section below.

What Openlane Syncs

Openlane reads directory user metadata, group memberships, and identity context. This data feeds directly into User Access Reviews, onboarding/offboarding verification, and identity scope validation. Saves you from manually compiling identity rosters when an auditor asks for SOC 2 CC6 (logical and physical access) or ISO 27001 A.9 (access control) evidence.

Disconnect

To remove this integration:

  1. Navigate to Organization Settings > Integrations
  2. Select the Installed tab
  3. Open the menu on the integration card and select Disconnect.

This removes stored credentials and stops all collection activity. You can reconnect later by configuring the integration again.

Troubleshooting

  • Directory API errors: verify Admin SDK is enabled and that all required OAuth scopes were granted during authorization.
  • No user data: verify the authorizing account has super admin or equivalent directory read permissions.

References