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.


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


This playbook does not use any sub-playbooks.


This playbook does not use any integrations.


  • Set
  • UnzipFile


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#

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

Playbook Image#

Unzip File