-
Notifications
You must be signed in to change notification settings - Fork 25.7k
EQL: Adds get async EQL search result action #56852
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
EQL: Adds get async EQL search result action #56852
Conversation
Adds support for retrieving async EQL search result s to eql search API. Relates to elastic#49638
|
Pinging @elastic/es-ql (:Query Languages/EQL) |
jimczi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Can you also add a test for security similar to AsyncSearchSecurityIT ?
| listener.onResponse(new IndexAuthorizationResult(true, IndicesAccessControl.ALLOW_NO_INDICES)); | ||
| } | ||
| } else if (isAsyncSearchRelatedAction(action)) { | ||
| } else if (isAsyncSearchRelatedAction(action) || isAsyncEqlSearchRelatedAction(action)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a isAsyncAction to encapsulate the condition of both search and eql searches there? Any future updates would not touch authorizeIndexAction.
costin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of goodies in this PR. I can't comment much on the async bit but otherwise, LGTM.
Adds support for deleting async EQL search results to eql search API. Relates to elastic#49638
Adds support for retrieving async EQL search result s to eql search API.
Relates to #49638