Mapping IBM QRadar offense fields to security incident response fields
Summarize
Summary of Mapping IBM QRadar offense fields to security incident response fields
This guide explains how ServiceNow customers can map IBM QRadar offense, event, and flow fields to security incident fields within the ServiceNow AI Platform Security Incident Response (SIR) module. This mapping enables automatic creation and enrichment of security incidents in ServiceNow based on QRadar offenses, helping streamline security operations by correlating and managing offense data effectively.
Show less
Mapping Offense Fields to Security Incident Fields
Users with the snsi.admin role can drag and drop fields from QRadar offenses displayed on the left side of the mapping interface to corresponding SIR incident fields on the right. Color-coding assists in tracking mapped (grey) and unmapped (blue) offense fields. Multiple mappings of the same offense field to different incident fields are allowed for fields supporting multiple values, such as Observables, Configuration Items, and Work notes.
If manually entering event or flow field names, a prefix (${Event:eventfield}$ or ${Flow:flowfield}$) must be used. Additional security incident fields can be added via the plus (+) icon, and fields can be removed using the minus (-) icon.
Handling Multiple Values and Field Formatting
Certain IBM QRadar offense fields like categories, destinationnetworks, users, and others support multiple values. To map these properly (except to CI and Observable fields), custom List-type fields must be created in ServiceNow. Default incident fields such as Category or User do not support multiple values.
For cases where offense field values do not directly match incident field values, a script editor is available to format or normalize these values during mapping. This enables consistent categorization, for example, mapping different types of malware alerts to a common category.
Incident Generation Conditions
To control which offenses generate security incidents, users can enable and configure filter conditions based on offense field values. The filter builder supports logical operators (AND/OR) and requires exact, case-sensitive matches. For multi-value offense fields, the contains condition must be used to filter correctly.
This filtering helps reduce noise by ensuring only relevant offenses create incidents, without modifying QRadar rules directly.
Offense Aggregation Criteria
To avoid duplicate incidents from similar offenses, users can configure aggregation conditions. These specify which field values must match for an incoming offense to be appended to an existing security incident rather than creating a new one. All selected fields must match for aggregation to occur.
Aggregated offenses are visible to analysts via a related list on the security incident, providing context such as timestamps and associated field values. Optionally, a work note can be logged automatically whenever a new offense is aggregated, linking to offense details.
Practical Outcomes for ServiceNow Customers
- Streamlined integration of IBM QRadar offenses into ServiceNow security incidents with customizable, granular field mapping.
- Improved incident quality through filtering that prevents low-priority or irrelevant offenses from creating incidents.
- Reduced incident duplication by aggregating related offenses, consolidating security data for better incident management.
- Enhanced flexibility via scripting to normalize and format fields, ensuring consistent incident categorization.
- Visibility for security analysts into aggregated offenses and automated logging of offense additions via work notes.
After completing the mapping and configuration steps, users can preview the mapped fields on a sample security incident to validate the integration before deployment.
Map individual offense, event, and flow fields to fields on a ServiceNow AI Platform SIR security incident.
Offense field mapping
As a user with the sn_si.admin role, use the fields from the Sample Offenses section on the left and map them to the security incident fields in the SIR Incident Field Mapping column. Edit the mapping configuration by dragging offense, event, or flow fields from the left side and dropping them on the ServiceNow SIR incident mapping section on the right. The mapping on the right associates the incoming offense field with an outgoing security incident field.
- After you have fetched the sample data, the next step is map the offense, event, or flow fields to the security incident. To map a field value from the left side of the form to a field on the security incident on the right side of the form, click-hold a blue field name on the left side of the form.
- Drag the field name, for example, description, and drop it on a
field in the Input Expression column next to a field name in the Security Incident column.
The field value is displayed in the Input Expression column. In the following image, description is mapped to the Description field on the security incident.Note:If you enter the event or flow field name manually in the Input Expression section, you must add a prefix as ${Event:eventfield}$ or ${Flow:flowfield}$ before the name of the field being mapped.
To help you ensure that no offense, event, or flow fields are overlooked or duplicated in the mapping process, fields are color-coded. Color-coding of the offense fields helps you keep track of the offense values that you have already mapped as they become greyed out while all remaining unmapped fields appear in blue. This helps you better visualize which field values have been added to the security incident and if any remaining important offense information remains unmapped.
Light blue fields on the left indicate that an offense field is not yet selected and mapped on the security incident. You may prefer to associate an incoming offense, event, or flow field with more than one field on a security incident. A gray field indicates that a field has been selected and mapped to a field on the security incident. This color-coding helps you track the mapping.
- To add fields to the default fields displayed on the security incident on the right side of
the form, follow these steps:
- On the right of the form in the SIR Incident Field Mapping section, at the bottom of the grid, click the plus (+) icon. A new field is displayed.
- In the Security Incident column, expand the choice list that is displayed, and select a
field. In the expanded choice list for the new field, some fields are shaded. In the following figure, Category has a gray background, because it has been mapped in the security incident. Similar to the color-coding for the offense fields on the left side of the form, this color-coding for the security incident fields on the right helps you track the already mapped SIR incident fields.Note:As multiple observables can be displayed on the same security incident, the Observable field can be mapped multiple times with different values. Similarly, the Configuration Item and Work notes fields support multiple values. If you try to map two values to a field that cannot support multiple values, when you preview the incident, an error message is displayed that there is no value for the field. Similarly, if a field on a security incident has a choice list from which you can choose multiple options, and you try to map an option to that field that is not displayed on the choice list, the field is not populated on the security incident.
- Alternatively, type a value in the Search field for the new row.
- From the left side of the form, select the offense field and drag-and-drop it to an appropriate security incident field on the right.
- Remove fields by using the - icon next to the field name in the SIR incident field mapping section.
- Continue mapping by adding or removing field values to the mapping.
Offense fields with multiple values
- Security incident fields such as Category and User fields, (for example, Affected user, Assigned to) available with the base product do not support multiple values.
- The following IBM QRadar fields support multiple values:
- categories
- destination_networks
- source_address_ids
- local_destination_address_ids
- remote_destination_ips
- rules_contributing_to_offense
- users
If you need to map the above fields to any Security Incident Response fields apart from CI and Observable type fields, you must create new Security Incident Response fields of type List and use them for mapping.
Note:By default, only non-reference List type fields are supported.
Format Field Translation
In certain cases, offense field values in IBM QRadar may not translate directly to the fields on the SIR security incident. For these values, you can use a script editor to format field values on the security incident during the mapping step. Use the script editor if you want to format values that are similar, but not identical. For example, with the script editor, a category value of Malware Alert and Virus Infection may have different field values for the source category but both values can be translated to a common Malicious Code Activity in the Category field on the SIR security incident using the Format Field Translation functionality.
Enter any changes to the script and click Update to save the changes and return to the Mapping page.
Incident generation conditions
- Scroll to the Incident Generation Conditions section on the form and
select the Filter based on conditions check box to enable the option.
The Filter conditions builder is displayed. Use these filters to create security incidents that match the specific conditions described by the fields.
The options in the choice lists for the first field in the Filter conditions builder match the fields that are displayed on the Sample QRadar Offense Ingestion section for the offenses you ingested. These fields are dynamic and change depending on the offenses that you ingest. Criteria that you enter are case-sensitive, and they must match exactly the values of the IBM QRadar offense. If you are not sure about the values to enter in the filter fields, you may prefer to return to your IBM QRadar console and review your offenses for the keywords.
Note:The categories, destination_networks, source_address_ids, local_destination_address_ids,remote_destination_ips, rules_contributing_to_offense, and users offense fields can have multiple values (as the values are stored in arrays). As the filter condition can retrieve only strings, you must use the contains filter condition for these fields to ensure that the data is filtered correctly. - Using the choice lists and fields of the conditions builder, set filters for the first row.
- To add more conditions, to the right of the fields, click AND or
OR.
- If AND is selected, all conditions must be matched.
- If OR is selected, either condition can be matched.
- (Optional) In the second row, set a second filter condition.
The following image is an example with two conditions that must be matched before security incidents are created.
You have set the incident generation conditions so that security incidents are created only when both of the filtering conditions that you entered are matched.
This type of incident generation condition filtering helps you narrow down the offenses, and limit the number of unnecessary security incidents that you create without modifying the underlying rule or filters in IBM QRadar. If additional filtering criteria are set, only offenses that match all criteria are mapped to incidents.
Note:If any of the offense field names have special characters such as quotes (“),hyphens (‘), underscores (-), or ampersands (@), these characters may need to be replaced for filtering purposes but a numerical suffix is appended to differentiate fields with duplicate offense names. For example, if the first offense field isalerts.alertand the second offense field isalerts@alerts, these fields cannot be uniquely identified as the remaining standard text characters are the same. In this case, a suffix is added to the second offense field and the field is renamed toalerts@alert(1)when displayed in the Filter Conditions list.
Offense aggregation criteria to handle similar offenses and prevent duplicate incidents
- Scroll to the Offense Aggregation Criteria section on the form and select the
Aggregation Conditions check box to enable this option.
The Incident Field Matching Values columns are displayed. These field names are the fields on the security incident that include any custom fields that are configured on the SIR security incident.
- From the Available list, select the field values that you want to match on existing
security incidents in your ServiceNow AI Platform and move them to the Selected list.
All the field values that you select must be matched to append this incoming alert to an existing security incident. This includes fields, such as Observables and Configuration Items, that may have multiple offense field values mapped to them. All values must match. If only a subset of the values are matched, the offense aggregation conditions will not be met and a new security incident will be created. See screen shot below for multi-value field mapping.
If a new offense matches all the values that are selected in the aggregation field conditions in the mapping step, the new offense is automatically added to the most recently opened security incident with the same field values. As a user with the sn_si.analyst role working with security incidents, you can view all the added aggregated offenses on a related list on a security incident. This list details associated time stamps and aggregated field values. This information helps you understand why these offenses are being aggregated to existing security incidents. If this tab is not displayed, scroll to the left side of the record under Related Links and click the Show All Related Lists link.
- (Optional) To log a work note for a new offense that is recently added on the security
incident, select the check box to enable this option. The work note logs that a new offense
has been added along with a link to the offense details and any other details that may have
been added to the work note field in your mapping section.
You have successfully mapped values from an IBM QRadar offense to fields on a security incident. Also, you have configured additional conditions to limit the creation of security incidents with incident generation filtering criteria. You also appended offenses to existing security incidents when offense field values match the configured aggregation criteria.
- Click Continue to continue with the profile configuration. The next step is to preview the fields you mapped on a SIR security incident