Details
| ID | UnzipGZFile |
|---|---|
| Language | python |
| From Version | 6.5.0 |
| Docker Image | demisto/py3-tools:1.0.0.114656 |
| Tags | Utility file |
README
Unzip a gz file and upload to war room
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Utility, file |
Inputs
| Argument Name | Description |
|---|---|
| entryID | CSV list of entry ids for the gzipped files to unzip. |
Outputs
| Path | Description | Type |
|---|---|---|
| UnzipGZFile.UnzippedGZFiles | List of unzipped gz files | string |
| File.Name | The full file name (including file extension). | String |
| File.EntryID | The ID for locating the file in the War Room. | String |
| File.Size | The size of the file in bytes. | Number |
| File.MD5 | The MD5 hash of the file. | String |
| File.SHA1 | The SHA1 hash of the file. | String |
| File.SHA256 | The SHA1 hash of the file. | String |
| File.SHA512 | The SHA512 hash of the file. | String |
| File.SSDeep | The ssdeep hash of the file (same as displayed in file entries). | String |
| File.Extension | The file extension, for example: ‘xls’. | String |
| File.Type | The file type, as determined by libmagic (same as displayed in file entries). | String |
args: - description: CSV list of entry ids for the gzipped files to unzip. isArray: true name: entryID required: true comment: Unzip a gz file and upload to war room commonfields: id: UnzipGZFile version: -1 contentitemexportablefields: contentitemfields: fromServerVersion: '' dockerimage: demisto/py3-tools:1.0.0.114656 enabled: true name: UnzipGZFile outputs: - contextPath: UnzipGZFile.UnzippedGZFiles description: List of unzipped gz files type: string - contextPath: File.Name description: The full file name (including file extension). type: String - contextPath: File.EntryID description: The ID for locating the file in the War Room. type: String - contextPath: File.Size description: The size of the file in bytes. type: Number - contextPath: File.MD5 description: The MD5 hash of the file. type: String - contextPath: File.SHA1 description: The SHA1 hash of the file. type: String - contextPath: File.SHA256 description: The SHA1 hash of the file. type: String - contextPath: File.SHA512 description: The SHA512 hash of the file. type: String - contextPath: File.SSDeep description: The ssdeep hash of the file (same as displayed in file entries). type: String - contextPath: File.Extension description: 'The file extension, for example: ''xls''.' type: String - contextPath: File.Type description: The file type, as determined by libmagic (same as displayed in file entries). type: String runas: DBotWeakRole script: '' scripttarget: 0 subtype: python3 tags: - Utility - file type: python fromversion: 6.5.0 tests: - No tests (auto formatted)