GZipFile

GZip a file and upload to war room

python · GZip

Details

IDGZipFile
Languagepython
From Version6.5.0
Docker Imagedemisto/py3-tools:1.0.0.114656
TagsUtility file

README

GZip a 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 files to gzip.

Outputs


Path Description Type
GZip.GZippedFiles List of gzipped 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 files to gzip.
  isArray: true
  name: entryID
  required: true
comment: GZip a file and upload to war room
commonfields:
  id: GZipFile
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ''
dockerimage: demisto/py3-tools:1.0.0.114656
enabled: true
name: GZipFile
outputs:
- contextPath: GZip.GZippedFiles
  description: List of gzipped 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)