ExtraHop Reveal(x) v2
LAST UPDATED: 03/12/2024
Overview
ExtraHop Reveal(x) uses wire data and artificial intelligence to analyze the behavior that impacts critical assets.
D3 SOAR is providing REST operations to function with ExtraHop Reveal(x).
ExtraHop Reveal(x) v2 is available for use in:
Connection
To connect to ExtraHop Reveal(x) v2 from D3 SOAR, please follow this part to collect the required information below:
Parameter | Description | Example |
Server URL | The server URL for the API connection. | https://example.com/api/ |
API Key | The API key to authenticate the API connection. | ******* |
API Version | The version of the API to use for the connection. | V1 |
Configuring ExtraHop Reveal(x) to Work with D3 SOAR
Ensure that API key generation is allowed on the ExtraHop system. This setting is controlled by administrators or users with unlimited privileges.
Log in to the ExtraHop system's Administration settings by visiting https://<extrahop-hostname-or-IP-address>/admin.
Navigate to the Access Settings section and click on API Access.
In the Manage API Access section, choose one of the following options:
Allow all users to generate an API key: This allows both local and remote users to generate API keys.
Only allow local users to generate an API key: Remote users are not able to generate API keys.
Disallow all users from generating an API key: No API keys can be generated by any user.
Click on the Save Settings button to save your changes.
Navigate back to the Access Settings section and click on API Access.
In the Generate an API Key section, enter a description for the new key and click Generate.
Scroll down to the API Keys section and locate the API key that matches your description. Copy the key for later use.
Configuring D3 SOAR to Work with ExtraHop Reveal(x) v2
Log in to D3 SOAR.
Find the ExtraHop Reveal(x) v2 integration.
Navigate to Configuration on the top header menu.
Click on the Integration icon on the left sidebar.
Type ExtraHop Reveal(x) v2 in the search box to find the integration, then click it to select it.
Click + New Connection, on the right side of the Connections section. A new connection window will appear.
Configure the following fields to create a connection to ExtraHop Reveal(x) v2.
Connection Name: The desired name for the connection.
Site: Specifies the site to use the integration connection. Use the drop-down menu to select the site. The Share to Internal Sites option enables all sites defined as internal sites to use the connection. Selecting a specific site will only enable that site to use the connection.
Recipient site for events from connections Shared to Internal Sites: This field appears if you selected Share to Internal Sites for Site to let you select the internal site to deploy the integration connection.
Agent Name (Optional): Specifies the proxy agent required to build the connection. Use the dropdown menu to select the proxy agent from a list of previously configured proxy agents.
Description (Optional): Add your desired description for the connection.
Configure User Permissions: Defines which users have access to the connection.
Active: Check the tick box to ensure the connection is available for use.
System: This section contains the parameters defined specifically for the integration. These parameters must be configured to create the integration connection.
1. Input your Server URL.
2. Input your API Key.
3. Input your API Version.Enable Password Vault: An optional feature that allows users to take the stored credentials from their own password vault. Please refer to the password vault connection guide if needed.
Connection Health Check: Updates the connection status you have created. A connection health check is done by scheduling the Test Connection command of this integration. This can only be done when the connection is active.
To set up a connection health check, check the Connection Health Check tickbox. You can customize the interval (minutes) for scheduling the health check. An email notification can be set up after a specified number of failed connection attempts.
Test the connection.
Click Test Connection to verify the account credentials and network connection. If the Test Connection Passed alert window appears, the test connection is successful. You will see Passed with a green checkmark appear beside the Test Connection button. If the test connection fails, please check your connection parameters and try again.
Click OK to close the alert window.
Click + Add to create and add the configured connection.
Commands
ExtraHop Reveal(x) includes the following executable commands for users to set up schedules or create playbook workflows. With the Test Command, you can execute these commands independently for playbook troubleshooting.
Integration API Note
For more information about the ExtraHop Reveal(x) API, please refer to the ExtraHop Reveal(x) API reference.
Fetch Events
Retrieves detections that have been identified by the ExtraHop system.
Input
Input Parameter | Required/Optional | Description | Example |
Start Time | Required | The start time of the time range to fetch detections in UTC time. Detections that started before the specified date are returned if the detection was ongoing at that time. | 2023-02-25 00:00 |
End Time | Required | The end time of the time range to fetch detections in UTC time. | 2023-02-26 00:00 |
Number of Event(s) Fetched | Required | The maximum number of detections to return. | 10 |
Filter | Optional | The search parameters to filter detections. | {"category":"IP"} |
Tolerance Scope | Optional | The tolerance scope (in minutes) for the query to fetch events between the specified start and end time to avoid event loss or fetch failure. The events will be fetched between {Start Time - Tolerance Scope, End Time}. | 5 |
Output
Fetch Event Field Mapping
Please note that Fetch Event commands require event field mapping. Field mapping plays a key role in the data normalization process part of the event pipeline. Field mapping converts the original data fields from the different providers to the D3 fields which are standardized by the D3 Model. Please refer to Event and Incident Intake Field Mapping for details.
If you require a custom field mapping, click +Add Field to add a custom field mapping. You may also remove built-in field mappings by clicking x. Please note that two underscore characters will automatically prefix the defined Field Name as the System Name for a custom field mapping. Additionally, if an input Field Name contains any spaces, they will automatically be replaced with underscores for the corresponding System Name.
As a system integration, the ExtraHop Reveal(x) integration has some pre-configured field mappings for default field mapping.
Default Event Source
The Default Event Source is the default set of field mappings that are applied when this fetch event command is executed. For out-of-the-box integrations, you will find a set of field mapping provided by the system. Default event source provides field mappings for common fields from fetched events . The default event source has a “Main Event JSON Path” (i.e., $) that is used to extract a batch of events from the response raw data. Click Edit Event Source to view the “Main Event JSON Path”.Main Event JSON Path: $
The Main Event JSON Path determines the root path where the system starts parsing raw response data into D3 event data. The JSON path begins with $, representing the root element. The path is formed by appending a sequence of child elements to $, each separated by a dot (.). Square brackets with nested quotation marks ([‘...’]) should be used to separate child elements in JSON arrays.
For example, the root node of a JSON Path is $. The child node denoting the Unique Event Key field would be .id. Putting it together, the JSON Path expression to extract the Unique Event is $.id.
The pre-configured field mappings are detailed below:
Field Name | Source Field |
Unique Event Key | .id |
Description | .description |
Tactics | .mitre_tactics |
Techniques | .mitre_techniques |
Resolution | .resolution |
Event Type | .type |
Webhook Extrainfo | .webhookExtraInfo |
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Fetch Events failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the ExtraHop Reveal(x) portal. Refer to the HTTP Status Code Registry for details. | Status Code: 401. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Invalid URL. |
Error Sample Data Fetch Events failed. Status Code: 401. Message: Invalid URL. |
Get Alerts
Retrieves all alerts.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Get Alerts failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the ExtraHop Reveal(x) portal. Refer to the HTTP Status Code Registry for details. | Status Code: 401. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Invalid URL. |
Error Sample Data Get Alerts failed. Status Code: 401. Message: Invalid URL. |
Get Device by ID
Retrieves a device of the given Device ID.
Input
Input Parameter | Required/Optional | Description | Example |
Device ID | Optional | The ID of the device to return. The Device ID is a unique identifier for a device, which is displayed as the API ID on the device page in the ExtraHop system. | 0 |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Get Device by ID failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the ExtraHop Reveal(x) portal. Refer to the HTTP Status Code Registry for details. | Status Code: 401. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Invalid URL. |
Error Sample Data Get Device by ID failed. Status Code: 401. Message: Invalid URL. |
Get Watchlist
Retrieves all devices that are on the watchlist.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Get Watchlist failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the ExtraHop Reveal(x) portal. Refer to the HTTP Status Code Registry for details. | Status Code: 401. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Invalid URL. |
Error Sample Data Get Watchlist failed. Status Code: 401. Message: Invalid URL. |
Test Connection
Allows you to perform a health check on an integration connection. You can schedule a periodic health check by selecting Connection Health Check when editing an integration connection.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Test Connection failed. Failed to check the connector. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the ExtraHop Reveal(x) portal. Refer to the HTTP Status Code Registry for details. | Status Code: 401. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Invalid URL. |
Error Sample Data Test Connection failed. Failed to check the connector. Status Code: 401. Message: Invalid URL. |