# Integrate LevelBlue USM Appliance with
Google SecOps

Supported in:

This document explains how to integrate LevelBlue USM Appliance with
Google Security Operations.

> [!NOTE]
> **Note:** AlienVault Unified Security Management Appliance is now known as LevelBlue USM Appliance. In Google SecOps, this integration appears under its legacy name, *AlienVault USM Appliance*. This documentation uses LevelBlue USM Appliance except where referencing literal interface labels.

## Use cases

The LevelBlue USM Appliance integration uses Google SecOps
capabilities to support the following use cases:

- **Automated alarm ingestion**: Ingest prioritized security alarms and
  correlated events from LevelBlue USM Appliance into
  Google SecOps cases with automatic risk-to-priority mapping and
  direct links back to each alarm in the appliance web console.

- **Host and vulnerability enrichment** : Enrich `IP Address` and `Hostname`
  entities during investigations with asset operating system, device type, asset
  criticality, and active vulnerability scan findings.

- **Forensic packet capture and scan report collection** : Retrieve recent packet
  capture (`.pcap`) files, attach event-specific packet captures to alerts, and
  collect vulnerability scan reports (`.xlsx`) directly onto the Case Wall.

## Before you begin

Before you configure the LevelBlue USM Appliance integration in
Google SecOps, verify that your environment meets the following
requirements:

- **Network connectivity** : Make sure that Google SecOps (or a
  deployed remote agent for private or on-premises networks) can reach the
  LevelBlue USM Appliance web console over HTTPS on TCP port `443`.

- **Non-interactive service account**: Create a dedicated LevelBlue USM
  Appliance user account with multi-factor authentication turned off so
  automated web session authentication from Google SecOps can
  complete without manual prompts.

- **Least-privilege user permissions**: Assign your dedicated LevelBlue USM
  Appliance service account the minimum visibility permissions required for the
  actions and connectors used in your workflows, as detailed in the following
  table:

  | Component | Required LevelBlue USM Appliance permissions |
  |---|---|
  | `Enrich Assets` | Read access to the asset inventory in LevelBlue USM Appliance. |
  | `Enrich Vulnerabilities` | Read access to host vulnerability scan results in LevelBlue USM Appliance. |
  | `Fetch Last PCAP Files` | Read access to traffic capture metadata and packet capture downloads in LevelBlue USM Appliance. |
  | `Get PCAP Files For Events` | Read access to security event details and event packet capture downloads in LevelBlue USM Appliance. |
  | `Get Vulnerability Reports` | Read access to vulnerability scan summary reports and report file downloads in LevelBlue USM Appliance. |
  | `Ping` | Valid user account credentials capable of signing in to the LevelBlue USM Appliance web console. |
  | `AlienVault USM Appliance Connector` | Read access to security alarms, correlated security events, and asset records in LevelBlue USM Appliance. |

For more information about configuring user accounts and role permissions, refer
to the official [LevelBlue Success Center](https://success.levelblue.com) and
the [LevelBlue Documentation Portal](https://docs.levelblue.com).

## Integration parameters

The LevelBlue USM Appliance integration requires the following parameters:

| Parameter | Description |
|---|---|
| `Api Root` | Required. The base URL of the LevelBlue USM Appliance web console, formatted as `https://SERVER_ADDRESS`. The default value is `https://<instance>.alienvault.com`. |
| `Username` | Required. The username of the dedicated LevelBlue USM Appliance service account used for authentication. |
| `Password` | Required. The password of the dedicated LevelBlue USM Appliance service account used for authentication. |


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).

### Enrich Assets

Use the **Enrich Assets** action to retrieve asset inventory details (including
operating system, device type, asset value, and whether the asset is external)
and attach them to matching Google SecOps entities.

This action runs on the following Google SecOps entities:

- `IP Address`
- `Hostname`

> [!IMPORTANT]
> **Important:** When an asset match is found, this action adds asset attributes to the entity using the **exact** prefix `AlientVault_`. Copy this exact prefix when referencing enriched entity fields in playbook conditions or placeholders.

#### Action inputs

None.

#### Action outputs

The **Enrich Assets** 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 | Available |
| JSON result | Available |
| Output messages | Available |
| Script result | Available |

##### Entity enrichment

The **Enrich Assets** action supports the following entity enrichment:

| Enrichment field name | Description |
|---|---|
| `AlientVault_asset_value` | The business criticality score configured for the asset in LevelBlue USM Appliance. |
| `AlientVault_device_types` | The device classification categories assigned to the asset (for example, `Server` or `Workstation`). |
| `AlientVault_external_asset` | Indicates whether the asset is marked as external (`1`) or internal (`0`) in LevelBlue USM Appliance. |
| `AlientVault_os` | The operating system identified on the asset. |

##### JSON result

The following example shows the JSON result output received when using the
**Enrich Assets** action:

```json
[
  {
    "Entity": "192.0.2.10",
    "EntityResult": {
      "asset_value": "2",
      "external_asset": "0",
      "os": "Microsoft Windows Server 2019",
      "device_types": [
        "Server"
      ]
    }
  }
]
```

##### Output messages

The **Enrich Assets** action provides the following output messages:

| Output message | Message description |
|---|---|
| `The following entities were enriched by AlienVault: ENTITY_IDENTIFIERS` | The action succeeded. |
| `No entities were enriched.` | The action completed, and no matching asset records were found in LevelBlue USM Appliance for the target entities. |

##### Script result

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

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

### Enrich Vulnerabilities

Use the **Enrich Vulnerabilities** action to query LevelBlue USM Appliance for
vulnerability scan findings associated with hosts in a case and attach both an
entity enrichment table and indexed vulnerability properties to matching
entities.

This action runs on the following Google SecOps entities:

- `IP Address`
- `Hostname`

> [!IMPORTANT]
> **Important:** When vulnerabilities are found, this action adds indexed entity properties using the **exact** prefix `AlientVault_Vulnerabilities_<INDEX>_`. Copy this exact prefix when building custom playbook expressions against enriched vulnerability fields.

#### Action inputs

None.

#### Action outputs

The **Enrich Vulnerabilities** action provides the following outputs:

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

##### Case wall table

The **Enrich Vulnerabilities** action provides the following table for each
enriched entity:

- **Table name** : `Vulnerabilities - <var class="prettyprint readonly">ENTITY_IDENTIFIER</var>`
- **Columns** :
  - **Scan Time**
  - **Asset**
  - **Vulnerability**
  - **Id**
  - **Service**
  - **Severity**

##### JSON result

The following example shows the JSON result output received when using the
**Enrich Vulnerabilities** action:

```json
[
  {
    "Entity": "192.0.2.10",
    "EntityResult": [
      {
        "Scan Time": "2026-04-01 08:15:00",
        "Asset": "192.0.2.10 (app-server-01)",
        "Vulnerability": "SSL Certificate Cannot Be Trusted",
        "Id": "15901",
        "Service": "https (443/tcp)",
        "Severity": "Medium"
      }
    ]
  }
]
```

##### Output messages

The **Enrich Vulnerabilities** action provides the following output messages:

| Output message | Message description |
|---|---|
| `The following entities were enriched by AlienVault: ENTITY_IDENTIFIERS` | The action succeeded. |
| `No entities were enriched.` | The action completed, and no vulnerability scan findings were found for the target entities. |

##### Script result

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

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

### Fetch Last PCAP Files

Use the **Fetch Last PCAP Files** action to retrieve recent packet capture
(`.pcap`) files recorded by LevelBlue USM Appliance sensors and attach them to
the Case Wall for offline traffic analysis.


This action doesn't run on Google SecOps entities.

#### Action inputs

The **Fetch Last PCAP Files** action requires the following parameters:

| Parameter | Description |
|---|---|
| `Number Of Files To Fetch` | Required. The maximum number of recent packet capture files to retrieve from LevelBlue USM Appliance and attach to the Case Wall. |

#### Action outputs

The **Fetch Last PCAP Files** action provides the following outputs:

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

##### Case wall table

The **Fetch Last PCAP Files** action provides the following table on the Case
Wall:

- **Table name** : `PCAP Records`
- **Columns** :
  - **creation_time**
  - **duration**
  - **user**
  - **scan_name**
  - **sensor_ip**
  - **download_link**

##### JSON result

The following example shows the JSON result output received when using the
**Fetch Last PCAP Files** action:

```json
[
  {
    "creation_time": "2019-06-09 09:49:10",
    "duration": "180 seconds",
    "download_link": "https://usm-appliance.example.com/ossim/pcap/download.php?scan_name=capture_scan_admin_1560088150_eth0.pcap&sensor_ip=192.0.2.10",
    "sensor_ip": "192.0.2.10",
    "user": null,
    "scan_name": "capture_scan_admin_1560088150_eth0.pcap"
  }
]
```

##### Output messages

The **Fetch Last PCAP Files** action provides the following output messages:

| Output message | Message description |
|---|---|
| `Found COUNT PCAP files.` | The action succeeded. |
| `No PCAP files were found.` | The action completed, and no recent packet capture files were available in LevelBlue USM Appliance. |

##### Script result

The following table lists the value for the script result output when using the
**Fetch Last PCAP Files** action:

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

### Get PCAP Files For Events

Use the **Get PCAP Files For Events** action to retrieve packet capture
(`.pcap`) files for security events associated with the current alert in
Google SecOps and attach each file to the Case Wall.


This action doesn't run on Google SecOps entities.

#### Action inputs

None.

#### Action outputs

The **Get PCAP Files For Events** action provides the following outputs:

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

##### JSON result

The following example shows the JSON result output received when using the
**Get PCAP Files For Events** action:

```json
{
  "#0-1B09DN3B0D2011E985730AS799BFE5BC": "obLD1AACAAQAAAAAAAAAAAAABdwAAAABV+kUZQAHyFMAAAXqAAAF6gr3GgnfOwobLz7Y6wgARQAF3Dd3QABnBvvXVduqw6wfLg8MmgG7xmc2dMr3EdxQEAD+OgAAABcDAwdVAAAAAAAAAASEw70Ys0kQbz8wdaj1lsHAAA=="
}
```

##### Output messages

The **Get PCAP Files For Events** action provides the following output messages:

| Output message | Message description |
|---|---|
| `Found PCAP files for events.` | The action succeeded. |
| `Error fetching PCAP file for event EVENT_NAME_EVENT_ID, ERROR: ERROR_REASON` | The action failed for the specified event. Verify that packet capture recording is enabled on the reporting LevelBlue USM Appliance sensor and confirm that the event timestamps are still within the sensor packet retention window. |
| `Not found PCAP files for events.` | The action failed. Verify that the alert contains LevelBlue USM Appliance event identifiers and check that packet captures exist for those events in the appliance web console. |

##### Script result

The following table lists the value for the script result output when using the
**Get PCAP Files For Events** action:

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

### Get Vulnerability Reports

Use the **Get Vulnerability Reports** action to retrieve vulnerability scan
reports from LevelBlue USM Appliance, display report metadata on the Case Wall,
and attach each report to the Case Wall.


This action doesn't run on Google SecOps entities.

#### Action inputs

The **Get Vulnerability Reports** action requires the following parameters:

| Parameter | Description |
|---|---|
| `Number Of Files To Fetch` | Required. The maximum number of vulnerability report files to retrieve from LevelBlue USM Appliance and attach to the Case Wall. |

#### Action outputs

The **Get Vulnerability Reports** action provides the following outputs:

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

##### Case wall table

The **Get Vulnerability Reports** action provides the following table on the
Case Wall:

- **Table name** : `Vulnerability Report Files`
- **Columns** :
  - **Address**
  - **creation_time**
  - **download_link**

##### JSON result

The following example shows the JSON result output received when using the
**Get Vulnerability Reports** action:

```json
[
  {
    "Address": "example.com [198.51.100.3]",
    "creation_time": "2019-06-05 14:43:35",
    "download_link": "https://usm-appliance.example.com/ossim/vulnmeter/get_state.php?type=report&id=20190605144335"
  }
]
```

##### Output messages

The **Get Vulnerability Reports** action provides the following output messages:

| Output message | Message description |
|---|---|
| `Found COUNT vulnerability report files.` | The action succeeded. |
| `No vulnerability report files were found.` | The action completed, and no vulnerability scan reports were available in LevelBlue USM Appliance. |

##### Script result

The following table lists the value for the script result output when using the
**Get Vulnerability Reports** action:

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

### Ping

Use the **Ping** action to test connectivity and verify that your configured
service account credentials can authenticate with the LevelBlue USM Appliance
web console.


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 |
|---|---|
| `Connection Established` | The action succeeded. |

##### Script result

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

| Script result name | Value |
|---|---|
| `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 />

### AlienVault USM Appliance Connector

Use the **AlienVault USM Appliance Connector** connector to ingest security
alarms and their correlated events from LevelBlue USM Appliance into
Google SecOps alerts and cases.

#### Connector inputs

The **AlienVault USM Appliance Connector** connector requires the following
parameters:

| Parameter | Description |
|---|---|
| `DeviceProductField` | Required. The event field name used to populate the device product attribute in Google SecOps alerts. The default value is `device_product`. |
| `EventClassId` | Optional. The name of the field that determines the event name (subtype). The default value is `name`. |
| `PythonProcessTimeout` | Required. The timeout limit, in seconds, for the Python process that runs the current script. The default value is `60`. |
| `Api Root` | Required. The base URL of the LevelBlue USM Appliance web console, formatted as `https://SERVER_ADDRESS`. |
| `Username` | Required. The username of the dedicated LevelBlue USM Appliance service account used for authentication. |
| `Password` | Required. The password of the dedicated LevelBlue USM Appliance service account used for authentication. |
| `Max Events Per Alert` | Required. The maximum number of correlated security events to retrieve and attach to each ingested alarm. The default value is `10`. |
| `Max Days Backwards` | Required. The number of days prior to the first connector run from which to retrieve alarms. 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 Alerts Per Cycle` | Required. The maximum number of alarms to ingest during each connector run. The default value is `10`. |
| `Server Timezone` | Required. The time zone configured on the LevelBlue USM Appliance server, such as `UTC`, `US/Eastern`, or `Europe/London`. Matching this setting to your appliance time zone prevents timestamp drift during alarm ingestion. The default value is `UTC`. |
| `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. |
| `Proxy Server Address` | Optional. The address of the proxy server to use. |
| `Proxy Username` | Optional. The proxy username to authenticate with. |
| `Proxy Password` | Optional. The proxy password to authenticate with. |

#### Connector rules

- The connector supports proxies.

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