Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class Client(BaseClient):
def __init__(self, base_url: str, verify: bool = True, proxy: bool = False, ok_codes=tuple(), headers: dict = None,
def __init__(self, base_url: str, verify: bool = True, proxy: bool = False, ok_codes=(), headers: dict = None,
token: str = None):
super().__init__(base_url, verify, proxy, ok_codes, headers)
self.token = token
Expand All @@ -20,13 +20,7 @@ def get_agent():
Auto API expect the agent header to be 'xdr' when running from within XSIAM and 'xsoartim' when running from
within XSOAR (both on-prem and cloud).
"""
# This block is a patch - need to remove it once the server side fix of the following issue is merged:
# https://jira-hq.paloaltonetworks.local/browse/CRTX-77146
if version := get_demisto_version().get('version'):
if version == '8.1.0':
return 'xsoartim'

platform = get_demisto_version().get('platform')
platform = get_demisto_version().get('platform') # Platform = xsoar_hosted / xsoar / x2 depends on the machine
return 'xdr' if platform == 'x2' else 'xsoartim'

def get_file_report(self, file_hash: str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ script:
script: '-'
type: python
subtype: python3
dockerimage: demisto/python3:3.10.12.63474
dockerimage: demisto/python3:3.10.12.68714
fromversion: 6.5.0
tests:
- No tests (auto formatted)
7 changes: 7 additions & 0 deletions Packs/Palo_Alto_Networks_WildFire/ReleaseNotes/2_1_33.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Palo Alto Networks WildFire Reports

- Updated the way we distinguish between running on *XSOAR* or *XSIAM* machines.
- Updated the Docker image to: *demisto/python3:3.10.12.68714*.
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.32",
"currentVersion": "2.1.33",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down