Skip to content

[7.x] [Detections][EQL] EQL rule execution in detection engine (#77419)#78550

Merged
marshallmain merged 1 commit intoelastic:7.xfrom
marshallmain:backport/7.x/pr-77419
Sep 25, 2020
Merged

[7.x] [Detections][EQL] EQL rule execution in detection engine (#77419)#78550
marshallmain merged 1 commit intoelastic:7.xfrom
marshallmain:backport/7.x/pr-77419

Conversation

@marshallmain
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* First draft of EQL rules in detection engine

* Reorganize functions to separate files

* Start adding eventCategoryOverride option for EQL rules

* Add building block alerts for each event within sequence

* Use eql instead of eql_query for rule type

* Remove unused imports

* Fix tests

* Add basic tests for buildEqlSearchRequest

* Add rulesSchema tests for eql

* Add buildSignalFromSequence test

* Add threat rule fields to buildRuleWithoutOverrides

* Fix buildSignalFromSequence typecheck error

* Add more tests

* Add tests for wrapBuildingBlock and generateSignalId

* Use isEqlRule function and fix import error

* delete frank

* Move sequence interface to types.ts

* Fix import

* Remove EQL execution placeholder, add back language to eql rule type

* allow no indices for eql search

* Fix unit tests for language update

* Fix buildEqlSearchRequest tests

* Replace signal.child with signal.group

* remove unused import

* Move sequence signal group building to separate testable function

* Unbork the merge conflict resolution

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@marshallmain marshallmain added the backport This PR is a backport of another PR label Sep 25, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id value diff baseline
securitySolution 10.2MB +4.3KB 10.2MB

page load bundle size

id value diff baseline
securitySolution 581.0KB +136.0B 580.9KB

distributable file count

id value diff baseline
default 47336 +1 47335

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

@marshallmain marshallmain merged commit eb06b8c into elastic:7.x Sep 25, 2020
@marshallmain marshallmain deleted the backport/7.x/pr-77419 branch September 25, 2020 22:04
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