> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/g/google-security-operations-siem.md).

# Google Security Operations SIEM

Google Security Operations SIEM (Chronicle) collects security telemetry. This adapter uses the legacy Backstory API to list the assets that accessed one artifact domain, and optionally the hosts found by UDM queries.

{% hint style="warning" %}
The legacy Backstory API is deprecated. Google will shut it down on July 20, 2027, and instances created after October 26, 2026 cannot call it. Use the Google Security Operations SIEM REST adapter where possible. See [Migrate from legacy SIEM API to Chronicle API](https://docs.cloud.google.com/chronicle/docs/administration/migrate-from-legacy-api-to-chronicle-api).
{% endhint %}

## Use cases

* Add hosts that visited a company-wide domain to your inventory.
* Add hosts found by your own UDM queries.
* Check what one connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                                                 | Port         | Protocol          |
| ------------------- | --------------------------------------------------------------------------- | ------------ | ----------------- |
| OctoXLabs connector | Backstory API endpoint of your region, for example backstory.googleapis.com | Not verified | HTTPS (Is Secure) |

See [Search API reference](https://docs.cloud.google.com/chronicle/docs/reference/search-api) for every regional endpoint.

### Required permissions

| Scope or role                                                                                          | Permission | Needed for    |
| ------------------------------------------------------------------------------------------------------ | ---------- | ------------- |
| Google Developer Service Account credential provided by your Google Security Operations representative | Read       | Backstory API |

## Create credentials in Google Security Operations

{% stepper %}
{% step %}

### Get the credential

Ask your Google Security Operations representative for the Google Developer Service Account JSON key file for the Backstory API.
{% endstep %}

{% step %}

### Note the account details

Note the service account email. It must match the `client_email` of the key file.
{% endstep %}

{% step %}

### Choose the artifact domain

Pick a domain that every computer contacts. The Backstory API only lists the assets that accessed one artifact.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
The key file is the only copy of the private key. Store it securely.
{% endhint %}

## Connection parameters

| Parameter                | Required | Type    | Default                  | Description                                                                                                                                      |
| ------------------------ | -------- | ------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Domain                   | Yes      | String  | backstory.googleapis.com | Backstory API endpoint of your region, for example `europe-backstory.googleapis.com`.                                                            |
| Service Account Email    | Yes      | String  | None                     | Email of the service account. It must match the `client_email` of the key file.                                                                  |
| Service Account Key File | Yes      | File    | None                     | JSON key file of the service account.                                                                                                            |
| Artifact Domain          | Yes      | String  | None                     | Domain whose visitors are collected.                                                                                                             |
| Days To Fetch            | No       | Integer | 1                        | Days back to search, from 1 to 90.                                                                                                               |
| Window Hours             | No       | Integer | 24                       | Size of each time window. The API returns at most 100 assets per request without paging, so a full window is split in halves down to one minute. |
| UDM Search Enabled       | No       | Boolean | False                    | Also collect hosts of the events that the UDM queries return.                                                                                    |
| UDM Queries              | No       | List    | None                     | UDM search queries, for example `principal.hostname != ""`. Required when UDM search is enabled.                                                 |
| UDM Query Delimiter      | No       | String  | `;`                      | Character that separates the UDM queries.                                                                                                        |
| UDM Fetch Hours          | No       | Integer | 1                        | Hours back that the UDM queries search.                                                                                                          |
| UDM Fetch Size           | No       | Integer | 1000                     | Maximum events per UDM request, up to 10000. The time window is split in halves when more events match.                                          |
| Is Secure                | No       | Boolean | True                     | Use HTTPS.                                                                                                                                       |
| Https Proxy              | No       | String  | None                     | Proxy URL.                                                                                                                                       |
| Timeout                  | No       | Integer | 600                      | Time in seconds to wait for API responses. A UDM search can run up to 10 minutes.                                                                |

Required flags and types come from the frontend instructions and were not checked against connector code.

## Troubleshooting

| Error message | Cause                                               | Fix                                                     |
| ------------- | --------------------------------------------------- | ------------------------------------------------------- |
| Not verified  | Error texts could not be taken from connector code. | Run the connection test and check the parameters above. |

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
