[9.4] [Entity Analytics] Auditing usages of documentEntityIdentifiers in user/host flyout (#265887)#266439
Merged
ymao1 merged 1 commit intoelastic:9.4from Apr 29, 2026
Merged
Conversation
…user/host flyout (elastic#265887) ## Summary This PR addresses 2 items: * Updates the click behavior in the User Risk and Host Risk tabs on the User/Host Explore pages to open in a flyout instead of redirecting to the details page. This tab was missed in the first PR: elastic#265132. * Audits usages of `documentEntityIdentifiers` in the User and Host right flyouts. These identifiers are generated [here (user)](https://github.com/elastic/kibana/blob/1b2ff3f8bb198c259a5155f1bf486f6e4e084078/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/user_right/index.tsx#L112) and [here (host)](https://github.com/elastic/kibana/blob/1b2ff3f8bb198c259a5155f1bf486f6e4e084078/x-pack/solutions/security/plugins/security_solution/public/flyout/entity_details/host_right/index.tsx#L110) and used throughout the flyouts in the EUID `getEuidFilterBasedOnDocument` helper function, however, the document identifiers for user are incorrect as they return an `entity.namespace` field that exists in the entity store but does not exist in any source log/alert document. This PR replaces the input to `getEuidFilterBasedOnDocument` from the `documentEntityIdentifiers` to the full entity store record to ensure that a correct EUID filter is generated for queries against source documents. **User Risk/Host Risk tab click behavior** https://github.com/user-attachments/assets/39049641-91b5-457e-a859-4bf2783aae48 --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 812ff1b) # Conflicts: # x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture/components/misconfiguration/misconfiguration_preview.tsx
tcalopes
approved these changes
Apr 29, 2026
Contributor
💚 Build Succeeded
Metrics [docs]Async chunks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.4:documentEntityIdentifiersin user/host flyout (#265887)Questions ?
Please refer to the Backport tool documentation