Tracecat
Book a demo

Google Workspace Directory integration

Manage Google Workspace users, groups, devices, and app passwords.

Identity and HR
56 actions
tools.google_directory

How it works

Each Google Workspace Directory action is a YAML template or Python function in Tracecat's open-source registry, under tools.google_directory. Add an action as a step in a workflow, or give it to an agent as a tool.

Credentials

Add these in Tracecat before running the actions. How credentials work

  • OAuth connection google_admin_oauth (optional)
  • Secret google_api (optional) with GOOGLE_API_CREDENTIALS and optional GOOGLE_API_SUBJECT

Actions

Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.

  • Batch change ChromeOS device status

    Changes the status of a batch of ChromeOS devices.

  • Check group membership

    Checks whether the given user is a member of the group. Membership can be direct or nested, but if nested, the `memberKey` and `groupKey` must be entities in the same domain or an `Invalid input` error is returned.

  • Delete application-specific password

    Deletes an ASP issued by a user.

  • Delete group

    Deletes a group.

  • Delete member

    Removes a member from a group.

  • Delete mobile device

    Removes a mobile device.

  • Delete OAuth token

    Deletes all access tokens issued by a user for an application, revoking that application's access to the user's data.

  • Delete organizational unit

    Removes an organizational unit.

  • Delete role assignment

    Deletes a role assignment.

  • Delete user

    Deletes a user.

  • Generate verification codes

    Generates new backup verification codes for the user.

  • Get application-specific password

    Gets information about an ASP issued by a user.

  • Get ChromeOS device

    Retrieves a Chrome OS device's properties.

  • Get ChromeOS device command

    Gets command data a specific command issued to the device.

  • Get customer

    Retrieves a customer.

  • Get domain

    Retrieves a domain of the customer.

  • Get group

    Retrieves a group's properties.

  • Get member

    Retrieves a group member's properties.

  • Get mobile device

    Retrieves a mobile device's properties.

  • Get OAuth token

    Gets information about an access token issued by a user.

  • Get organizational unit

    Retrieves an organizational unit.

  • Get role

    Retrieves a role.

  • Get role assignment

    Fetches a specific role assignment.

  • Get user

    Retrieves a user.

  • Insert group

    Creates a group.

  • Insert member

    Adds a user to the specified group.

  • Insert organizational unit

    Adds an organizational unit.

  • Insert role assignment

    Creates a role assignment.

  • Insert user

    Creates a user.

  • Invalidate verification codes

    Invalidates the current backup verification codes for the user.

  • Issue ChromeOS device command

    Issues a command for the device to execute.

  • List application-specific passwords

    Lists the ASPs issued by a user.

  • List ChromeOS devices

    Retrieves a paginated list of Chrome OS devices within an account.

  • List domains

    Lists the domains of the customer.

  • List groups

    Retrieves all groups of a domain or of a user given a userKey (paginated).

  • List members

    Retrieves a paginated list of all members in a group. This method times out after 60 minutes.

  • List mobile devices

    Retrieves a paginated list of all user-owned mobile devices for an account.

  • List OAuth tokens

    Returns the set of tokens specified user has issued to 3rd party applications.

  • List organizational units

    Retrieves a list of all organizational units for an account.

  • List privileges

    Retrieves a paginated list of all privileges for a customer.

  • List role assignments

    Fetches a paginated collection of all role assignments.

  • List roles

    Retrieves a paginated list of all the roles in a domain.

  • List user aliases

    Lists all aliases for a user.

  • List users

    Retrieves a paginated list of either deleted users or all users in a domain.

  • List verification codes

    Returns the current set of valid backup verification codes for the specified user.

  • Make user admin

    Makes a user a super administrator.

  • Move ChromeOS devices to organizational unit

    Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.

  • Patch ChromeOS device

    Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports patch semantics.

  • Patch group

    Updates a group's properties. This method supports patch semantics.

  • Patch member

    Updates the membership properties of a user in the specified group. This method supports patch semantics.

  • Patch organizational unit

    Updates an organizational unit. This method supports patch semantics.

  • Patch user

    Updates a user using patch semantics.

  • Perform mobile device action

    Takes an action that affects a mobile device. For example, remotely wiping a device.

  • Sign out user

    Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.

  • Turn off two-step verification

    Turns off 2-Step Verification for user.

  • Undelete user

    Undeletes a deleted user.

Automate Google Workspace Directory with Tracecat

Open-source workflows and agents for security teams.