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

Alert expiry #965

Open
ag-michael opened this issue May 3, 2019 · 3 comments
Open

Alert expiry #965

ag-michael opened this issue May 3, 2019 · 3 comments

Comments

@ag-michael
Copy link

Feature Request

Work Environment

Question Answer
OS version (server) RedHat
OS version (client) 7.6
TheHive version / git hash 3.3.0-1
Package Type RPM

Problem Description

It is getting increasingly difficult to manage alerts using the API, simply due to erratic variations in volume.

I could further tune scripts I've built around the API, but I thought it would be more intuitive if there was an alert retention strategy setting in thehive, where alerts are removed by age, volume or other criteria.

It would also be great if there was a way to immediately permanenty delete alerts.

@veeral-patel
Copy link

@ag-michael If you don't mind, can you share what your use case is for deleting alerts automatically based on a retention period?

Wouldn't that mean you're essentially ignoring and deleting alerts notifying of possible attacks?

@ag-michael
Copy link
Author

ag-michael commented Aug 12, 2019

@veeral-patel Correct. it's aging out of alerts, essentially implicit ignoring of alerts.
ideally the retention policy would depend on the alert severity (e.g.: never delete high sev,keep low sev for a day,medium for a week).

If an alert source generates hundreds or thousands of alerts, I can't dedicate man hours to manually go through them all and ignore them one by one.

EDIT: I can throttle and control this externally, but regardless of that if an alert has not been imported into a case after some time, I don't want it lingering on. Especailly considering some alerts can be fairly sizable and cause performance issues if you have too many of them indexed.

@veeral-patel
Copy link

@ag-michael so I guess what you're saying is, if you have thousands of low-severity alerts, you're just not going to get through them all. So instead of keeping them and around and hoping you'll get to them, it's better to just discard them. That makes sense.

Just curious - what are these thousands of alerts you're getting, at a high level?

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

No branches or pull requests

3 participants