Google Workspace - Activate User
  • 17 Apr 2024
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Google Workspace - Activate User

  • Dark
    Light
  • PDF

Article Summary

Google Workspace - Activate User activates the Google Workspace account for:

  • Assets that match the results of the selected saved query, and match the Enforcement Action Dynamic Value statement, if defined, or assets selected on the relevant asset page.

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

General Settings

  • Enforcement Set name (required) - The name of the Enforcement Set. A default value is added by Axonius. You can change the name according to your needs.
  • Add description - Click to add a description of the Enforcement Set. It is recommended to describe what the Enforcement Set does.
  • Run action on assets matching following query (required) - Select an asset category and a query. The Enforcement Action will be run on the assets that match the query parameters.
  • Action name (required) - The name of the Main action. A default value is added by Axonius. You can change the name according to your needs.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.

  • Use stored credentials from Google Workspace (G Suite) adapter - Select this option to use Google Workspace adapter credentials. When you select this option, the Select Adapter Connection dropdown is available, and you can choose which adapter connection to use for this Enforcement Action.
Note:

To use this option, you must successfully configure a Google Workspace adapter connection.

Required Fields

These fields must be configured to run the Enforcement Set.

Additional Fields

These fields are optional.

Connection Parameters

When Use stored credentials from Google Workspace (G Suite) adapter is toggled Off, these fields are required:

  • Email of an admin account to impersonate - The email of your Google Workspace (G Suite) admin.
  • Account Profile Name - Google user name for retrieving SaaS data. https://admin.google.com/ac/accountsettings/profile
  • JSON Key pair for the service account - Upload the JSON file you created for your service account. For more details, refer to Google Workspace adapter.
  • Get OAuth Apps - Select this option to fetch the OAuth applications used by each user.
  • Fetch Cloud Identity Devices - Select this option to fetch Cloud Identity devices.
  • Fetch Chrome Browsers - Select this option to fetch Chrome browsers information.
  • Fetch Calendars - Select this option to fetch users' calendars.
  • Username and Password - The credentials for a user account that has the Required Permissions to fetch assets.
  • Login URL - The hostname or IP address of the Google server.
  • 2FA Secret Key - The secret generated in Google Workspace for setting up 2-factor authentication for the Google Workspace user created for collecting SaaS Management data.
  • SSO Provider - If your organization uses Google Workspace for SSO, you can select this checkbox. For more information, see Connecting your SSO Solution Provider Adapter .
  • Proxy address - Connect the adapter to a proxy instead of directly connecting it to the domain.
  • Proxy port - The port for the proxy server.
  • Proxy username - The user name to use when connecting to the value supplied in Host Name or IP Address via the value supplied in Proxy address.
  • Proxy password - The password to use when connecting to the server using the Proxy.
  • Gateway Name - Select the gateway through which to connect to perform the action.

APIs

Axonius uses the Google Workspace - Manage user accounts API.

Required Permissions

  • This enforcement action requires the following:

    • Permission for activating a user.

    • Entering the scope https://www.googleapis.com/auth/admin.directory.user into your Google account's Domain Wide Delegation for the Client ID used for this connection (inside the JSON file).

  • The Get OAuth Apps option requires addition of the following scope to your Google Workspace (G Suite) admin account: https://www.googleapis.com/auth/admin.directory.user.security

  • The Fetch Cloud Identity Devices option requires the following:

    • Addition of the following scope to your Google Workspace (G Suite) admin account: https://www.googleapis.com/auth/cloud-identity.devices.readonly
    • Enabling the Cloud Identity API.
  • The Fetch Chrome Browsers option requires an additional privilege to your Google Workspace (G Suite) admin account: https://www.googleapis.com/auth/admin.directory.device.chromebrowsers.readonly

  • The Fetch Calendars option requires the following:

    • An additional privilege to your Google Workspace (G Suite) admin account: https://www.googleapis.com/auth/calendar

    • Enabling the Cloud Identity API.

For more information on adding a privilege/scope to your Google Workspace (G Suite) admin account, refer to Configure the OAuth Scopes.
For more information on enabling the Cloud Identity API, refer to Enable Cloud API.



For more details about other Enforcement Actions available, see Action Library.



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.