Skip to content

Commit

Permalink
Xsup 40686 rasterize (demisto#35957)
Browse files Browse the repository at this point in the history
* fix

* fix

* fix

* Update Packs/rasterize/Integrations/rasterize/rasterize.py

Co-authored-by: Yuval Hayun <[email protected]>

* cr

* cr

* cr

* fix

* fix

* meeting notes

* fix

* fix

* fix

* pre-commit

* revert

* cr

* cr

* cr

* Update Packs/rasterize/Integrations/rasterize/rasterize.py

Co-authored-by: Yuval Hayun <[email protected]>

* cr

* cr

* cr

* cr

* cr

* cr

* demo notes

* fix

* fix

* fix

* fix unit tests

* fix unit tests

* fix unit tests

* add unit tests

* fix

* fix

* fix

* fix

* adding unit tests

* adding unit tests

* add unit test

* adding docstring

* fix unit tests

* add unit tests

* add unit tests

* add unit tests

* Update Packs/rasterize/ReleaseNotes/2_0_24.md

Co-authored-by: EyalPintzov <[email protected]>

* fix

* CR tal

* Update Packs/rasterize/ReleaseNotes/2_0_24.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* CR tal

* cr notes

* fix

* fixes

---------

Co-authored-by: Yuval Hayun <[email protected]>
Co-authored-by: EyalPintzov <[email protected]>
Co-authored-by: ShirleyDenkberg <[email protected]>
  • Loading branch information
4 people authored Oct 8, 2024
1 parent e090295 commit 4053b94
Show file tree
Hide file tree
Showing 8 changed files with 294 additions and 229 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |-
Tests the scenario where similar phishing incidents should create a phishing campaign incident.
It does that by creating fake phishing incidents which should run the Phishing - Generic v3 playbook, and in the process run the Detect & Manage Phishing Campaigns playbook.
The campaign incident should have 9 incidents when all incidents have finished running.
The campaign incident should have 9 incidents when all incidents have finished running.
starttaskid: "0"
tasks:
"0":
Expand Down
249 changes: 128 additions & 121 deletions Packs/rasterize/Integrations/rasterize/rasterize.py

Large diffs are not rendered by default.

238 changes: 135 additions & 103 deletions Packs/rasterize/Integrations/rasterize/rasterize_test.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"2222": {
"instance_id": "22222222-2222-2222-2222-222222222222",
"chrome_options": "chrome_options2",
"rasteriztion_count": 1
},
"3333": {
"instance_id": "33333333-3333-3333-3333-333333333333",
"chrome_options": "chrome_options3",
"rasteriztion_count": 1
},
"9345": {
"instance_id": "44444444-4444-4444-4444-444444444444",
"chrome_options": "chrome_options4",
"rasteriztion_count": 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
timestamp,log_level,message
2024-09-22 10:15:30,INFO,Starting the application
2024-09-22 10:15:31,DEBUG,Loading configuration from config.yaml
2024-09-22 10:15:32,WARN,Memory usage is high
2024-09-22 10:15:33,ERROR,Failed connect to database
2024-09-22 10:15:34,INFO,Application stopped
3 changes: 0 additions & 3 deletions Packs/rasterize/Integrations/rasterize/test_data/info.tsv

This file was deleted.

6 changes: 6 additions & 0 deletions Packs/rasterize/ReleaseNotes/2_0_24.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Rasterize

Fixed an issue where utilizing the ***rasterize*** command after reaching the **max rasterize connections** would result in the error message "Could not use local Chrome for rasterize command."
2 changes: 1 addition & 1 deletion Packs/rasterize/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Rasterize",
"description": "Converts URLs, PDF files, and emails to an image file or PDF file.",
"support": "xsoar",
"currentVersion": "2.0.23",
"currentVersion": "2.0.24",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 4053b94

Please sign in to comment.