Skip to main content

RepopulateFiles

This Script is part of the Common Scripts Pack.#

After running DeleteContext, this script can repopulate all the file entries in the ${File} context key

Script Data#


NameDescription
Script Typepython3
TagsUtility
Cortex XSOAR Version5.0.0

Inputs#


There are no inputs for this script.

Outputs#


PathDescriptionType
File.NameFilenameUnknown
File.TypeFile typeUnknown
File.SizeFile sizeUnknown
File.MD5MD5 hash of the fileUnknown
File.SHA1SHA1 hash of the fileUnknown
File.SHA256SHA256 hash of the fileUnknown
File.SHA512SHA512 hash of the fileUnknown
File.EntryIDEntryID of the fileUnknown
File.InfoFile informationUnknown
File.ExtensionFile extensionUnknown
File.SSDeepSSDeep hash of the fileUnknown
AttachmentFile.NameFilename of incident attachmentsUnknown
AttachmentFile.TypeFile type of incident attachmentsUnknown
AttachmentFile.SizeFile size of incident attachmentsUnknown
AttachmentFile.MD5MD5 hash of the file of incident attachmentsUnknown
AttachmentFile.SHA1SHA1 hash of the file of incident attachmentsUnknown
AttachmentFile.SHA256SHA256 hash of the file of incident attachmentsUnknown
AttachmentFile.SHA512SHA512 hash of the file of incident attachmentsUnknown
AttachmentFile.EntryIDEntryID of the file of incident attachmentsUnknown
AttachmentFile.InfoFile information of incident attachmentsUnknown
AttachmentFile.ExtensionFile extension of incident attachmentsUnknown
AttachmentFile.SSDeepSSDeep hash of the file of incident attachmentsUnknown
AttachmentFile.Attachment.descriptionFile description of incident attachmentsUnknown
AttachmentFile.Attachment.nameFile name of incident attachmentsUnknown
AttachmentFile.Attachment.pathFile path of incident attachmentsUnknown
AttachmentFile.Attachment.showMediaFileshowMediaFile of incident attachmentsUnknown
AttachmentFile.Attachment.typeFile content type of incident attachmentsUnknown