From 8d1dce9369d9e21423249298fc344d05c824b618 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 16:06:10 +0300 Subject: [PATCH 01/22] Update Docker Image --- Packs/CommonScripts/ReleaseNotes/1_12_35.md | 6 ++++++ .../Scripts/PreProcessImage/PreProcessImage.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_35.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_35.md b/Packs/CommonScripts/ReleaseNotes/1_12_35.md new file mode 100644 index 000000000000..0eca90d33a34 --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_12_35.md @@ -0,0 +1,6 @@ + +#### Scripts + +##### PreProcessImage + +- Updated the Docker image to: *demisto/processing-image-file:1.0.0.77547*. diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml index e154bc182aee..cc62a463244c 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml @@ -31,7 +31,7 @@ script: '-' subtype: python3 timeout: 480ns type: python -dockerimage: demisto/processing-image-file:1.0.0.66515 +dockerimage: demisto/processing-image-file:1.0.0.77547 tests: - No tests (auto formatted) fromversion: 6.9.0 From 39550bab1d1e40beef4101f20b9993c903bc3e47 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 16:08:41 +0300 Subject: [PATCH 02/22] Version --- Packs/CommonScripts/pack_metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 7c54d0b8595d..48cecf3be554 100644 --- a/Packs/CommonScripts/pack_metadata.json +++ b/Packs/CommonScripts/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Scripts", "description": "Frequently used scripts pack.", "support": "xsoar", - "currentVersion": "1.12.34", + "currentVersion": "1.12.35", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From f6ea8a1a0094c31e89770a7b1834960f6c31738c Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 16:18:28 +0300 Subject: [PATCH 03/22] mlurlphishing --- Packs/CommonScripts/ReleaseNotes/1_12_36.md | 9 +++++++++ .../DBotUpdateLogoURLPhishing.yml | 2 +- Packs/CommonScripts/pack_metadata.json | 2 +- Packs/PhishingURL/ReleaseNotes/1_1_5.md | 5 +++++ .../DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 2 +- Packs/PhishingURL/pack_metadata.json | 2 +- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_36.md create mode 100644 Packs/PhishingURL/ReleaseNotes/1_1_5.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_36.md b/Packs/CommonScripts/ReleaseNotes/1_12_36.md new file mode 100644 index 000000000000..1fbbd766ea7b --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_12_36.md @@ -0,0 +1,9 @@ + +#### Scripts + +##### DBotUpdateLogoURLPhishing + +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. +##### DBotPredictURLPhishing + +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. diff --git a/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml b/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml index 77c31e08cee9..e34d69bab139 100644 --- a/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml +++ b/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml @@ -27,7 +27,7 @@ tags: - ml timeout: '0' type: python -dockerimage: demisto/mlurlphishing:1.0.0.61412 +dockerimage: demisto/mlurlphishing:1.0.0.77343 runas: DBotRole tests: - DBotUpdateLogoURLPhishing_test diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 48cecf3be554..9e8d32f42675 100644 --- a/Packs/CommonScripts/pack_metadata.json +++ b/Packs/CommonScripts/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Scripts", "description": "Frequently used scripts pack.", "support": "xsoar", - "currentVersion": "1.12.35", + "currentVersion": "1.12.36", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", diff --git a/Packs/PhishingURL/ReleaseNotes/1_1_5.md b/Packs/PhishingURL/ReleaseNotes/1_1_5.md new file mode 100644 index 000000000000..b350bb73fc24 --- /dev/null +++ b/Packs/PhishingURL/ReleaseNotes/1_1_5.md @@ -0,0 +1,5 @@ + +#### Scripts + +##### DBotPredictURLPhishing +- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.77343*. diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index 8d24f3b4a85d..beb27f02ff87 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -85,7 +85,7 @@ tags: - ml timeout: 480ns type: python -dockerimage: demisto/mlurlphishing:1.0.0.28347 +dockerimage: demisto/mlurlphishing:1.0.0.77343 runas: DBotRole tests: - DBotPredictURLPhishing_test diff --git a/Packs/PhishingURL/pack_metadata.json b/Packs/PhishingURL/pack_metadata.json index 62089168c18d..bca38b93c554 100644 --- a/Packs/PhishingURL/pack_metadata.json +++ b/Packs/PhishingURL/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Phishing URL", "description": "Phishing URL is a project with the goal of detecting phishing URLs using machine learning", "support": "xsoar", - "currentVersion": "1.1.4", + "currentVersion": "1.1.5", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From b32f025b7c6ee4378a3d2096e34ad91af0bb22b3 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 16:21:35 +0300 Subject: [PATCH 04/22] tesseract --- Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml | 2 +- Packs/ImageOCR/ReleaseNotes/1_1_20.md | 3 +++ Packs/ImageOCR/pack_metadata.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Packs/ImageOCR/ReleaseNotes/1_1_20.md diff --git a/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml b/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml index 8392173df656..24a76357eb92 100644 --- a/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml +++ b/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml @@ -34,7 +34,7 @@ script: - contextPath: File.Text description: Extracted text from the passed image file. type: String - dockerimage: demisto/tesseract:1.0.0.62842 + dockerimage: demisto/tesseract:1.0.0.77364 runonce: false script: '-' type: python diff --git a/Packs/ImageOCR/ReleaseNotes/1_1_20.md b/Packs/ImageOCR/ReleaseNotes/1_1_20.md new file mode 100644 index 000000000000..096b0dc7aa90 --- /dev/null +++ b/Packs/ImageOCR/ReleaseNotes/1_1_20.md @@ -0,0 +1,3 @@ +#### Integrations +##### Image OCR +- Updated the Docker image to: *demisto/tesseract:1.0.0.77364*. diff --git a/Packs/ImageOCR/pack_metadata.json b/Packs/ImageOCR/pack_metadata.json index 6cb83b2107fa..8c0bd854ac92 100644 --- a/Packs/ImageOCR/pack_metadata.json +++ b/Packs/ImageOCR/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Image OCR", "description": "Extracts text from images.", "support": "xsoar", - "currentVersion": "1.1.19", + "currentVersion": "1.1.20", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From d14937a9c9c7fe4392091233124ece32dc8965ae Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 16:49:30 +0300 Subject: [PATCH 05/22] rn --- Packs/CommonScripts/ReleaseNotes/1_12_35.md | 6 ++++++ Packs/CommonScripts/ReleaseNotes/1_12_36.md | 9 --------- Packs/CommonScripts/pack_metadata.json | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_36.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_35.md b/Packs/CommonScripts/ReleaseNotes/1_12_35.md index 0eca90d33a34..6a5e87433547 100644 --- a/Packs/CommonScripts/ReleaseNotes/1_12_35.md +++ b/Packs/CommonScripts/ReleaseNotes/1_12_35.md @@ -4,3 +4,9 @@ ##### PreProcessImage - Updated the Docker image to: *demisto/processing-image-file:1.0.0.77547*. +##### DBotUpdateLogoURLPhishing + +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. +##### DBotPredictURLPhishing + +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_36.md b/Packs/CommonScripts/ReleaseNotes/1_12_36.md deleted file mode 100644 index 1fbbd766ea7b..000000000000 --- a/Packs/CommonScripts/ReleaseNotes/1_12_36.md +++ /dev/null @@ -1,9 +0,0 @@ - -#### Scripts - -##### DBotUpdateLogoURLPhishing - -- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. -##### DBotPredictURLPhishing - -- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 9e8d32f42675..48cecf3be554 100644 --- a/Packs/CommonScripts/pack_metadata.json +++ b/Packs/CommonScripts/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Scripts", "description": "Frequently used scripts pack.", "support": "xsoar", - "currentVersion": "1.12.36", + "currentVersion": "1.12.35", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From 47eae4ad671ca5a8a907a946a97b4329f811200b Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 16:51:27 +0300 Subject: [PATCH 06/22] period --- .../CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml | 4 ++-- .../Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml index cc62a463244c..9977a2574d82 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml @@ -7,9 +7,9 @@ args: - grayscale - sharpened - original -- description: 'The desired width for resizing the image to. For example: image_resize_width=500' +- description: 'The desired width for resizing the image to. For example: image_resize_width=500'. name: image_resize_width -- description: 'The desired height for resizing the image to. For example: image_resize_height=1000' +- description: 'The desired height for resizing the image to. For example: image_resize_height=1000'. name: image_resize_height - description: The entryID of the file to process. name: file_entry_id diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index beb27f02ff87..972ffeadc074 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -77,7 +77,7 @@ outputs: description: Whether the domain belongs to the top Majestic domain list. If it does, we will always consider this domain as benign. type: String - contextPath: DBotScore.Score - description: Severity score + description: Severity score. type: Number script: '-' subtype: python3 From 17e0460be02570a73f5255ba68d2096553c10450 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 17:02:50 +0300 Subject: [PATCH 07/22] yml --- .../CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml index 9977a2574d82..cc62a463244c 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml @@ -7,9 +7,9 @@ args: - grayscale - sharpened - original -- description: 'The desired width for resizing the image to. For example: image_resize_width=500'. +- description: 'The desired width for resizing the image to. For example: image_resize_width=500' name: image_resize_width -- description: 'The desired height for resizing the image to. For example: image_resize_height=1000'. +- description: 'The desired height for resizing the image to. For example: image_resize_height=1000' name: image_resize_height - description: The entryID of the file to process. name: file_entry_id From 7761bf686df442cd005cc19e8a074f6b27cdfc5a Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 17 Oct 2023 17:17:37 +0300 Subject: [PATCH 08/22] rn --- Packs/CommonScripts/ReleaseNotes/1_12_35.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_35.md b/Packs/CommonScripts/ReleaseNotes/1_12_35.md index 6a5e87433547..70ce6168898d 100644 --- a/Packs/CommonScripts/ReleaseNotes/1_12_35.md +++ b/Packs/CommonScripts/ReleaseNotes/1_12_35.md @@ -7,6 +7,3 @@ ##### DBotUpdateLogoURLPhishing - Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. -##### DBotPredictURLPhishing - -- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. From 0453a16c65c036455e816acf13281ab46e89cd47 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Wed, 18 Oct 2023 09:31:21 +0300 Subject: [PATCH 09/22] ANTIALIAS -> LANCZOS --- Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py index 3025f8c14ed9..bdf6fd48f87d 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py @@ -84,7 +84,7 @@ def action_wrap(args: dict) -> dict: raise DemistoException('not a valid action') final_image = Image.fromarray(image) if img_sizes: - final_image = final_image.resize(img_sizes, Image.ANTIALIAS) + final_image = final_image.resize(img_sizes, Image.LANCZOS) final_image.save(stream_buffer, format='png') stream_buffer.seek(0) return fileResult(f'{action}_{name}.png', stream_buffer.read()) From 8a791a748d3dd3e0c16faf4a4c05f0c0d196eb21 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Wed, 18 Oct 2023 10:14:40 +0300 Subject: [PATCH 10/22] Updated Docker images --- Packs/CommonScripts/ReleaseNotes/1_12_35.md | 2 +- .../DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml | 2 +- Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml | 2 +- Packs/ImageOCR/ReleaseNotes/1_1_20.md | 2 +- Packs/PhishingURL/ReleaseNotes/1_1_5.md | 2 +- .../Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_35.md b/Packs/CommonScripts/ReleaseNotes/1_12_35.md index 70ce6168898d..b64c40a4da60 100644 --- a/Packs/CommonScripts/ReleaseNotes/1_12_35.md +++ b/Packs/CommonScripts/ReleaseNotes/1_12_35.md @@ -6,4 +6,4 @@ - Updated the Docker image to: *demisto/processing-image-file:1.0.0.77547*. ##### DBotUpdateLogoURLPhishing -- Updated the Docker image to *demisto/mlurlphishing:1.0.0.77343*. +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.78140*. diff --git a/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml b/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml index e34d69bab139..f56b889525a7 100644 --- a/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml +++ b/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml @@ -27,7 +27,7 @@ tags: - ml timeout: '0' type: python -dockerimage: demisto/mlurlphishing:1.0.0.77343 +dockerimage: demisto/mlurlphishing:1.0.0.78140 runas: DBotRole tests: - DBotUpdateLogoURLPhishing_test diff --git a/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml b/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml index 24a76357eb92..26e4d983a442 100644 --- a/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml +++ b/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml @@ -34,7 +34,7 @@ script: - contextPath: File.Text description: Extracted text from the passed image file. type: String - dockerimage: demisto/tesseract:1.0.0.77364 + dockerimage: demisto/tesseract:1.0.0.78209 runonce: false script: '-' type: python diff --git a/Packs/ImageOCR/ReleaseNotes/1_1_20.md b/Packs/ImageOCR/ReleaseNotes/1_1_20.md index 096b0dc7aa90..e2f1929e2656 100644 --- a/Packs/ImageOCR/ReleaseNotes/1_1_20.md +++ b/Packs/ImageOCR/ReleaseNotes/1_1_20.md @@ -1,3 +1,3 @@ #### Integrations ##### Image OCR -- Updated the Docker image to: *demisto/tesseract:1.0.0.77364*. +- Updated the Docker image to: *demisto/tesseract:1.0.0.78209*. diff --git a/Packs/PhishingURL/ReleaseNotes/1_1_5.md b/Packs/PhishingURL/ReleaseNotes/1_1_5.md index b350bb73fc24..448dbb2646f3 100644 --- a/Packs/PhishingURL/ReleaseNotes/1_1_5.md +++ b/Packs/PhishingURL/ReleaseNotes/1_1_5.md @@ -2,4 +2,4 @@ #### Scripts ##### DBotPredictURLPhishing -- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.77343*. +- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.78140*. diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index 972ffeadc074..9a1c5054794b 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -85,7 +85,7 @@ tags: - ml timeout: 480ns type: python -dockerimage: demisto/mlurlphishing:1.0.0.77343 +dockerimage: demisto/mlurlphishing:1.0.0.78140 runas: DBotRole tests: - DBotPredictURLPhishing_test From ecaa40c34e4e71bf49bd2588c36e69aee1985009 Mon Sep 17 00:00:00 2001 From: Content Bot Date: Sun, 22 Oct 2023 08:03:42 +0000 Subject: [PATCH 11/22] Bump pack from version CommonScripts to 1.12.37. --- Packs/CommonScripts/ReleaseNotes/1_12_37.md | 9 +++++++++ Packs/CommonScripts/pack_metadata.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_37.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_37.md b/Packs/CommonScripts/ReleaseNotes/1_12_37.md new file mode 100644 index 000000000000..b64c40a4da60 --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_12_37.md @@ -0,0 +1,9 @@ + +#### Scripts + +##### PreProcessImage + +- Updated the Docker image to: *demisto/processing-image-file:1.0.0.77547*. +##### DBotUpdateLogoURLPhishing + +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.78140*. diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 9e8d32f42675..12592c8aabe5 100644 --- a/Packs/CommonScripts/pack_metadata.json +++ b/Packs/CommonScripts/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Scripts", "description": "Frequently used scripts pack.", "support": "xsoar", - "currentVersion": "1.12.36", + "currentVersion": "1.12.37", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From 5e14f47edefe0e3b2733c15c4c7657d834d762fd Mon Sep 17 00:00:00 2001 From: tkatzir Date: Sun, 22 Oct 2023 12:30:25 +0300 Subject: [PATCH 12/22] Docker image version --- .../Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index 9a1c5054794b..92f9cb79608a 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -85,7 +85,7 @@ tags: - ml timeout: 480ns type: python -dockerimage: demisto/mlurlphishing:1.0.0.78140 +dockerimage: demisto/mlurlphishing:1.0.0.61412 runas: DBotRole tests: - DBotPredictURLPhishing_test From be1be5b17eeba9043b43796982ad4fe839db992f Mon Sep 17 00:00:00 2001 From: Content Bot Date: Sun, 22 Oct 2023 12:05:49 +0000 Subject: [PATCH 13/22] Bump pack from version CommonScripts to 1.12.38. --- Packs/CommonScripts/ReleaseNotes/1_12_38.md | 9 +++++++++ Packs/CommonScripts/pack_metadata.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Packs/CommonScripts/ReleaseNotes/1_12_38.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_38.md b/Packs/CommonScripts/ReleaseNotes/1_12_38.md new file mode 100644 index 000000000000..b64c40a4da60 --- /dev/null +++ b/Packs/CommonScripts/ReleaseNotes/1_12_38.md @@ -0,0 +1,9 @@ + +#### Scripts + +##### PreProcessImage + +- Updated the Docker image to: *demisto/processing-image-file:1.0.0.77547*. +##### DBotUpdateLogoURLPhishing + +- Updated the Docker image to *demisto/mlurlphishing:1.0.0.78140*. diff --git a/Packs/CommonScripts/pack_metadata.json b/Packs/CommonScripts/pack_metadata.json index 12592c8aabe5..f3be9fee6f9f 100644 --- a/Packs/CommonScripts/pack_metadata.json +++ b/Packs/CommonScripts/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Common Scripts", "description": "Frequently used scripts pack.", "support": "xsoar", - "currentVersion": "1.12.37", + "currentVersion": "1.12.38", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From 33115a04cb1f4549914c14713ab7df7abde18c5d Mon Sep 17 00:00:00 2001 From: tkatzir Date: Mon, 23 Oct 2023 18:07:28 +0300 Subject: [PATCH 14/22] Docker images --- Packs/CommonScripts/ReleaseNotes/1_12_38.md | 5 +---- .../Scripts/PreProcessImage/PreProcessImage.yml | 2 +- Packs/PhishingURL/ReleaseNotes/1_1_5.md | 5 ----- Packs/PhishingURL/pack_metadata.json | 2 +- 4 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 Packs/PhishingURL/ReleaseNotes/1_1_5.md diff --git a/Packs/CommonScripts/ReleaseNotes/1_12_38.md b/Packs/CommonScripts/ReleaseNotes/1_12_38.md index b64c40a4da60..b272dd4969e1 100644 --- a/Packs/CommonScripts/ReleaseNotes/1_12_38.md +++ b/Packs/CommonScripts/ReleaseNotes/1_12_38.md @@ -3,7 +3,4 @@ ##### PreProcessImage -- Updated the Docker image to: *demisto/processing-image-file:1.0.0.77547*. -##### DBotUpdateLogoURLPhishing - -- Updated the Docker image to *demisto/mlurlphishing:1.0.0.78140*. +- Updated the Docker image to: *demisto/processing-image-file:1.0.0.78798*. diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml index cc62a463244c..3cefbd083f8a 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.yml @@ -31,7 +31,7 @@ script: '-' subtype: python3 timeout: 480ns type: python -dockerimage: demisto/processing-image-file:1.0.0.77547 +dockerimage: demisto/processing-image-file:1.0.0.78798 tests: - No tests (auto formatted) fromversion: 6.9.0 diff --git a/Packs/PhishingURL/ReleaseNotes/1_1_5.md b/Packs/PhishingURL/ReleaseNotes/1_1_5.md deleted file mode 100644 index 448dbb2646f3..000000000000 --- a/Packs/PhishingURL/ReleaseNotes/1_1_5.md +++ /dev/null @@ -1,5 +0,0 @@ - -#### Scripts - -##### DBotPredictURLPhishing -- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.78140*. diff --git a/Packs/PhishingURL/pack_metadata.json b/Packs/PhishingURL/pack_metadata.json index bca38b93c554..62089168c18d 100644 --- a/Packs/PhishingURL/pack_metadata.json +++ b/Packs/PhishingURL/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Phishing URL", "description": "Phishing URL is a project with the goal of detecting phishing URLs using machine learning", "support": "xsoar", - "currentVersion": "1.1.5", + "currentVersion": "1.1.4", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From 7cc57e33154d5df4319c92940a03b86419acd6d4 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Mon, 23 Oct 2023 18:10:06 +0300 Subject: [PATCH 15/22] Fix import --- .../Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index 92f9cb79608a..dec569489ad3 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -77,7 +77,7 @@ outputs: description: Whether the domain belongs to the top Majestic domain list. If it does, we will always consider this domain as benign. type: String - contextPath: DBotScore.Score - description: Severity score. + description: Severity score type: Number script: '-' subtype: python3 From 3b948fc16deb74f59d9b11c4a0cf42307b426b2e Mon Sep 17 00:00:00 2001 From: tkatzir Date: Mon, 23 Oct 2023 18:11:30 +0300 Subject: [PATCH 16/22] Fix import --- Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py index bdf6fd48f87d..4ee754214a72 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py @@ -84,7 +84,7 @@ def action_wrap(args: dict) -> dict: raise DemistoException('not a valid action') final_image = Image.fromarray(image) if img_sizes: - final_image = final_image.resize(img_sizes, Image.LANCZOS) + final_image = final_image.resize(img_sizes, Image.Resampling.LANCZOS)) final_image.save(stream_buffer, format='png') stream_buffer.seek(0) return fileResult(f'{action}_{name}.png', stream_buffer.read()) From 3ce24faa4aca99048b64d560ff9dab27ff138dcc Mon Sep 17 00:00:00 2001 From: tkatzir Date: Mon, 23 Oct 2023 18:13:58 +0300 Subject: [PATCH 17/22] Docker image --- .../DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml b/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml index f56b889525a7..77c31e08cee9 100644 --- a/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml +++ b/Packs/CommonScripts/Scripts/DBotUpdateLogoURLPhishing/DBotUpdateLogoURLPhishing.yml @@ -27,7 +27,7 @@ tags: - ml timeout: '0' type: python -dockerimage: demisto/mlurlphishing:1.0.0.78140 +dockerimage: demisto/mlurlphishing:1.0.0.61412 runas: DBotRole tests: - DBotUpdateLogoURLPhishing_test From f81b2b55925f7d748ce091a99b66bb51bca25d71 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Mon, 23 Oct 2023 18:16:41 +0300 Subject: [PATCH 18/22] rn --- Packs/PhishingURL/ReleaseNotes/1_1_5.md | 5 +++++ Packs/PhishingURL/pack_metadata.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Packs/PhishingURL/ReleaseNotes/1_1_5.md diff --git a/Packs/PhishingURL/ReleaseNotes/1_1_5.md b/Packs/PhishingURL/ReleaseNotes/1_1_5.md new file mode 100644 index 000000000000..c0446d064134 --- /dev/null +++ b/Packs/PhishingURL/ReleaseNotes/1_1_5.md @@ -0,0 +1,5 @@ + +#### Scripts + +##### DBotPredictURLPhishing +- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.61412*. diff --git a/Packs/PhishingURL/pack_metadata.json b/Packs/PhishingURL/pack_metadata.json index 62089168c18d..bca38b93c554 100644 --- a/Packs/PhishingURL/pack_metadata.json +++ b/Packs/PhishingURL/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Phishing URL", "description": "Phishing URL is a project with the goal of detecting phishing URLs using machine learning", "support": "xsoar", - "currentVersion": "1.1.4", + "currentVersion": "1.1.5", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From 3e721c2b192a28f0462c0b83dae8aec818eb81bb Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 24 Oct 2023 10:24:05 +0300 Subject: [PATCH 19/22] Lint --- Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py index 4ee754214a72..5989488329c1 100644 --- a/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py +++ b/Packs/CommonScripts/Scripts/PreProcessImage/PreProcessImage.py @@ -84,7 +84,7 @@ def action_wrap(args: dict) -> dict: raise DemistoException('not a valid action') final_image = Image.fromarray(image) if img_sizes: - final_image = final_image.resize(img_sizes, Image.Resampling.LANCZOS)) + final_image = final_image.resize(img_sizes, Image.Resampling.LANCZOS) final_image.save(stream_buffer, format='png') stream_buffer.seek(0) return fileResult(f'{action}_{name}.png', stream_buffer.read()) From 31c4269fde8ff6179e590c8edb2c773550831f51 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 24 Oct 2023 10:27:13 +0300 Subject: [PATCH 20/22] Period --- .../Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index dec569489ad3..92f9cb79608a 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -77,7 +77,7 @@ outputs: description: Whether the domain belongs to the top Majestic domain list. If it does, we will always consider this domain as benign. type: String - contextPath: DBotScore.Score - description: Severity score + description: Severity score. type: Number script: '-' subtype: python3 From 7b33a575d703c2bde7b0106a379ce7e141619b57 Mon Sep 17 00:00:00 2001 From: tkatzir Date: Tue, 24 Oct 2023 10:33:54 +0300 Subject: [PATCH 21/22] Keep docker image --- Packs/PhishingURL/ReleaseNotes/1_1_5.md | 5 ----- .../DBotPredictURLPhishing/DBotPredictURLPhishing.yml | 4 ++-- Packs/PhishingURL/pack_metadata.json | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 Packs/PhishingURL/ReleaseNotes/1_1_5.md diff --git a/Packs/PhishingURL/ReleaseNotes/1_1_5.md b/Packs/PhishingURL/ReleaseNotes/1_1_5.md deleted file mode 100644 index c0446d064134..000000000000 --- a/Packs/PhishingURL/ReleaseNotes/1_1_5.md +++ /dev/null @@ -1,5 +0,0 @@ - -#### Scripts - -##### DBotPredictURLPhishing -- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.61412*. diff --git a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml index 92f9cb79608a..8d24f3b4a85d 100644 --- a/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml +++ b/Packs/PhishingURL/Scripts/DBotPredictURLPhishing/DBotPredictURLPhishing.yml @@ -77,7 +77,7 @@ outputs: description: Whether the domain belongs to the top Majestic domain list. If it does, we will always consider this domain as benign. type: String - contextPath: DBotScore.Score - description: Severity score. + description: Severity score type: Number script: '-' subtype: python3 @@ -85,7 +85,7 @@ tags: - ml timeout: 480ns type: python -dockerimage: demisto/mlurlphishing:1.0.0.61412 +dockerimage: demisto/mlurlphishing:1.0.0.28347 runas: DBotRole tests: - DBotPredictURLPhishing_test diff --git a/Packs/PhishingURL/pack_metadata.json b/Packs/PhishingURL/pack_metadata.json index bca38b93c554..62089168c18d 100644 --- a/Packs/PhishingURL/pack_metadata.json +++ b/Packs/PhishingURL/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Phishing URL", "description": "Phishing URL is a project with the goal of detecting phishing URLs using machine learning", "support": "xsoar", - "currentVersion": "1.1.5", + "currentVersion": "1.1.4", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "", From abad997d810986d4850846bfbfdacdb65c23d9aa Mon Sep 17 00:00:00 2001 From: tkatzir Date: Wed, 25 Oct 2023 11:16:58 +0300 Subject: [PATCH 22/22] Revert ImageOCR --- Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml | 2 +- Packs/ImageOCR/ReleaseNotes/1_1_20.md | 3 --- Packs/ImageOCR/pack_metadata.json | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 Packs/ImageOCR/ReleaseNotes/1_1_20.md diff --git a/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml b/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml index 26e4d983a442..8392173df656 100644 --- a/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml +++ b/Packs/ImageOCR/Integrations/ImageOCR/ImageOCR.yml @@ -34,7 +34,7 @@ script: - contextPath: File.Text description: Extracted text from the passed image file. type: String - dockerimage: demisto/tesseract:1.0.0.78209 + dockerimage: demisto/tesseract:1.0.0.62842 runonce: false script: '-' type: python diff --git a/Packs/ImageOCR/ReleaseNotes/1_1_20.md b/Packs/ImageOCR/ReleaseNotes/1_1_20.md deleted file mode 100644 index e2f1929e2656..000000000000 --- a/Packs/ImageOCR/ReleaseNotes/1_1_20.md +++ /dev/null @@ -1,3 +0,0 @@ -#### Integrations -##### Image OCR -- Updated the Docker image to: *demisto/tesseract:1.0.0.78209*. diff --git a/Packs/ImageOCR/pack_metadata.json b/Packs/ImageOCR/pack_metadata.json index 8c0bd854ac92..6cb83b2107fa 100644 --- a/Packs/ImageOCR/pack_metadata.json +++ b/Packs/ImageOCR/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Image OCR", "description": "Extracts text from images.", "support": "xsoar", - "currentVersion": "1.1.20", + "currentVersion": "1.1.19", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",