Skip to main content

Google Workspace AlertCenter

This topic has information about the Google Workspace AlertCenter Cloud-to-Cloud Source, part of Sumo Logic's Cloud-to-Cloud Integration Framework.

Data Sources

The Google Workspace AlertCenter Source consumes data from the Alerts API.

The Source periodically fetches data from the API. The polling interval is 5 minutes.

Metadata

If the Source is configured with the SIEM forward option, the metadata field _siemparser will be set to /Parsers/System/Google/GSuite Alert Center.

Configuration overview

In this configuration, you'll set up a Google service account, and configure the Google Workspace AlertCenter source to use this account to authenticate and be authorized to access the Google Alerts API.

Step 1: Create service account Credentials

To create service account credentials

  1. Select the project or create a new one. Enable Google Workspace Alert Center API for the Alert API. You can search for "Google Workspace Alert Center API" in the search bar. Then select the "Enable" button.
    api-sdk
  2. You will be redirected to the dashboard page. Select the Credentials tab in the left panel.
    credentials
  3. Click Create Credentials, and select Service Account to create service account credentials. Later you'll supply the account details and click Done to create a service account.
    <service-account>
  4. Navigate to the Keys tab on the same page. To create JSON for the service account you must create a key. Click Add key and select Create new key. At the prompt select JSON and click Create.
    service-account-key
  5. JSON for the service account is automatically downloaded. To see what the JSON looks like, and how the JSON fields map to the fields you'll configure, see Service account JSON below.
    note

    If you don't add the scope to the service account you won't be authorized to fetch alert details.

  6. For delegated user email, you need to add the email of the user whom you want to delegate for API calls.

Service account JSON

  {
"type": "service_account",
"project_id": "sample_project",
"private_key_id": "asdfgh1234556",
"private_key": "-----BEGIN PRIVATE KEY-----\nsample_private_key\n-----END PRIVATE KEY-----\n",
"client_email": "sample_project@sample_service_account.com",
"client_id": "12345678",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/sample_url.com"
}

Here is how the JSON fields map to the input form.

Field from JSONInput field
client_emailClient Email
private_keyPrivate Key
token_uriToken URL

Step 2: Configure the Google Workspace AlertCenter Source

  1. In Sumo Logic, go to Manage Data > Collection > Collection.
  2. On the Collectors page, click Add Source next to a Hosted Collector.
  3. Select Google Workspace AlertCenter.
    <alert-center-source
  4. Name. Enter a name for the Source
  5. Description. (Optional)
  6. Source Category. Enter a string to tag the output collected from the Source. Category metadata is stored in a searchable field called _sourceCategory.
  7. Forward to SIEM. Click if you want the Source to forward the logs it ingests to Cloud SIEM Enterprise.
  8. Fields. (Optional) Click +Add Field to define the fields you want to associate, each field needs a name (key) and value. For more information, see Fields.
  9. Delegated User Email. Enter the admin email address for the domain.
  10. Client Email. Enter the value of the client_email key from the Service account JSON above.
  11. Private Key. Enter the value of the private-key key from the Service account JSON above.
  12. Token URL. Enter the value of the auth_provider_x509_cert_url key from the Service account JSON above.
  13. Exclude Alert Types. (Optional)
Sumo Logic YouTubeSumo Logic Twitter
Legal
Privacy Statement
Terms of Use

Copyright © 2022 by Sumo Logic, Inc.