-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[Behavioral Analytics] Use a a client with ent-search origin in the BulkProcessorFactory. #95614
[Behavioral Analytics] Use a a client with ent-search origin in the BulkProcessorFactory. #95614
Conversation
Hi @afoucret, I've created a changelog YAML for you. |
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.
LGTM 👍
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.
The fix looks good to me. Since it was discovered with manual testing we need an explicit test though. Security is enabled on all our rest tests so we should be able to verify that the event is indexed after the posting ?
@jimczi I plan to add some end to end tests to cover those |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…kProcessorFactory. (elastic#95614) (cherry picked from commit df5d27a)
Fix a bug when using an API Key with only the
post_behavioral_analytics_event
cluster privilege.The event is accepted but never ingested to the data stream.
This is caused by a wrong instantiation of the client used by the bulk processor.
More context here: post_behavioral_analytics_event