Google Workspace Advanced Permissions

OAuth Scopes

The following tables summarize all OAuth scopes and permissions required for the Google Workspace adapter in Axonius.

Google Cloud APIs to Enable

APIWhen to EnableRequired For Scopes
Admin SDK APIAlwaysAll admin.directory.* and admin.reports.* scopes
Cloud Identity APIIf using Cloud Identity featurescloud-identity.devices.readonly, cloud-identity.groups
Chrome Management APIIf enriching browser extensionschrome.management.reports.readonly
Chrome Policy APIIf enriching browser policieschrome.management.policy.readonly
Google Calendar APIIf fetching calendarscalendar
Groups Settings APIIf fetching group settingsapps.groups.settings
Service Usage APIIf fetching usage reportsadmin.reports.usage.readonly
Enterprise License Manager APIIf fetching licensesapps.licensing

Permissions for Connection Settings

Additional permissions

Connection NameScopeAPI
Get OAuth Appsadmin.directory.user.securityAdmin SDK API
Fetch Cloud Identity Devicescloud-identity.devices.readonlyCloud Identity API
Fetch Chrome Browsersadmin.directory.device.chromebrowsers.readonlyAdmin SDK API
Fetch CalendarscalendarGoogle Calendar AP

Permissions for Advanced Configurations

Configuration Name

Scope

API

Fetch MDM Devices

admin.directory.device.mobile.readonly

Admin SDK API

Fetch ChromeOS Devices

admin.directory.device.chromeos.readonly

Admin SDK API

Fetch user groups

admin.directory.group.readonly

Admin SDK API

Enrich Groups settings

apps.groups.settings

Groups Settings API

Fetch user roles

admin.directory.rolemanagement.readonly

Admin SDK API

Fetch Disk Usage

admin.reports.usage.readonly

Admin SDK API + Service Usage API

Fetch Licenses

apps.licensing

Enterprise License Manager API

Fetch User Audit Logs

admin.reports.audit.readonly

Admin SDK API

Fetch Extensions

chrome.management.reports.readonly

Chrome Management API

Fetch Settings (Policies)

chrome.management.policy.readonly

  • To fetch Application Settings: https://apps-apis.google.com/a/feeds/domain/

Chrome Policy API
Admin Settings API

Fetch Cloud Identity Device Users

cloud-identity.devices.readonly

Cloud Identity API

Fetch Applications (OAuth)

admin.directory.user.security

Admin SDK API

Scopes to Copy and Paste

These are the scopes that you can copy and paste.

Minimum Scopes to Copy

https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly,
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly

Recommended for Standard Use to Copy

https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly,
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly,
https://www.googleapis.com/auth/admin.directory.device.chromebrowsers.readonly,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/admin.directory.customer.readonly,
https://www.googleapis.com/auth/admin.directory.domain.readonly,
https://www.googleapis.com/auth/cloud-identity.devices.readonly,
https://www.googleapis.com/auth/admin.reports.usage.readonly,
https://www.googleapis.com/auth/apps.groups.settings

All Cyber Asset Scopes with Axonius SaaS Application to Copy

https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly,
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly,
https://www.googleapis.com/auth/admin.directory.device.chromebrowsers.readonly,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/admin.directory.customer.readonly,
https://www.googleapis.com/auth/admin.directory.domain.readonly,
https://www.googleapis.com/auth/cloud-identity.devices.readonly,
https://www.googleapis.com/auth/admin.reports.usage.readonly,
https://www.googleapis.com/auth/apps.groups.settings,
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,
https://www.googleapis.com/auth/admin.directory.user.security,
https://www.googleapis.com/auth/admin.reports.audit.readonly,
https://www.googleapis.com/auth/calendar,
https://www.googleapis.com/auth/cloud-identity.groups,
https://www.googleapis.com/auth/chrome.management.reports.readonly,
https://www.googleapis.com/auth/chrome.management.policy.readonly,
https://www.googleapis.com/auth/chat.admin.spaces

Roles

To create the least privileged role, when the Admin role is not provided.

  1. In the Admin Privileges section, select the following permissions:

    • Organization Units > Read

    • Users > Read

    • Security

      • User Security Management (select this)
      • Control Security Settings > Read and Write
    • Domain Management> (select this)

    • Reports > (select this)

  2. Expand the Services section and select the following permissions:

    • Directory settings > Settings
    • Looker Studio > Manage Data Studio Settings
    • Sites > Manage Google Sites
    • Google Vault > View All Matters
    • Calendar > All Settings > Settings
    • Data Security > Access Level Management
    • Data Security > Rule Management
    • Classroom > Settings
    • Google Chat > Settings (Read and Modify)
    • Directory Sync > Manage Directory Sync Settings > Read Directory Sync Settings
    • Google Hangouts > Settings
    • YouTube > Manage YouTube Settings
    • Google Meet > Manage Meet Settings
    • Pinpoint > Admin settings for Pinpoint
    • Contacts > Contacts Settings Message > Delegates Read
    • Currents > Settings
    • Gmail > Settings
    • Groups for Business > Settings
    • Cloud Search > Settings
    • Shared device settings > Parent privilege for Managing all common device configurations > Manage all common device configurations
    • Mobile Device Management > Manage Devices and Settings
    • Drive and Docs > Settings
    • Google Workspace Marketplace > Manage access to allowlisted apps
    • Alert Center > Full access > View access
    • Jamboard > Manage Jamboard Settings
    • Chrome Management > Settings > Manage User Settings
    • Chrome Management > Settings > Managed Browsers > Read
    • Chrome Management > Settings > Manage Printers
    • Chrome Management > Settings > Manage Chrome OS Devices > Manage Chrome OS Devices (read only)
    • Chrome Management > Settings > Manage Chrome OS Device Settings
    • App Maker > Settings
    • Google Cloud Print > Cloud Print Manager
  3. Expand the Services > Security Center section:

    1. Ensure that the user has full administrative rights for VirusTotal > View Report.

    2. Ensure that the user has full administrative rights for the following Investigation Tool related permissions:

      • Gmail > View Metadata and Attributes
      • Drive > View Metadata and Attributes
      • Device > View Metadata and Attributes
      • User > View Metadata and Attributes
      • OAuth > View Metadata and Attributes
      • Rule > View Metadata and Attributes
      • Chrome > View Metadata and Attributes
      • Meet > View Metadata and Attributes
      • Groups > View Metadata and Attributes
      • Voice > View Metadata and Attributes
      • Calendar > View Metadata and Attributes
      • Admin > View Metadata and Attributes
      • Activity Rules > View

In the Admin API Privileges section, select the following permissions:

  • Organization Units > Read
  • Users > Read
  • Groups > Read
  • User Security Management
  • Schema Management > Schema Read
  • License Management > License Read
  • Billing Management > Billing Read
  • Domain Management
  • Domain Allowlist Management > Domain Allowlist Read.

Enforcement Center Actions (Write Scopes)

Enforcement AreaScopePurpose
User managementadmin.directory.userAdd, remove, suspend users, change OU, reset cookies
Group managementadmin.directory.groupAdd/remove users from groups
Role managementadmin.directory.rolemanagementCreate/delete role assignments
Send Chat messageschat.messages.createSend Google Chat messages
Browser managementadmin.directory.device.chromebrowsersMove Chrome browsers to OU
Device managementcloud-identity.devicesDelete Cloud Identity devices