Skip to main content

ExecuteCommandAt

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

A wrapper script for the executeCommandAt command to be used in playbooks or the war-room

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.0.0

Inputs#


Argument NameDescription
incident_idsThe incident ids to run the command on. Can be passed in as CSV format for multiple.
commandThe command name to run
argumentsThe arguments to pass into the command. The format should be like: {"argument_name": "argument_value"}

Outputs#


There are no outputs for this script.

Usage Notes#


Executing commands on another incident#

// single incident example:
!ExecuteCommandAt command="Print" incident_ids="<incident_id>" arguments=`{"value":"hello world"}`
// multiple incident example:
!ExecuteCommandAt command="Print" incident_ids="<incident_id>,<incident_id>" arguments=`{"value":"hello world"}`