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] Rules don't always write a status when finished executing #116358

Open
Tracked by #165878 ...
marshallmain opened this issue Oct 26, 2021 · 2 comments
Open
Tracked by #165878 ...
Labels
enhancement New value added to drive a business result Feature:Rule Monitoring Security Solution Detection Rule Monitoring area Team:Detection Engine Security Solution Detection Engine Area Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@marshallmain
Copy link
Contributor

Kibana version: 7.16.0

In the current detection engine implementation, warning statuses are written by rules near the beginning of rule execution. At the end of rule execution, a success status is written only if no warning or error statuses were written during rule execution. This makes it difficult to determine when a rule is finished executing if it writes a warning status. It's especially difficult for integration tests that also expect the rule execution not to write any alerts because we don't have a status document or alert documents, so there's nothing to tell us when rule execution is finished. Thus it's hard to tell if, when we check to see if 0 alerts were written, the rule executed correctly and wrote no alerts or the rule simply hasn't finished yet.

@marshallmain marshallmain added enhancement New value added to drive a business result Team:Detections and Resp Security Detection Response Team Team:Detection Rule Management Security Detection Rule Management Team Team:Detection Alerts Security Detection Alerts Area Team labels Oct 26, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@banderror banderror added the Feature:Rule Monitoring Security Solution Detection Rule Monitoring area label Nov 3, 2021
@banderror banderror added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Apr 26, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Rule Monitoring Security Solution Detection Rule Monitoring area Team:Detection Engine Security Solution Detection Engine Area Team:Detection Rule Management Security Detection Rule Management Team Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

5 participants