Skip to content

Commit

Permalink
Wildfire v2 - fix an issue in the wildfire-report command (demisto#27547
Browse files Browse the repository at this point in the history
)

* fixes

* bump rn

* revert irrelevent changes

* update rn

* update test-playbook

* update docker image
  • Loading branch information
GuyAfik authored and xsoar-bot committed Jul 26, 2023
1 parent 0585043 commit 4544adc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ def wildfire_get_file_report(file_hash: str, args: dict):
params=PARAMS_DICT
)
# we get the report and file info from the XML object
reports = json_res.get('wildfire', {}).get('task_info', {}).get('report')
reports = ((json_res.get('wildfire') or {}).get('task_info') or {}).get('report')
file_info = json_res.get('wildfire', {}).get('file_info')

# extra options to provide in the query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ script:
- contextPath: InfoFile.Type
description: The web artifacts file type.
type: string
dockerimage: demisto/python3:3.10.11.61265
dockerimage: demisto/python3:3.10.12.63474
feed: false
isfetch: false
longRunning: false
Expand Down
7 changes: 7 additions & 0 deletions Packs/Palo_Alto_Networks_WildFire/ReleaseNotes/2_1_26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Palo Alto Networks WildFire v2

- Fixed an issue in the **wildfire-report** command where in case there was no *file* report, the command would return unexpected results.
- Updated the Docker image to: *demisto/python3:3.10.12.63474*.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tasks:
- "7"
scriptarguments:
data:
simple: var a = 'b'
simple: var a = 'c'
entryId: {}
filename:
simple: test1.js
Expand Down
2 changes: 1 addition & 1 deletion Packs/Palo_Alto_Networks_WildFire/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "WildFire by Palo Alto Networks",
"description": "Perform malware dynamic analysis",
"support": "xsoar",
"currentVersion": "2.1.25",
"currentVersion": "2.1.26",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 4544adc

Please sign in to comment.