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 and syslog transactions logs from ServiceNow as Cortex XSIAM events. This integration was integrated and tested with Vancouver version of ServiceNow API.

Configure ServiceNow Event Collector in Cortex#

ParameterDescriptionRequired
ServiceNow 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.False
Event Types To FetchEvent types to fetch. Defaults to 'Audit' if no type is specified.False
Maximum audit events to fetchMaximum number of audit events per fetch.False
Maximum syslog transactions events to fetchMaximum number of syslog transactions events per fetch.False
Events Fetch IntervalFalse
Trust any certificate (not secure)False
Use system proxy settingsFalse

Commands#

You can execute these commands from the 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 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
limitMaximum audit events to fetch. 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 Events#

_timedocumentkeyfieldnamenewvaluerecord_checkpointsys_created_onsys_idtablename
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433audit
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433audit
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433audit
2024-01-28T13:21:43Z3DELETEDDELETED-12024-01-28 13:21:433audit

service-now-get-syslog-transactions#


Returns syslog transactions 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-syslog-transactions

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
max_fetch_syslog_transactionsMaximum syslog transactions events to fetch. 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#

Syslog Transactions Events#

_timeacl_timebusiness_rule_countclient_transactioncpu_timesys_created_onsys_idsource_log_type
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