Google Workspace

Download 212
Last updated Oct 15, 2026

1. Required Permissions

Find the collectors and query commands you will use in the tables, and choose an authentication method from the Supported authentication column. Then note the values in the same row. You will register them as-is in the later setup steps.

You do not need to prepare permissions for features you will not use. Only the features missing permissions fail, and the error message shows the required action.

Note
The five collectors other than Alert Center and the *-logs query commands all use the admin.reports.audit.readonly scope and the Reports admin privilege. If you only collect audit logs, this scope and privilege are all you need. The Drive Activity collector and drive-logs additionally need the drive.apps.readonly scope (for app name lookup) and the Google Drive API.

Admin privileges refer to the Admin privileges section of Admin roles in the Admin console.

Collectors

Collector (logger model)Supported authenticationAdmin privilegesGoogle Cloud APIOAuth scopes
Google Workspace Alert CenterService account onlySee Admin Privileges by Alert Type belowGoogle Workspace Alert Center APIhttps://www.googleapis.com/auth/apps.alerts
Google Workspace Admin ActivityService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
Google Workspace LoginService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
Google Drive ActivityService account, OAuthReportsAdmin SDK API, Google Drive APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly, https://www.googleapis.com/auth/drive.apps.readonly
Google Meet ActivityService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
Google Chat ActivityService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly

Query Commands

Query command names omit the common prefix google-workspace-. For example, users is the google-workspace-users command.

Query commandSupported authenticationAdmin privilegesGoogle Cloud APIOAuth scopes
alertsService account onlySee Admin Privileges by Alert Type belowGoogle Workspace Alert Center APIhttps://www.googleapis.com/auth/apps.alerts
admin-logsService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
login-logsService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
drive-logsService account, OAuthReportsAdmin SDK API, Google Drive APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly, https://www.googleapis.com/auth/drive.apps.readonly
meet-logsService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
chat-logsService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
oauth-logsService account, OAuthReportsAdmin SDK APIhttps://www.googleapis.com/auth/admin.reports.audit.readonly
domainsService account, OAuthDomain ManagementAdmin SDK APIhttps://www.googleapis.com/auth/admin.directory.domain.readonly
usersService account, OAuthDomain Management, Users > ReadAdmin SDK APIhttps://www.googleapis.com/auth/admin.directory.domain.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly
users (group option)Service account, OAuthDomain Management, Users > Read, Groups > ReadAdmin SDK APIhttps://www.googleapis.com/auth/admin.directory.domain.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/admin.directory.group.readonly
groupsService account, OAuthDomain Management, Groups > ReadAdmin SDK APIhttps://www.googleapis.com/auth/admin.directory.domain.readonly, https://www.googleapis.com/auth/admin.directory.group.readonly
drive-appsService account, OAuthNoneGoogle Drive APIhttps://www.googleapis.com/auth/drive.apps.readonly
drive-appService account, OAuthNoneGoogle Drive APIhttps://www.googleapis.com/auth/drive.apps.readonly
sheets-valuesService account, OAuthNone (share the target sheet with view access)Google Sheets APIhttps://www.googleapis.com/auth/spreadsheets.readonly
sheets-write-valuesService account, OAuthNone (share the target sheet with edit access)Google Sheets APIhttps://www.googleapis.com/auth/spreadsheets

Admin Privileges by Alert Type

The Alert Center collector and the google-workspace-alerts query command need different admin privileges depending on the type of alert to collect.

Alerts to collectAdmin privileges
System alerts (e.g., admin privileges granted to a user)Services > Alert Center > Full access > View access
Activity rule alerts (alerts from rules created in Rules in the Admin console)Services > Alert Center > Full access > View access, Services > Security Center > Activity Rules > View, Services > Security Center > Audit and investigation > View > Rules