Skip to content

Commit

Permalink
Revert ZipFile image (demisto#33825)
Browse files Browse the repository at this point in the history
* revert docker image and added the TPB to the yml

* updated release notes

* pre-commit fixes

* updated release notes
  • Loading branch information
AradCarmi authored and pal-xmco committed Jun 19, 2024
1 parent d7e14c9 commit 9f694ea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_14_28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Scripts

##### ZipFile

- Downgraded the docker image to *demisto/py3-tools:1.0.0.49703* to address script malfunction when running on latest docker image.
2 changes: 1 addition & 1 deletion Packs/CommonScripts/Scripts/ZipFile/ZipFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main():
raise DemistoException('You must set an entryID when using the zip script')

entry_ids = argToList(fileEntryID)
file_names = list()
file_names = []
for entry_id in entry_ids:
res = demisto.executeCommand('getFilePath', {'id': entry_id})

Expand Down
6 changes: 4 additions & 2 deletions Packs/CommonScripts/Scripts/ZipFile/ZipFile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ enabled: true
name: ZipFile
outputs:
- contextPath: ZipFile.ZippedFile
description: The zipped file
description: The zipped file.
type: string
- contextPath: File.Name
description: The full file name (including file extension).
Expand Down Expand Up @@ -54,5 +54,7 @@ tags:
timeout: '0'
type: python
subtype: python3
dockerimage: demisto/py3-tools:1.0.0.91504
dockerimage: demisto/py3-tools:1.0.0.49703
fromversion: 5.0.0
tests:
- ZipFile-Test
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.14.27",
"currentVersion": "1.14.28",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 9f694ea

Please sign in to comment.