Skip to main content

Cortex XDR - Execute commands

This Playbook is part of the Cortex XDR by Palo Alto Networks Pack.#

Supported versions

Supported Cortex XSOAR versions: 5.5.0 and later.

Initiates a new script execution of shell commands.


This playbook uses the following sub-playbooks, integrations, and scripts.


  • Cortex XDR - Check Action Status


  • CortexXDRIR


This playbook does not use any scripts.


  • xdr-get-script-execution-results
  • xdr-run-script-execute-commands

Playbook Inputs#

NameDescriptionDefault ValueRequired
endpoint_idsA comma-separated list of endpoint IDs.Optional
commandsA comma-separated list of shell commands to execute.Optional
script_timeoutThe timeout in seconds for this execution.
(Default is: '600')
polling_timeoutAmount of time to poll action status before declaring a timeout and resuming the playbook (in minutes).10Optional

Playbook Outputs#

There are no outputs for this playbook.

Playbook Image#

Cortex XDR - Execute commands