Skip to main content

Xsoar_Utils

This Integration is part of the Xsoar_Utils Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

This is a wrapper on top of XSOAR API. Can be used to implement commands that call the XSOAR API in the background. This is mostly to avoid constructing raw json strings while calling the xsoar rest api integration.

The first implemented command can be used to create an entry on any investigation; playground by default. An example use-case could be debugging a pre-process script. (Call .execute_command("xsoar-create-entry",{arguments})

The idea is to use the same code to test from a local machine. python3 Xsoar_Utils.py xsoar-create-entry '{"data":"# testapi4","inv_id":"122c7bff-feae-4177-867e-37e2096cd7d9"}'

Read the code to understand more.

Configure Xsoar_Utils in Cortex#

ParameterDescriptionRequired
XSOAR Server URLTrue
XSOAR Server API_KeyTrue
XSOAR Server playground-idTrue
Allow Insecure connections to the serverCheck this to ignore certificate signatureFalse

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.

xsoar-create-entry#


Creates an entry into an investigation warroom or by default on the playground.

Base Command#

xsoar-create-entry

Input#

Argument NameDescriptionRequired
dataEntry value to be created.Optional
inv_idThe investigation id on which the entry is created. Defaults to playbook-id.Optional

Context Output#

There is no context output for this command.

Command Example#

Human Readable Output#