Cortex XDR - Run script
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.
- Pack
- CortexXDR
- Tasks
- 5
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