Skip to main content

ReadFile

This Script is part of the Common Scripts Pack.#

Load the contents of a file into context.

Script Data#


NameDescription
Script Typepython2
TagsUtility, ingestion
Cortex XSOAR Version5.0.0

Used In#


This script is used in the following playbooks and scripts.

  • Integration Troubleshooting
  • Rapid IOC Hunting Playbook

Inputs#


Argument NameDescription
entryIDWar room entryID of the file to read.
maxFileSizeMaximal file size to load, in bytes. Default is 1MB.
encodingThe character encoding of the file

Outputs#


PathDescriptionType
FileDataData read from war room fileUnknown