Skip to main content

ServiceNow Event Collector

This Integration is part of the ServiceNow Pack.#

Supported versions

Supported Cortex XSOAR versions: 8.4.0 and later.

Use this integration to fetch audit logs from ServiceNow as Cortex XSIAM events. This integration was integrated and tested with Vancouver version of ServiceNow API.

Configure ServiceNow Event Collector on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for ServiceNow Event Collector.

  3. Click Add instance to create and configure a new integration instance.

    ParameterDescriptionRequired
    ServiceNow URLServiceNow URL in the format https://company.service-now.com/True
    UsernameTrue
    PasswordTrue
    Client IDFalse
    Client SecretFalse
    ServiceNow API Version (e.g. 'v1')False
    Use OAuth LoginSelect this checkbox to use OAuth 2.0 authentication. See (?) for more information.False
    Maximum number of events per fetchDefault value is 1000False
    Events Fetch IntervalFalse
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSIAM CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

service-now-get-audit-logs#


Returns audit logs events extracted from ServiceNow. This command is used for developing/debugging and is to be used with caution, as it can create events, leading to event duplication and exceeding the API request limitation.

Base Command#

service-now-get-audit-logs

Input#

Argument NameDescriptionRequired
should_push_eventsSet this argument to True in order to create events, otherwise the command will only display them. Possible values are: True, False. Default is False.Required
limitThe maximum number of events to return. Default is 1000.Optional
from_dateThe date and time of the earliest event. The time format is "{yyyy}-{mm}-{dd} {hh}:{mm}:{ss}". Example: "2021-05-18 13:45:14" indicates May 18, 2021, 1:45PM.Optional
offsetStarting record index from which to begin retrieving records.Optional

Context Output#

There is no context output for this command.

Human Readable#

Audit Logs List:#

TimeDocumentkeyFieldnameNewvalueRecord CheckpointSys Created OnSys IdTablename
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433test_table
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433test_table
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433test_table
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433test_table