args: - default: true description: War Room entryID of the file to read. name: entryID required: true - description: Maximal file size to load, in bytes. Default is 1MB. name: maxFileSize - auto: PREDEFINED description: The character encoding of the file. name: input_encoding predefined: - binary - utf-8 - utf-16 - ascii - gbk - name: output_data_type auto: PREDEFINED predefined: - raw - base64 - json description: The data type to which the output data is converted. defaultValue: raw - name: output_metadata auto: PREDEFINED predefined: - "true" - "false" description: Set true in order to output additional metadata on the file, to context. defaultValue: "false" comment: Load the contents of a file into context. commonfields: id: ReadFile version: -1 enabled: true name: ReadFile outputs: - contextPath: FileData description: Data read from the War Room file. type: Unknown - contextPath: ReadFile.Data description: Data read from the War Room file. type: Unknown - contextPath: ReadFile.EntryID description: File entry ID. type: string - contextPath: ReadFile.FileSize description: File size. type: number - contextPath: ReadFile.EOF description: Whether the file has reached end-of-file. type: boolean script: '' tags: - Utility - ingestion timeout: '0' type: python subtype: python3 runas: DBotWeakRole fromversion: 5.0.0 dockerimage: demisto/python3:3.12.13.10404775 tests: - No tests (auto formatted)