Skip to content

Changed the get_agent func logic to base on the platform only#25002

Merged
ShacharKidor merged 13 commits into
masterfrom
fix_wildfire_reports_get_agent_logic
Mar 5, 2023
Merged

Changed the get_agent func logic to base on the platform only#25002
ShacharKidor merged 13 commits into
masterfrom
fix_wildfire_reports_get_agent_logic

Conversation

@ShacharKidor
Copy link
Copy Markdown
Contributor

@ShacharKidor ShacharKidor commented Mar 2, 2023

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

relates: CRTX-77146.

Description

As discussed in this issue CRTX-77146, the demisto.demistoVersion() function should return platform='x2' for XSIAM machines, and platform='xsoar' for XSOAR machines (both on-prem and cloud).
Therefore, we can differentiate between XSIAM to XSOAR based on the platform info only (no need to use the version).
In this PR I have changed that logic.

Minimum version of Cortex XSOAR

  • 6.0.0
  • 6.1.0
  • 6.2.0
  • 6.5.0

Does it break backward compatibility?

  • Yes
    • Further details:
  • No

Must have

  • Tests
  • Documentation

@ShacharKidor
Copy link
Copy Markdown
Contributor Author

@ShahafBenYakir - Please let me know if you think this logic change should affect other integrations. If yes I will change that in them as well.

Copy link
Copy Markdown
Contributor

@ShahafBenYakir ShahafBenYakir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Comment thread Packs/Palo_Alto_Networks_WildFire/Integrations/WildFireReports/WildFireReports.py Outdated
Comment thread Packs/Palo_Alto_Networks_WildFire/ReleaseNotes/2_1_17.md Outdated
ShacharKidor and others added 2 commits March 2, 2023 18:11
Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
@ShacharKidor
Copy link
Copy Markdown
Contributor Author

This PR will be merged once the server-side fix of this issue CRTX-77146 will be merged.

@xsoar-bot
Copy link
Copy Markdown
Contributor

@ShacharKidor ShacharKidor merged commit c62583a into master Mar 5, 2023
@ShacharKidor ShacharKidor deleted the fix_wildfire_reports_get_agent_logic branch March 5, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants