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

[Security Solution][Alerts] Warn users when rule interval is larger than time range searched #154963

Open
Tracked by #165878
marshallmain opened this issue Apr 13, 2023 · 0 comments
Labels
consider-next enhancement New value added to drive a business result Feature:Detection Alerts Security Solution Detection Alerts Feature sdh-linked Team:Detection Engine Security Solution Detection Engine Area v8.8.0

Comments

@marshallmain
Copy link
Contributor

marshallmain commented Apr 13, 2023

Currently it's possible to specify arbitrary values for to, from, and interval in the detection rules APIs. This can lead to scenarios where the difference between to and from is smaller than the rule interval and some time periods will not be searched by the rule. For example, if we have

to: 'now-5m',
from: 'now-7m',
interval: '5m',

then the rule searches a 2 minute time period every 5 minutes. This leaves 3 out of every 5 minutes un-searched. We should add additional validation in rule APIs and/or runtime checks at rule execution time to prevent/warn users about misconfigurations like this.

Related Issues

@marshallmain marshallmain added enhancement New value added to drive a business result Feature:Detection Alerts Security Solution Detection Alerts Feature Team:Detection Alerts Security Detection Alerts Area Team v8.8.0 labels Apr 13, 2023
@yctercero yctercero added Team:Detection Engine Security Solution Detection Engine Area and removed Team:Detection Alerts Security Detection Alerts Area Team labels May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consider-next enhancement New value added to drive a business result Feature:Detection Alerts Security Solution Detection Alerts Feature sdh-linked Team:Detection Engine Security Solution Detection Engine Area v8.8.0
Projects
None yet
Development

No branches or pull requests

3 participants