Skip to content
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

Get alert with similarities #172

Merged
merged 3 commits into from
Nov 24, 2020
Merged

Get alert with similarities #172

merged 3 commits into from
Nov 24, 2020

Conversation

dainok
Copy link

@dainok dainok commented Jul 2, 2020

Added a boolean flag to get similar cases within the alert.

Previous API request was:

/api/alert/ffd8a6ff0cc6a65a34afc86306f297d0

With get_similar_case = True is:

/api/alert/ffd8a6ff0cc6a65a34afc86306f297d0?similarity=1

The PR is backward compatible (get_similar_case = False by default).

thehive4py/api.py Outdated Show resolved Hide resolved
thehive4py/api.py Show resolved Hide resolved
@nadouani nadouani added this to the 1.8.0 milestone Jul 6, 2020
@nadouani nadouani merged commit 6a50ef1 into TheHive-Project:1.x Nov 24, 2020
nadouani added a commit that referenced this pull request Nov 24, 2020
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.

2 participants