Commit f81b849
# 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>
1 parent 48f11e0 commit f81b849
File tree
2 files changed
+98
-13
lines changed- x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_details_flyout/components
2 files changed
+98
-13
lines changedLines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
| |||
225 | 239 | | |
226 | 240 | | |
227 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
228 | 275 | | |
Lines changed: 51 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
143 | 174 | | |
144 | 175 | | |
145 | 176 | | |
| |||
189 | 220 | | |
190 | 221 | | |
191 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
192 | 227 | | |
193 | 228 | | |
194 | 229 | | |
| |||
218 | 253 | | |
219 | 254 | | |
220 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
221 | 259 | | |
222 | 260 | | |
223 | 261 | | |
| |||
0 commit comments