[Entity Analytics] Add ability to access anonymization modal in entity highlight component#247887
Merged
ymao1 merged 3 commits intoelastic:mainfrom Jan 8, 2026
Merged
[Entity Analytics] Add ability to access anonymization modal in entity highlight component#247887ymao1 merged 3 commits intoelastic:mainfrom
ymao1 merged 3 commits intoelastic:mainfrom
Conversation
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Page load bundle
cc @ymao1 |
Contributor
|
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
stephmilovic
reviewed
Jan 6, 2026
.../entity_analytics/components/entity_details_flyout/components/entity_highlights_settings.tsx
Outdated
Show resolved
Hide resolved
…ity_analytics/components/entity_details_flyout/components/entity_highlights_settings.tsx Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
stephmilovic
approved these changes
Jan 6, 2026
Contributor
stephmilovic
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the fix
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
|
Starting backport for target branches: 9.3 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Jan 8, 2026
…y highlight component (elastic#247887) Resolves elastic#247028 ## Summary The entity highlight component uses global anonymization settings that can be managed via the anonymization modal. Previously, we were allowing users to toggle anonymization on and off but were not allowing access to adjust the anonymization settings from this menu. This PR adds the ability to open the anonymization modal settings from the menu. Note, the original issue description mentioned that these anonymization settings should not be shown in Agent Builder mode. While it is true that Agent Builder does not handle anonymization, the entity highlight does not directly use Agent Builder and so these anonymization settings should show up regardless of whether we're using Agent Builder or Classic AI Assistant. [This comment](elastic#247028 (comment)) is a better description of the issue. ## To Verify 1. Start ES and Kibana 2. Generate some alerts using the `security-documents-generator` and run the risk scoring task 3. Navigate to the Entity Analytics Overview and open the details flyout for an entity 4. Click the hamburger menu and see that an "gear" icon is available (although the screenshot is old and shows an "eye") <img width="831" height="268" alt="Screenshot 2026-01-05 at 4 44 28 PM" src="https://github.com/user-attachments/assets/e7b3d1a0-e4ab-4d16-b25c-47475d705315" /> 5. Click the icon and open the anonymization settings modal to customize anonymization settings <img width="771" height="887" alt="Screenshot 2026-01-05 at 4 46 55 PM" src="https://github.com/user-attachments/assets/b8895f32-f75b-4af9-835b-0cf8a5bbecf7" /> --------- Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 4e40a02)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Jan 8, 2026
… entity highlight component (#247887) (#248266) # Backport This will backport the following commits from `main` to `9.3`: - [[Entity Analytics] Add ability to access anonymization modal in entity highlight component (#247887)](#247887) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ying Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2026-01-08T13:11:56Z","message":"[Entity Analytics] Add ability to access anonymization modal in entity highlight component (#247887)\n\nResolves https://github.com/elastic/kibana/issues/247028\n\n## Summary\n\nThe entity highlight component uses global anonymization settings that\ncan be managed via the anonymization modal. Previously, we were allowing\nusers to toggle anonymization on and off but were not allowing access to\nadjust the anonymization settings from this menu. This PR adds the\nability to open the anonymization modal settings from the menu.\n\nNote, the original issue description mentioned that these anonymization\nsettings should not be shown in Agent Builder mode. While it is true\nthat Agent Builder does not handle anonymization, the entity highlight\ndoes not directly use Agent Builder and so these anonymization settings\nshould show up regardless of whether we're using Agent Builder or\nClassic AI Assistant. [This\ncomment](https://github.com/elastic/kibana/issues/247028#issuecomment-3682941117)\nis a better description of the issue.\n\n## To Verify\n\n1. Start ES and Kibana\n2. Generate some alerts using the `security-documents-generator` and run\nthe risk scoring task\n3. Navigate to the Entity Analytics Overview and open the details flyout\nfor an entity\n4. Click the hamburger menu and see that an \"gear\" icon is available\n(although the screenshot is old and shows an \"eye\")\n<img width=\"831\" height=\"268\" alt=\"Screenshot 2026-01-05 at 4 44 28 PM\"\nsrc=\"https://github.com/user-attachments/assets/e7b3d1a0-e4ab-4d16-b25c-47475d705315\"\n/>\n\n5. Click the icon and open the anonymization settings modal to customize\nanonymization settings\n<img width=\"771\" height=\"887\" alt=\"Screenshot 2026-01-05 at 4 46 55 PM\"\nsrc=\"https://github.com/user-attachments/assets/b8895f32-f75b-4af9-835b-0cf8a5bbecf7\"\n/>\n\n---------\n\nCo-authored-by: Steph Milovic <stephanie.milovic@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"4e40a027a46e6c6969ae9c7c69f961ae3d3f9dcf","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Entity Analytics","backport:version","v9.3.0","v9.4.0"],"title":"[Entity Analytics] Add ability to access anonymization modal in entity highlight component","number":247887,"url":"https://github.com/elastic/kibana/pull/247887","mergeCommit":{"message":"[Entity Analytics] Add ability to access anonymization modal in entity highlight component (#247887)\n\nResolves https://github.com/elastic/kibana/issues/247028\n\n## Summary\n\nThe entity highlight component uses global anonymization settings that\ncan be managed via the anonymization modal. Previously, we were allowing\nusers to toggle anonymization on and off but were not allowing access to\nadjust the anonymization settings from this menu. This PR adds the\nability to open the anonymization modal settings from the menu.\n\nNote, the original issue description mentioned that these anonymization\nsettings should not be shown in Agent Builder mode. While it is true\nthat Agent Builder does not handle anonymization, the entity highlight\ndoes not directly use Agent Builder and so these anonymization settings\nshould show up regardless of whether we're using Agent Builder or\nClassic AI Assistant. [This\ncomment](https://github.com/elastic/kibana/issues/247028#issuecomment-3682941117)\nis a better description of the issue.\n\n## To Verify\n\n1. Start ES and Kibana\n2. Generate some alerts using the `security-documents-generator` and run\nthe risk scoring task\n3. Navigate to the Entity Analytics Overview and open the details flyout\nfor an entity\n4. Click the hamburger menu and see that an \"gear\" icon is available\n(although the screenshot is old and shows an \"eye\")\n<img width=\"831\" height=\"268\" alt=\"Screenshot 2026-01-05 at 4 44 28 PM\"\nsrc=\"https://github.com/user-attachments/assets/e7b3d1a0-e4ab-4d16-b25c-47475d705315\"\n/>\n\n5. Click the icon and open the anonymization settings modal to customize\nanonymization settings\n<img width=\"771\" height=\"887\" alt=\"Screenshot 2026-01-05 at 4 46 55 PM\"\nsrc=\"https://github.com/user-attachments/assets/b8895f32-f75b-4af9-835b-0cf8a5bbecf7\"\n/>\n\n---------\n\nCo-authored-by: Steph Milovic <stephanie.milovic@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"4e40a027a46e6c6969ae9c7c69f961ae3d3f9dcf"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/247887","number":247887,"mergeCommit":{"message":"[Entity Analytics] Add ability to access anonymization modal in entity highlight component (#247887)\n\nResolves https://github.com/elastic/kibana/issues/247028\n\n## Summary\n\nThe entity highlight component uses global anonymization settings that\ncan be managed via the anonymization modal. Previously, we were allowing\nusers to toggle anonymization on and off but were not allowing access to\nadjust the anonymization settings from this menu. This PR adds the\nability to open the anonymization modal settings from the menu.\n\nNote, the original issue description mentioned that these anonymization\nsettings should not be shown in Agent Builder mode. While it is true\nthat Agent Builder does not handle anonymization, the entity highlight\ndoes not directly use Agent Builder and so these anonymization settings\nshould show up regardless of whether we're using Agent Builder or\nClassic AI Assistant. [This\ncomment](https://github.com/elastic/kibana/issues/247028#issuecomment-3682941117)\nis a better description of the issue.\n\n## To Verify\n\n1. Start ES and Kibana\n2. Generate some alerts using the `security-documents-generator` and run\nthe risk scoring task\n3. Navigate to the Entity Analytics Overview and open the details flyout\nfor an entity\n4. Click the hamburger menu and see that an \"gear\" icon is available\n(although the screenshot is old and shows an \"eye\")\n<img width=\"831\" height=\"268\" alt=\"Screenshot 2026-01-05 at 4 44 28 PM\"\nsrc=\"https://github.com/user-attachments/assets/e7b3d1a0-e4ab-4d16-b25c-47475d705315\"\n/>\n\n5. Click the icon and open the anonymization settings modal to customize\nanonymization settings\n<img width=\"771\" height=\"887\" alt=\"Screenshot 2026-01-05 at 4 46 55 PM\"\nsrc=\"https://github.com/user-attachments/assets/b8895f32-f75b-4af9-835b-0cf8a5bbecf7\"\n/>\n\n---------\n\nCo-authored-by: Steph Milovic <stephanie.milovic@elastic.co>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"4e40a027a46e6c6969ae9c7c69f961ae3d3f9dcf"}}]}] BACKPORT--> Co-authored-by: Ying Mao <ying.mao@elastic.co> Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
devamanv
pushed a commit
to devamanv/kibana
that referenced
this pull request
Jan 12, 2026
…y highlight component (elastic#247887) Resolves elastic#247028 ## Summary The entity highlight component uses global anonymization settings that can be managed via the anonymization modal. Previously, we were allowing users to toggle anonymization on and off but were not allowing access to adjust the anonymization settings from this menu. This PR adds the ability to open the anonymization modal settings from the menu. Note, the original issue description mentioned that these anonymization settings should not be shown in Agent Builder mode. While it is true that Agent Builder does not handle anonymization, the entity highlight does not directly use Agent Builder and so these anonymization settings should show up regardless of whether we're using Agent Builder or Classic AI Assistant. [This comment](elastic#247028 (comment)) is a better description of the issue. ## To Verify 1. Start ES and Kibana 2. Generate some alerts using the `security-documents-generator` and run the risk scoring task 3. Navigate to the Entity Analytics Overview and open the details flyout for an entity 4. Click the hamburger menu and see that an "gear" icon is available (although the screenshot is old and shows an "eye") <img width="831" height="268" alt="Screenshot 2026-01-05 at 4 44 28 PM" src="https://github.com/user-attachments/assets/e7b3d1a0-e4ab-4d16-b25c-47475d705315" /> 5. Click the icon and open the anonymization settings modal to customize anonymization settings <img width="771" height="887" alt="Screenshot 2026-01-05 at 4 46 55 PM" src="https://github.com/user-attachments/assets/b8895f32-f75b-4af9-835b-0cf8a5bbecf7" /> --------- Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
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.
Resolves #247028
Summary
The entity highlight component uses global anonymization settings that can be managed via the anonymization modal. Previously, we were allowing users to toggle anonymization on and off but were not allowing access to adjust the anonymization settings from this menu. This PR adds the ability to open the anonymization modal settings from the menu.
Note, the original issue description mentioned that these anonymization settings should not be shown in Agent Builder mode. While it is true that Agent Builder does not handle anonymization, the entity highlight does not directly use Agent Builder and so these anonymization settings should show up regardless of whether we're using Agent Builder or Classic AI Assistant. This comment is a better description of the issue.
To Verify
security-documents-generatorand run the risk scoring task