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

API allows alert creation with duplicate artifacts #720

Closed
rolinh opened this issue Sep 10, 2018 · 0 comments
Closed

API allows alert creation with duplicate artifacts #720

rolinh opened this issue Sep 10, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@rolinh
Copy link

rolinh commented Sep 10, 2018

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu.
TheHive version / git hash 3.0.10
Package Type Binary

Problem Description

The API does not prevent from creating an alert with duplicate artifacts. This can lead to more than 100% correlation with other cases as shown in the screenshot below (yeah, maybe this one deserves a separate issue...):

image

Note that the UI checks for duplicate artifacts before adding them.

Steps to Reproduce

Create an alert with duplicate artifacts, the API happily creates the alert.

Possible Solutions

Reject alert creation requests with duplicate artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants