Cortex XDR - check file existence Deprecated

Deprecated. Use `xdr-file-exist-script-execute` command instead. Initiates a new endpoint script execution to check if the file exists and retrieve the results.

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

Inputs

  • endpoint_id — A comma-separated list of endpoint IDs.
  • file_path — A comma-separated list of file paths to check. Files will be checked on all provided endpoint ids.
  • 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-file-exists

Flowchart

Start Start Run script file exists - xdr-run-script-file-exists Run script file exists xdr-run-script-file-exists 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