Cortex XDR - Retrieve File v2
Cortex XDR by Palo Alto Networks Pack.#
This Playbook is part of theSupported versions
Supported Cortex XSOAR versions: 6.10.0 and later.
This playbook retrieves files from selected endpoints. You can retrieve up to 20 files, from 10 endpoints. Inputs for this playbook are:
- A comma-separated list of endpoint IDs.
- A comma-separated list of file paths for your operating system, either Windows, Linux, or Mac. At least one file path is required.
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooksThis playbook does not use any sub-playbooks.
#
Integrations- CortexXDRIR
#
Scripts- PrintErrorEntry
- IsIntegrationAvailable
#
Commands- xdr-file-retrieve
- xdr-retrieve-file-details
#
Playbook InputsName | Description | Default Value | Required |
---|---|---|---|
endpoint_ids | A comma-separated list of endpoint IDs. | Optional | |
file_path | A comma-separated list of file paths in any platform. It can be used instead of the macOS/Windows/Linux file paths. The order of the files path list must be parallel to the endpoints list order. Therefore, the first file path in the list is related to the first endpoint ID and so on. | Optional | |
windows_file_paths | A comma-separated list of Windows paths. Enter at least one path for either Windows, Linux, or Mac. | Optional | |
linux_file_paths | A comma-separated list Linux paths. Enter at least one path for either Windows, Linux, or Mac. | Optional | |
mac_file_paths | A comma-separated list of Mac paths. Enter at least one path for either Windows, Linux, or Mac. | Optional |
#
Playbook OutputsPath | Description | Type |
---|---|---|
File | Retrieve the file details command results. | unknown |
File.Name | The full file name (including the file extension). | String |
File.EntryID | The ID for locating the file in the War Room. | String |
File.Size | The size of the file in bytes. | Number |
File.MD5 | The MD5 hash of the file. | String |
File.SHA1 | The SHA1 hash of the file. | String |
File.SHA256 | The SHA256 hash of the file. | String |
File.SHA512 | The SHA512 hash of the file. | String |
File.Extension | The file extension. For example, 'xls'. | String |
File.Type | The file type, as determined by libmagic (same as displayed in the file entries). | String |