Skip to content

Wildfire support ootb license #17675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 17, 2022
Merged

Conversation

guykeller
Copy link
Contributor

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

fixes: https://github.com/demisto/etc/issues/45358

Description

Added support for license based / config based retrieval of the API token.

Screenshots

Paste here any images that will help the reviewer

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

@guykeller guykeller self-assigned this Feb 15, 2022
@guykeller
Copy link
Contributor Author

Tested on 6.2 machine, 6.5 machine and a new testing machine.

@@ -11,6 +11,12 @@
PARAMS = demisto.params()
URL = PARAMS.get('server')
TOKEN = PARAMS.get('token') or (PARAMS.get('credentials') or {}).get('password')
if not TOKEN and is_demisto_version_ge('6.5.0'):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if not TOKEN and is_demisto_version_ge('6.5.0'):
if not TOKEN and is_demisto_version_ge('6.6.0'):

Copy link
Contributor

@yuvalbenshalom yuvalbenshalom left a comment

Choose a reason for hiding this comment

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

nice

@content-bot
Copy link
Collaborator

@yuvalbenshalom yuvalbenshalom merged commit 6d40f23 into master Feb 17, 2022
@yuvalbenshalom yuvalbenshalom deleted the wildfire-support-ootb-license branch February 17, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants