End-of-Life (EoL)
Configure Incident Mirroring
This document walks you through setting up
the ServiceNow v2 integration to mirror incidents from ServiceNow
in Cortex XSOAR. It includes steps for configuring the integration
and incoming and outgoing mappers. However, it does not cover every
option available in the integration nor classification and mapping
features. For information about these features, refer to the specific feature
documentation or integration documentation.
When mirroring
incidents, you can make changes in ServiceNow that will be reflected
in Cortex XSOAR, or vice versa. You can also attach files from either
of the systems, which will then be available in the other system.
This is made possible by the addition of 3 new functions in the
integration, which are applied with the following options:
- External schema support, which implements theget_mapping_fields_commandfunction to display the 3rd-party schema.
- Can sync mirror in, which implements theget_remote_data_commandto mirror information from the 3rd party application.
- Can sync mirror out, which implementsupdate_remote_system_commandto push mirroring information out to the 3rd-party application.
- Define the ServiceNowv2 integration.
- Navigate toIntegrationsand search for ServiceNowv2.
- ClickAdd instance.
- UnderName, make sure that the instance name matches the value in thedbotMirrorInstancefield in the incoming mapper.To change the value in the mapper, you must first duplicate the mapper and edit the field in the copy of the mapper.
- Select theFetches incidentsradio button.
- UnderClassifier, selectServiceNow Classifier.
- UnderIncident type, selectServiceNowTicket.
- UnderMapper (incoming), selectServiceNow - Incoming Mapper.
- UnderMapper (outgoing), selectServiceNow - Outgoing Mapper.
- Enter the remaining connection parameters.
- To enable mirroring when closing an incident or ticket in Cortex XSOAR and ServiceNow, select theClose XSOAR IncidentandClose ServiceNow Ticketcheckboxes, respectively.
- ClickDone.
- Modify the incoming mapper.
- Navigate toClassification and Mappingand clickMapper-Incoming-ServiceNow.
- Under theIncident Typedropdown, selectServiceNowTicket.
- Change the mapping according to your needs.5 fields have been added to support the mirroring feature:
- dbotMirrorDirection - determines whether mirroring is incoming, outgoing, or both. Default is Both.
- dbotMirrorId - the field used by the 3rd party integration to identify the ticket. In this case, the ServiceNow incident ID field.
- dbotMirrorInstance - determines the ServiceNow instance with which to mirror.
- dbotMirrorLastSync - determines the field by which to indicate the last time that the systems synchronized.
- dbotMirrorTags - determines the tags that you need to add in Cortex XSOAR for entries to be pushed to ServiceNow.
- To mirror files, use theForServiceNowtag.
- To mirror general notes, use thecommentstag.
- To mirror private notes that can be read only by users with the necessary permissions, use thework_notestag.
- Save your changes.
- Modify the outgoing mapper.
- UnderClassification and Mapping, clickMapper-Outgoing-ServiceNow.The left side of the screen shows the ServiceNow fields to which to map and the right side of the screen shows the Cortex XSOAR fields by which you are mapping.
- Under theIncident Typedropdown, selectServiceNowTicket.
- UnderSchema Type, selectincident. The Schema Type represents the ServiceNow entity that you are mapping to. In our example it is an incident, but it can also be any other kind of ticket that ServiceNow supports.
- On the right side of the screen, underIncident, select the incident based on which you want to match.
- Change the mapping according to your needs.
- Save your changes.
- Create an incident in ServiceNow. For purposes of this use case, it can be a very simple incident.
- In Cortex XSOAR, the new ticket will be ingested in approximately one minute.
- Add a note to the incident. In the example below, we have writtenA comment from Cortex XSOAR to ServiceNow.
- Clickand add theActionsTagscommentstag.
- Add a file to the incident and mark it with theForServiceNowtag.
- Navigate back to the incident in ServiceNow and within approximately one minute, the changes will be reflected there, too.
You can make additional changes like closing the incident or changing severity and those will be reflected in both systems.The final source of truth for the incident for Cortex XSOAR are the values in Cortex XSOAR. Meaning, if you change the severity in Cortex XSOAR and then change it back in ServiceNow, the final value that will be presented is the one in Cortex XSOAR.
Recommended For You
Recommended Videos
Recommended videos not found.