Skip to content

[7.x] [Security Solution][CTI] Event enrichment search strategy (#101553)#102275

Merged
rylnd merged 1 commit intoelastic:7.xfrom
rylnd:backport/7.x/pr-101553
Jun 16, 2021
Merged

[7.x] [Security Solution][CTI] Event enrichment search strategy (#101553)#102275
rylnd merged 1 commit intoelastic:7.xfrom
rylnd:backport/7.x/pr-101553

Conversation

@rylnd
Copy link
Copy Markdown
Contributor

@rylnd rylnd commented Jun 15, 2021

Backports the following commits to 7.x:

…1553)

* Adding boilerplate for new CTI search strategy type

This is going to be a subtype of the general SecSol search strategy;
the main functionality is going to be:

* transformation of the incoming parameters into named equivalents
* transformation of responses to include enrichment context fields
  (matched.*)

* More boilerplate, including tests

A few type errors because our functions don't actually do anything yet,
nor are our request/response types fleshed out.

* Starting to flesh out the request parsing

* Defines a basic request, along with a mock
* Defines helper function to generate should clauses from field values
* Adds placeholder tests throughout

* Fleshing out unit tests around our enrichment query

* Fleshing out response parsing of eventEnrichment strategy

* Fix types from elasticsearch

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@rylnd rylnd added the backport This PR is a backport of another PR label Jun 15, 2021
@rylnd rylnd enabled auto-merge (squash) June 15, 2021 22:01
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

@rylnd rylnd merged commit 1f89ac3 into elastic:7.x Jun 16, 2021
@rylnd rylnd deleted the backport/7.x/pr-101553 branch June 16, 2021 15:28
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