Skip to content

[7.x] [Security_Solution][Endpoint] Leveraging msearch and ancestry array for resolver (#70134)#70583

Merged
jonathan-buttner merged 1 commit intoelastic:7.xfrom
jonathan-buttner:backport/7.x/pr-70134
Jul 2, 2020
Merged

[7.x] [Security_Solution][Endpoint] Leveraging msearch and ancestry array for resolver (#70134)#70583
jonathan-buttner merged 1 commit intoelastic:7.xfrom
jonathan-buttner:backport/7.x/pr-70134

Conversation

@jonathan-buttner
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…or resolver (elastic#70134)

* Refactor generator for ancestry support

* Adding optional ancestry array

* Refactor the pagination since the totals are not used anymore

* Updating the queries to not use aggregations for determining the totals

* Refactoring the children helper to handle pagination without totals

* Pinning the seed for the resolver tree generator service

* Splitting the fetcher into multiple classes for msearch

* Updating tests and api for ancestry array and msearch

* Adding more comments and fixing type errors

* Fixing resolver test import

* Fixing tests and type errors

* Fixing type errors and tests

* Removing useAncestry field

* Fixing test

* Removing useAncestry field from tests

* An empty array will be returned because that's how ES will do it too
@jonathan-buttner jonathan-buttner added the backport This PR is a backport of another PR label Jul 2, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

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

@jonathan-buttner jonathan-buttner merged commit 918bdbc into elastic:7.x Jul 2, 2020
@jonathan-buttner jonathan-buttner deleted the backport/7.x/pr-70134 branch July 2, 2020 14:49
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