What this integration contributes
Google Workspace can contribute normalized user lifecycle, sign-in, MFA, administrative, and data-protection activity. Reviewed examples include:account.compromised— account flagged as compromiseddata.sensitive.downloaded— downloads sensitive dataauth.login.unusual— signs in from unusual contexts
What Living Security needs
Enable the Admin SDK APIs and authorize only the scopes the connection reads:
https://www.googleapis.com/auth/admin.reports.audit.readonlyhttps://www.googleapis.com/auth/admin.directory.user.readonlyhttps://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
Setup
1
Create a Google Cloud service account
Create a dedicated service account, enable domain-wide delegation, and download its JSON key. Store the key securely.
2
Authorize domain-wide delegation
In the Google Admin Console, open Security → Access and data control → API controls → Manage Domain Wide Delegation. Add the service account’s numeric client ID and the three read-only scopes above.
3
Choose the delegated administrator
Select an active Workspace administrator who can read the directory, role assignments, and audit reports. Living Security uses this identity only for delegated API reads.
Verify and troubleshoot
Verify that the connection can read one directory user and recent login activity. Google notes that new domain-wide delegation grants can take time to propagate.Directory works but role assignments are missing
Directory works but role assignments are missing
Add
admin.directory.rolemanagement.readonly to the delegation entry and confirm the delegated administrator can view role assignments.Reports are empty
Reports are empty
Confirm that the Admin Reports API is enabled and that the delegated administrator can access audit reporting for the Workspace tenant.

