Skip to main content

Unzip File

This Playbook is part of the Common Playbooks Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

This playbook checks whether a file has an extension that supports unzipping, and unzips the file.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

This playbook does not use any integrations.

Scripts#

  • Set
  • UnzipFile

Commands#

This playbook does not use any commands.

Playbook Inputs#


NameDescriptionDefault ValueRequired
FileA file object.FileOptional
PasswordThe password used to protect the zipped file. Required for unzipping password-protected files.Optional
ZipToolThe tool used to unzip the file. The options are: 7z, zipfile.7zOptional

Playbook Outputs#


PathDescriptionType
ExtractedFilesFiles that were unzipped.unknown
FileFile objects - includes the zipped file and any unzipped files.unknown

Playbook Image#


Unzip File