Skip to content

Commit 20442d7

Browse files
ShacharKidorxsoar-bot
authored andcommitted
Wildfire Reports - Reverted the content patch (demisto#29155)
* Reverted the patch * Updated the docker image tag * Pre-commit fixes * Added RN file
1 parent 6db5680 commit 20442d7

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Diff for: Packs/Palo_Alto_Networks_WildFire/Integrations/WildFireReports/WildFireReports.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class Client(BaseClient):
10-
def __init__(self, base_url: str, verify: bool = True, proxy: bool = False, ok_codes=tuple(), headers: dict = None,
10+
def __init__(self, base_url: str, verify: bool = True, proxy: bool = False, ok_codes=(), headers: dict = None,
1111
token: str = None):
1212
super().__init__(base_url, verify, proxy, ok_codes, headers)
1313
self.token = token
@@ -20,13 +20,7 @@ def get_agent():
2020
Auto API expect the agent header to be 'xdr' when running from within XSIAM and 'xsoartim' when running from
2121
within XSOAR (both on-prem and cloud).
2222
"""
23-
# This block is a patch - need to remove it once the server side fix of the following issue is merged:
24-
# https://jira-hq.paloaltonetworks.local/browse/CRTX-77146
25-
if version := get_demisto_version().get('version'):
26-
if version == '8.1.0':
27-
return 'xsoartim'
28-
29-
platform = get_demisto_version().get('platform')
23+
platform = get_demisto_version().get('platform') # Platform = xsoar_hosted / xsoar / x2 depends on the machine
3024
return 'xdr' if platform == 'x2' else 'xsoartim'
3125

3226
def get_file_report(self, file_hash: str):

Diff for: Packs/Palo_Alto_Networks_WildFire/Integrations/WildFireReports/WildFireReports.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ script:
5353
script: '-'
5454
type: python
5555
subtype: python3
56-
dockerimage: demisto/python3:3.10.12.63474
56+
dockerimage: demisto/python3:3.10.12.68714
5757
fromversion: 6.5.0
5858
tests:
5959
- No tests (auto formatted)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
#### Integrations
3+
4+
##### Palo Alto Networks WildFire Reports
5+
6+
- Updated the way we distinguish between running on *XSOAR* or *XSIAM* machines.
7+
- Updated the Docker image to: *demisto/python3:3.10.12.68714*.

Diff for: Packs/Palo_Alto_Networks_WildFire/pack_metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "WildFire by Palo Alto Networks",
33
"description": "Perform malware dynamic analysis",
44
"support": "xsoar",
5-
"currentVersion": "2.1.32",
5+
"currentVersion": "2.1.33",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

0 commit comments

Comments
 (0)