Cortex XDR - Execute snippet code script Deprecated
Deprecated. Use the `xdr-snippet-code-script-execute` command instead. Initiates a new endpoint script execution action using the provided snippet code and retrieves the file results.
Cortex XDR by Palo Alto Networks · 5 tasks · 2 inputs · 1 output
Inputs
endpoint_id— A comma-separated list of endpoint IDs.snippet_code— Section of a script you want to initiate on an endpoint (e.g., print("7")).
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-snippet-code-script