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

[7.x] [Security Solution] [DETECTIONS] Set rule status to failure only on large gaps (#71549) #71782

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

dhurley14
Copy link
Contributor

Backports the following commits to 7.x:

…arge gaps (elastic#71549)

* only display gap error when a gap is too large for the gap mitigation code to cover, general code cleanup, adds some tests for separate function

* removes throwing of errors and log error and return null for maxCatchup, ratio, and gapDiffInUnits properties

* forgot to delete commented out code

* remove math.abs since we fixed this bug by switching around logic when calculating gapDiffInUnits in getGapMaxCatchupRatio fn

* updates tests for when a gap error should be written to rule status

* fix typo
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Build metrics

‼️ unable to find a baseline build for [7.x@c89f3f8]. Try merging the upstream branch and trying again.

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dhurley14 dhurley14 merged commit 5cad3fa into elastic:7.x Jul 15, 2020
@dhurley14 dhurley14 deleted the backport/7.x/pr-71549 branch July 15, 2020 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants