Skip to main content
Version: 2.14.1

ServiceNow Security Operations Incident Integration with Zero Trust Alerts

Free integration setupWe’ll install and validate this for you.
Book a setup call

Support Statement

DISCLAIMER

This documentation is provided "as is" without support for 3rd party software. The level of support for this integration guide is best effort without any SLA on response time. No 3rd party product support can be provided by Superna directly. 3rd party components require support contracts. See EULA for more details.


Overview

This solution creates security incidents in the Security Operations module within ServiceNow for customers that have this module installed and perform incident response from this module.

Supported Products

  • Data Security Edition
  • Data Security Edition Essentials

Architecture Overview

ServiceNow Security Operations integration architecture

How to Configure

This integration shows how to configure Security Edition webhook alarms to create a security incident in ServiceNow with the alert details in the description.

note

This is a basic example only and requires customization to map fields in the webhook payload to specific ServiceNow fields.

Using the guide on how to integrate webhooks into ServiceNow, create a ServiceNow Scripted REST Resource Webhook.

Integration Script

Features

  • Creates new security incidents in the Security Operations workspace for each incoming alert
  • Supports Airgap Alarm webhook processing
  • Updates existing security incidents when event IDs match — documents state changes in working notes showing the history and state changes of the event
  • Monitor mode — creates closed incidents for testing without generating open tickets
  • CMDB features:
    • Creates a new user object if needed and associates the affected user to the SIR
    • Creates a new computer CI class with the client IP address populated
    • The integration code only creates a CI if a CI with the affected client IP is not already found
    • Associates the user and host to the security incident, enabling integration with other tools that use the client IP or username fields

Download the code for Security Operations Integration here. Open the file and copy and paste the script text into the endpoint script editor.

Steps to Integrate the Endpoint with Security Edition Integration Code

  1. Paste the script into the resource script editor and save.

  2. Disable security on the endpoint for the testing phase.

  3. Get the endpoint URL for the webhook in Security Edition — the resource format is:

    https://yourInstance.service-now.com/<resource_Path>

    The resource path is displayed in the script editor after saving.

  4. Configure the webhook in the Security Edition Zero Trust UI:

    • Non-authenticated endpoint: Add the HTTP header Content-Type: application/json

    • Airgap support (optional): Open Eyeglass Main menuNotification centerWebhooks and use the same endpoint URL and headers

    • Authenticated endpoint: Create a ServiceNow service account, assign the rest_service role, and generate a base64-encoded token:

      echo -n "username:password" | base64

      Add the HTTP header Authorization: Basic <encoded_token> to the webhook configuration.

  5. Click Save, then click the Test button. A successfully configured endpoint returns an incident number in the response.

How to Test the Integration

  1. Download the curl command sample and edit the URL to match your ServiceNow instance DNS name and resource path.
  2. Run the curl command to send a webhook payload lockout critical event to the endpoint.
  3. Check the Security Operations dashboard for a new security incident.

Sample Security Incident

Once configured, security incidents appear in the ServiceNow Security Operations dashboard with the Zero Trust event details. Example screenshots are available in the legacy portal.

Configure Data Security Essentials (DSE)

Overview

Data Security Essentials saves alerts to the Windows Event log under a custom application log. This integration extracts the log entries and the JSON payload within them, formats the data as webhook events, and sends them to the ServiceNow Scripted Endpoint.

Requirements

  1. Follow the ServiceNow integration steps above to configure the Scripted REST API endpoint.

  2. Install Python for Windows on the Data Security Essentials host.

    note

    Ensure Python is installed for all users — enable the for all users option during installation.

  3. The integration code matches event log entries from the following sources:

    • Superna Data Security Essentials BOT Service
    • Superna Data Security Policy Engine

Features

  • Execution logs are stored alongside the Python code
  • Each execution stores the event log record ID, date time, and event number of the last processed event in last_processed_record.txt — read on each execution to continue from the last record
  • The scheduled sync runs every minute and processes only events since the last record
  • Only Warning level and above events are processed — informational events are ignored
  • The ServiceNow Scripted endpoint code updates SIR incidents when the event ID matches an existing incident

Steps to Configure Event Sync to ServiceNow Security Incident Response Module

  1. Download the integration code (right-click, save as).

  2. Open the file and locate the # Your ServiceNow webhook details section. Edit the URL to match your ServiceNow instance URL and the Scripted Webhook URL created above.

  3. Copy the Python code to C:\Program Files\Superna\cgi-bin on the Data Security Essentials host and name the file dse-servicenow-sir-integration.py.

  4. Install Python dependencies:

    note

    Open a command prompt as the service account (hold down Shift and right-click the command prompt icon → Run as). This is required to install the Python packages under the correct user account.

    pip install pywin32 requests
  5. Test the script from a command prompt:

    cd "C:\Program Files\Superna\cgi-bin"
    python dse-servicenow-sir-integration.py

    The output should display event log entries that match, ignoring Informational level events, and show the data sent to the ServiceNow endpoint.

  6. Grant the Data Security Essentials AD service account the Log on as a batch job right via Local Security Policy (secpol.msc).

  7. Download the Task Scheduler XML file (right-click, save as).

  8. Open Task Scheduler (taskschd.msc), right-click Task Scheduler Library, and select Import Task.

  9. In the task definition, update the service account name, domain, and password. All other settings are pre-configured. Click OK to save.