LogRhythm Axon
LAST UPDATED: 05/30/2024
Overview
LogRhythm Axon is a cloud-native SIEM platform built for security teams that are stretched thin by overwhelming amounts of data and an ever-evolving threat landscape.
D3 SOAR is providing REST operations to function with LogRhythm Axon.
LogRhythm Axon is available for use in:
Connection
To connect to LogRhythm Axon from D3 SOAR, please follow this part to collect the required information below:
Parameter | Description | Example |
Server URL | The base API URL of your LogRhythm Axon server. Select the URL corresponding to your geographic location: For customers in North or South America, use: https://api.na01.prod.boreas.cloud For European customers, use: https://api.eu01.prod.boreas.cloud | https://api.na01.prod.boreas.cloud |
Tenant ID | The tenant ID to authenticate the connection. | l***c |
API Key | The API token to authenticate the connection. | lgr******c01 |
API Version | The version of the API to use for the connection. The default version is v1. | v1 |
Permission Requirements
All commands can be executed with the Analyst user role as the minimum required permission. Granting the user the Administrator role is optional and not necessary for executing commands.
As LogRhythm Axon is using role-based access control (RBAC), the API access token is generated based on a specific user account and the application. Therefore, the command permissions are inherited from the user account’s role. Users need to configure their user profile from the LogRhythm Axon console for each command in this integration.
Reader Note
LogRhythm Axon’s default user profiles (sorted from the least permissions to the most) are as follows:
Analyst
Administrator
Custom roles are not supported in LogRhythm Axon. For more information about roles, refer to Roles from LogRhythm's documentation.
Configuring LogRhythm Axon to Work with D3 SOAR
Creating a User With Your Desired Role
Log in to your admin account and navigate to the Settings section. Click on the Users tab, then select +Add User.
Enter the email address of the new user and assign them a role, with the minimum being "Analyst". Click Add User to proceed.
The new user will receive an invitation via email. They should open the email and click on Accept Invitation. This action will redirect them to a page where they can set up their password and enable Two-Factor Authentication (2FA) for added security.
Generating API Keys
Log in to your new account.
Navigate to My Account under the account section. Here, you'll find information about your current tenant. Go to the API Keys section and select + Add New API Key.
Enter a name for your new API key, then click on Generate Key.
Once the key is generated, copy and save it in a secure location. This is the only opportunity you will have to view this key.
Configuring D3 SOAR to Work with LogRhythm Axon
Log in to D3 SOAR.
Find the LogRhythm Axon integration.
Navigate to Configuration on the top header menu.
Click on the Integration icon on the left sidebar.
Type LogRhythm Axon in the search box to find the integration, then click it to select it.
Click + Connection, on the right side of the Connections section. A new connection window will appear.
Configure the following fields to create a connection to LogRhythm Axon.
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.
Tenant (Optional): When configuring the connection from a master tenant site, you have the option to choose the specific tenant sites you want to share the connection with. Once you enable this setting, you can filter and select the desired tenant sites from the dropdowns to share 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 the Server URL of your LogRhythm Axon server. Ensure to enter the appropriate server based on your geographic location. For customers located in North or South America, input https://api.na01.prod.boreas.cloud. If you are a European customer, use https://api.eu01.prod.boreas.cloud instead.
2. Input the Tenant ID. You can refer to step 2 of Generating API Keys for instructions on obtaining the Tenant ID.
3. Input the API Key. You can refer to step 4 of Generating API Keys for instructions on obtaining the API Key.
4. Input the API Version. The default version is v1.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
LogRhythm Axon 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 LogRhythm Axon API, please refer to the LogRhythm Axon API reference.
Reader Note
Certain permissions are required for each command. Please refer to the Permission Requirements and Configuring LogRhythm Axon to Work with D3 SOAR for details.
Note for Time-related parameters
The input format of time-related parameters may vary based on your account settings. As a result, the sample data provided in our commands is different from what you see. To set your preferred time format, follow these steps:
Navigate to Configuration > Application Settings. Select Date/Time Format.
Choose your desired date and time format.
After that, you will be able to view your preferred time format when configuring the DateTime input parameters for commands.
Fetch Event
Returns events from the platform based on specified criteria.
Reader Note
When setting your search parameters, ensure to specify them precisely. Merely defining the start and end time might lead to a timeout, as this can result in an excessive number of events being retrieved.
Input
Input Parameter | Required /Optional | Description | Example |
Start Time | Required | The start time of the time range to retrieve events, in UTC format. | 2023-01-09 00:00 |
End Time | Required | The end time of the time range to retrieve events, in UTC format. | 2023-01-10 00:00 |
Number of Event(s) Fetched | Optional | The maximum number of events to return. If this parameter is not defined, the default limit value of 10000 will be applied. | 5 |
Search Conditions | Optional | The query statement to filter results. For more information about the query syntax, refer to https://docs.logrhythm.com/axon/docs/build-a-query. | origin.host.name=\"QA\\SM-*****\" |
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.
To customize field mapping, click + Add Field and add the custom field of your choice. You can 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 LogRhythm Axon 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., $.content) 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: $.content
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 content. The child node denoting the Unique Event Key field would be id. Putting it together, the JSON Path expression to extract the Unique Event Key is $.content.id.
The pre-configured field mappings are detailed below:
Field Name | Source Field |
Unique Event Key | .id |
Start Time | .result.['general_information.standard_message_time'] |
Device | .result.['origin.host.name'] |
Unattributed Hash HA256 | .result.['unattributed.hash.sha256'] |
Unattributed Hash MD5 | .result.['unattributed.hash.md5'] |
Vendor Log Subtype | .result.['vendor_information.log_subtype'] |
Source | .result.['general_information.log_source.name'] |
Threat event ID | .result.['threat.id'] |
Destination Device | .result.['target.host.name'] |
Source type | .result.['general_information.log_source.type_name'] |
Process Hash SHA256 | .result.['object.process.hash.sha256'] |
Threat severity | .result.['threat.severity'] |
Operating system | .result.['origin.host.os.version'] |
Process Name | .result.['object.process.name'] |
Threat Evidence | .result.['threat.evidence'] |
Process Hashes MD5 | .result.['object.process.hash.md5'] |
Threat Source | .result.['threat.source'] |
Unattributed Account Email | .result.['unattributed.account.email_address'] |
Vendor Log Type | .result.['vendor_information.log_type'] |
Event name | .result.['general_information.common_event_name'] |
Raw event data | .result.['general_information.raw_message'] |
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 Event 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 LogRhythm Axon portal. Refer to the HTTP Status Code Registry for details. | Status Code: 400. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Syntax error at line: 1: 2 - no viable alternative at input. |
Error Sample Data Fetch Event failed. Status Code: 400. Message: Syntax error at line: 1: 2 - no viable alternative at input. |
Get List Definitions
Retrieves all list definitions for tenants.
Input
Input Parameter | Required/Optional | Description | Example |
Limit | Optional | The maximum number of results to return. If this parameter is not defined, all available list definitions will be returned. | 5 |
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 List Definitions 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 LogRhythm Axon portal. Refer to the HTTP Status Code Registry for details. | Status Code: 400. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: The value for parameter (Limit) is invalid. |
Error Sample Data Get List Definitions failed. Status Code: 400. Message: The value for parameter (Limit) is invalid. |
Get List Items
Retrieves items from the specified list definition.
Reader Note
List Definition ID is a required parameter to run this command.
Run the Get List Definitions command to obtain List Definition ID. List Definition IDs can be found from the returned raw data at the path $.content[*].id.
Input
Input Parameter | Required/Optional | Description | Example |
List Definition ID | Required | The ID of the list definition to retrieve items. List Definition IDs can be obtained using the Get List Definitions command. | ***-***-***-***-*** |
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 List Items 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 LogRhythm Axon portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Could not find entity with identifier={"tenantId":"xxx","id":"xxx"}. |
Error Sample Data Get List Items failed. Status Code: 404. Message: Could not find entity with identifier={"tenantId":"xxx","id":"xxx"}. |
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 LogRhythm Axon portal. Refer to the HTTP Status Code Registry for details. | Status Code: 403. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: HTTP 403 Forbidden. |
Error Sample Data Test Connection failed. Failed to check the connector. Status Code: 403. Message: HTTP 403 Forbidden. |