Skip to content

[7.x] [Security Solution][Detections][Threshold Rules] Threshold Rule Bug Fixes (#84918)#86606

Merged
madirey merged 2 commits intoelastic:7.xfrom
madirey:backport/7.x/pr-84918
Dec 21, 2020
Merged

[7.x] [Security Solution][Detections][Threshold Rules] Threshold Rule Bug Fixes (#84918)#86606
madirey merged 2 commits intoelastic:7.xfrom
madirey:backport/7.x/pr-84918

Conversation

@madirey
Copy link
Copy Markdown
Contributor

@madirey madirey commented Dec 20, 2020

Backports the following commits to 7.x:

…ixes (elastic#84918)

* Move threshold dupe detection logic to its own function

* Minor fixup

* Refactor and remove property injection for threshold signals

* Only show aggregatable fields for threshold rule grouping

* Add threshold rule kql filter to timeline

* Remove outdated getThresholdSignalQueryFields tests

* Filter aggregatable fields on client

* Revert "Only show aggregatable fields for threshold rule grouping"

This reverts commit 539fa49.

* Fix bug with incorrect calculation of threshold signal dupes when no threshold field present

* Revert "Add threshold rule kql filter to timeline"

This reverts commit 6482374.

* Add test skeleton

* Finish tests

* Address comment
@madirey madirey added the backport This PR is a backport of another PR label Dec 20, 2020
@madirey
Copy link
Copy Markdown
Contributor Author

madirey commented Dec 21, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

expected head sha didn’t match current head ref.

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 8.5MB 8.5MB +564.0B
triggersActionsUi 1.6MB 1.5MB -26.9KB
total -26.3KB

Distributable file count

id before after diff
default 47483 48247 +764

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 162.6KB 162.7KB +102.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 31 32 +1

History

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

@madirey madirey merged commit 1aeb6ed into elastic:7.x Dec 21, 2020
@madirey madirey deleted the backport/7.x/pr-84918 branch December 21, 2020 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants