ZipFile

Zip a file and upload to war room

Supported Cortex XSOAR versions: 5.0.0 and later.

Script Data#


NameDescription
Script Typepython3
TagsUtility, file
Demisto Version5.0.0

Inputs#


Argument NameDescription
entryIDCSV list of entry ids for the files to zip.
zipNameName of the output file, for example: zipName="test" would result in output file "test.zip"
passwordUsed to create a password protected zip file. Example: password="abcd"

Outputs#


PathDescriptionType
ZipFile.ZippedFileThe zipped filestring
File.NameThe full file name (including file extension).String
File.EntryIDThe ID for locating the file in the War Room.String
File.SizeThe size of the file in bytes.Number
File.MD5The MD5 hash of the file.String
File.SHA1The SHA1 hash of the file.String
File.SHA256The SHA1 hash of the file.String
File.SHA512The SHA512 hash of the file.String
File.SSDeepThe ssdeep hash of the file (same as displayed in file entries).String
File.ExtensionThe file extension, for example: 'xls'.String
File.TypeThe file type, as determined by libmagic (same as displayed in file entries).String