Cortex XDR - Execute snippet code script
Cortex XDR by Palo Alto Networks Pack.#
This Playbook is part of theSupported versions
Supported Cortex XSOAR versions: 5.5.0 and later.
Initiates a new endpoint script execution action using the provided snippet code and retrieve the file results.
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooksCortex XDR - Check Action Status
#
IntegrationsCortexXDRIR
#
ScriptsThis playbook does not use any scripts.
#
Commands- xdr-get-script-execution-results
- xdr-run-snippet-code-script
#
Playbook InputsName | Description | Default Value | Required |
---|---|---|---|
endpoint_id | A comma-separated list of endpoint IDs. | Optional | |
snippet_code | Section of a script you want to initiate on an endpoint (e.g., print("7")). | Optional |
#
Playbook OutputsPath | Description | Type |
---|---|---|
PaloAltoNetworksXDR.ScriptResult.results._return_value | Value returned by the script in case the type is not a dictionary. | unknown |