# Integrate Anomali Staxx with
Google SecOps

Supported in:

This document explains how to integrate Anomali Staxx with
Google Security Operations.

## Use cases

The Anomali Staxx integration uses Google SecOps capabilities to
support the following use cases:

- **Threat indicator ingestion**: Pull threat indicators collected from
  subscribed STIX and TAXII feeds on your Anomali Staxx server into
  Google SecOps alerts.

- **Risk-based feed filtering**: Filter ingested indicators by minimum severity
  and confidence score thresholds so your team focuses on high-priority threats.

- **Targeted indicator routing**: Route ingested alerts to specific
  Google SecOps environments and filter indicator types using the
  connector dynamic list.

## Before you begin

Before you configure the Anomali Staxx integration in
Google SecOps, verify that your environment meets the following
requirements:

- **Network connectivity**: Make sure that Google SecOps (or a
  deployed Google SecOps remote agent when Anomali Staxx runs on
  a private network) can reach your Anomali Staxx server over HTTPS on your
  configured port.

- **Subscribed threat feeds**: Confirm that your Anomali Staxx server is
  subscribed to at least one threat intelligence feed so that queries return
  current indicators.

- **Least-privilege user permissions**: Configure a dedicated Anomali Staxx user
  account with the minimum permissions required for the action and connector
  used in your environment, as detailed in the following table:

| Component | Required Anomali Staxx permissions |
|---|---|
| `Ping` `Anomali Staxx - Indicators Connector` | Standard Anomali Staxx user account with read access to threat intelligence records. |

## Integration parameters

The Anomali Staxx integration requires the following parameters:

| Parameter | Description |
|---|---|
| `Server Address` | Required. The URL and port of the Anomali Staxx server. The default value is `https://<ip>:<port>`. |
| `Username` | Required. The username of your Anomali Staxx account. |
| `Password` | Required. The password for your Anomali Staxx account. |
| `Verify SSL` | Required. If selected, the integration validates the SSL certificate when connecting to the Anomali Staxx server. Enabled by default. |


For instructions about how to configure an integration in
Google SecOps, see [Configure
integrations](https://docs.cloud.google.com/chronicle/docs/soar/respond/integrations-setup/configure-integrations).

You can make changes at a later stage, if needed. After you configure an
integration instance, you can use it in playbooks. For more information about
how to configure and support multiple instances, see [Supporting
multiple instances](https://docs.cloud.google.com/chronicle/docs/soar/respond/integrations-setup/supporting-multiple-instances).

<br />

## Actions


For more information about actions, see [Respond to pending actions from your workdesk](https://docs.cloud.google.com/chronicle/docs/soar/overview-and-introduction/your-workdesk/respond-to-pending-actions-from-workdesk.md.txt) and [Run a
manual action in your case](https://docs.cloud.google.com/chronicle/docs/soar/investigate/working-with-cases/what-actions-can-you-take-on-a-case#run-manual-action).

### Ping

Use the **Ping** action to test connectivity and verify that your configured
credentials can authenticate with the Anomali Staxx server.


This action doesn't run on Google SecOps entities.

#### Action inputs

None.

#### Action outputs

The **Ping** action provides the following outputs:

| Action output type | Availability |
|---|---|
| Case wall attachment | Not available |
| Case wall link | Not available |
| Case wall table | Not available |
| Entity enrichment table | Not available |
| JSON result | Not available |
| Output messages | Available |
| Script result | Available |

##### Output messages

The **Ping** action provides the following output messages:

| Output message | Message description |
|---|---|
| `Successfully connected to the Anomali Staxx server with the provided connection parameters!` | The action succeeded. |
| `Failed to connect to the Anomali Staxx server! Error is ERROR_REASON` | The action failed. Verify that the `Server Address` and port are reachable, confirm that your `Username` and `Password` are valid, and check your `Verify SSL` setting. |

##### Script result

The following table lists the value for the script result output when using the
**Ping** action:

| Script result name | Value |
|---|---|
| `is_success` | `true` or `false` |

## Connectors


To learn more about configuring connectors in Google SecOps,
see [Ingest your data (connectors)](https://docs.cloud.google.com/chronicle/docs/soar/ingest/connectors/ingest-your-data-connectors.md.txt).

> [!NOTE]
> **Note:** To prevent data loss, connectors utilize **Event Flattening** . If a raw alert contains a list of entities (such as multiple email addresses, hostnames, or IP addresses), connectors automatically flatten them into separate, unique events.
>
> For example, a single raw alert containing three different email addresses is ingested as three
> separate events, each containing one distinct email address.
>
> This process ensures that every entity is correctly indexed as a unique asset, making it fully
> searchable and actionable in playbooks.

<br />

### Anomali Staxx - Indicators Connector

Use the **Anomali Staxx - Indicators Connector** connector to ingest threat
indicators from Anomali Staxx into Google SecOps alerts.

#### Connector inputs

The **Anomali Staxx - Indicators Connector** connector requires the following
parameters:

| Parameter | Description |
|---|---|
| `DeviceProductField` | Required. The name of the field where the product name is stored. The product name primarily impacts mapping. To streamline and improve the mapping process for the connector, the default value resolves to a fallback value that is referenced from the code. Any invalid input for this parameter resolves to a fallback value by default. The default value is `Product Name`. |
| `EventClassId` | Required. The name of the field that determines the event name (subtype). The default value is `itype`. |
| `Environment Field Name` | Optional. The name of the field where the environment name is stored. If the environment field is missing, the connector uses the default value. |
| `Environment Regex Pattern` | Optional. A regular expression pattern to run on the value found in the `Environment Field Name` field. This parameter lets you manipulate the environment field using the regular expression logic. Use the default value `.*` to retrieve the required raw `Environment Field Name` value. If the regular expression pattern is null or empty, or the environment value is null, the final environment result is the default environment. |
| `PythonProcessTimeout` | Required. The timeout limit, in seconds, for the Python process that runs the current script. The default value is `180`. |
| `Server Address` | Required. The URL and port of the Anomali Staxx server. The default value is `https://<ip>:<port>`. |
| `Username` | Required. The username of your Anomali Staxx account. |
| `Password` | Required. The password for your Anomali Staxx account. |
| `Server Timezone` | Optional. The numeric hour offset from UTC configured on the Anomali Staxx server (for example, `+1`, `-5`, or `5.5`). Enter a numeric offset rather than a named timezone. If left blank, the connector uses UTC. |
| `Lowest Severity To Fetch` | Required. The minimum severity level an indicator must meet in Anomali Staxx to be ingested. This value is not case-sensitive. Specifying `Critical` maps to the Anomali Staxx `very-high` severity level. The possible values are as follows: - `Low` - `Medium` - `High` - `Critical` The default value is `Medium`. |
| `Lowest Confidence To Fetch` | Optional. The minimum confidence score an indicator must meet in Anomali Staxx to be ingested. The maximum value is `100`. The default value is `0`. |
| `Fetch Max Hours Backwards` | Optional. The number of hours prior to the initial connector run from which to retrieve indicators. This parameter can apply to the initial connector iteration after you enable the connector for the first time, or the fallback value for an expired connector timestamp. The default value is `1`. |
| `Max Indicators To Fetch` | Optional. The maximum number of indicators to process during a single connector iteration. The default value is `50`. |
| `Use whitelist as a blacklist` | Required. If selected, the connector uses the dynamic list as a blocklist. |
| `Verify SSL` | Required. If selected, the integration validates the SSL certificate when connecting to the Anomali Staxx server. Disabled by default. |
| `Proxy Server Address` | Optional. The address of the proxy server to use. |
| `Proxy Username` | Optional. The username for proxy authentication. |
| `Proxy Password` | Optional. The password for proxy authentication. |

#### Connector rules

The following rules govern how the **Anomali Staxx - Indicators Connector**
connector processes indicators:

- **Proxies**: The connector supports proxy configurations.

- **Dynamic list filtering** : The connector evaluates the dynamic list against
  each indicator's alert name in the
  `TYPE:ITYPE`
  format (for example, `ip:bot_ip` or
  `domain:phish_domain`).

- **Recency buffer**: To prevent missing delayed feed updates, the connector
  ingests indicators only after at least 5 minutes have elapsed since their last
  observed timestamp.

**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/)