# Google workspace users

## Overview

Collect all user details from Google Workspace Admin Console along with their metadata. Normalize user identifiers from relevant product logs, as cx_security.user key. Enrich user data with additional context, on demand.

For more information about this integration, [click here](https://coralogix.com/docs/google-workspace-users/).

## How to use with Terraform

To deploy this integration using Terraform, you can use the [`coralogix_integration`](https://registry.terraform.io/providers/coralogix/coralogix/latest/docs/resources/integration) resource provided by the Coralogix Terraform provider. Below is an example configuration:

```hcl
resource "coralogix_integration" "google-workspace-users" {
  integration_key = "google-workspace-users"
  version         = "0.0.1"

  parameters = {
    IntegrationName = "GoogleWorkspace"
    ServiceAccountKey = "<ServiceAccountKey>"
    OrganizationName = "<OrganizationName>"
    OrganizationId = "<OrganizationId>"
    ImpersonatedEmail = "<ImpersonatedEmail>"
  }
}
```

Replace the placeholder values with your actual configuration parameters. Refer to the parameter table below for required fields and their descriptions.

## Revisions

0.0.1

| Name              | Type   | Required | Description                                                                                                                   |
| ----------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------- |
| ImpersonatedEmail | String | Yes      | Existing account the integration will act as on Google Workspace, in order to be able to access the data.                     |
| IntegrationName   | String | Yes      |                                                                                                                               |
| OrganizationId    | String | Yes      | The id of the organization to be monitored. To be found in 'IAM & Admin' -> 'Settings' on Google Cloud.                       |
| OrganizationName  | String | Yes      | The name of the organization on Google Workspace to be monitored. To be found in 'IAM & Admin' -> 'Settings' on Google Cloud. |
| ServiceAccountKey | String | Yes      |                                                                                                                               |
