Cortex XDR - Run script Deprecated

Deprecated. Use the `xdr-script-run` command instead. Initiates a new endpoint script execution action using a provided script unique id from Cortex XDR script library.

Cortex XDR by Palo Alto Networks · 5 tasks · 5 inputs · 1 output

Inputs

  • endpoint_ids — A comma-separated list of endpoint IDs.
  • script_uid — Unique identifier of the script. Can be retrieved by running the xdr-get-scripts command.
  • parameters — Dictionary contains the parameter name as key and its value for this execution as the value. For example, {"param1":"param1_value","param2":"param2_value"}. The required parameters for each script can be retrieved by running xdr-get-script-metadata with the script uid.
  • script_timeout — The timeout in seconds for this execution. (Default is: '600')
  • polling_timeout — Amount of time to poll action status before declaring a timeout and resuming the playbook (in minutes).

Outputs

  • PaloAltoNetworksXDR.ScriptResult.results._return_value — Value returned by the script in case the type is not a dictionary.

Commands used

xdr-get-script-execution-results xdr-run-script

Flowchart

Start Start Execute Cortex XDR Script - xdr-run-script Execute Cortex XDR Script xdr-run-script Cortex XDR - Check Action Status - Cortex XDR - Check Action Status Cortex XDR - Check Action... Cortex XDR - Check Action Status Get script execution results - xdr-get-script-execution-results Get script execution results xdr-get-script-execution-results Done Done