Skip to content

live queries user info#605

Draft
KishoreKicha14 wants to merge 4 commits into
opensearch-project:mainfrom
KishoreKicha14:dynamic-grouping-enhancements
Draft

live queries user info#605
KishoreKicha14 wants to merge 4 commits into
opensearch-project:mainfrom
KishoreKicha14:dynamic-grouping-enhancements

Conversation

@KishoreKicha14
Copy link
Copy Markdown
Collaborator

Description

Describe what this change achieves.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

ansjcy and others added 3 commits May 20, 2026 10:37
Extract user identity from task headers (_opendistro_security_user_info)
for running search tasks and include in live queries API response.

Signed-off-by: Kishore Kumaar Natarajan <kkumaarn@amazon.com>
Store username/roles/backendRoles in QueryInsightsService map
keyed by nodeId:taskId. Cleaned up on request end.

Signed-off-by: Kishore Kumaar Natarajan <kkumaarn@amazon.com>
@KishoreKicha14 KishoreKicha14 force-pushed the dynamic-grouping-enhancements branch from 89fa458 to a39914a Compare May 20, 2026 17:39
… cache

Call TopQueriesService.setUserInfo() in addToFinishedCache so
username, user_roles, and backend_roles are serialized in the
FinishedQueryRecord response.

Signed-off-by: Kishore Kumaar Natarajan <kkumaarn@amazon.com>
@KishoreKicha14 KishoreKicha14 force-pushed the dynamic-grouping-enhancements branch from a39914a to 3b62b22 Compare May 20, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants