Commit 48fc63e
# Backport
This will backport the following commits from `main` to `9.0`:
- [[SecurirySolution] Fix risk score visu fails when entity name
contains backslash
(#237757)](#237757)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2025-10-07T21:33:09Z","message":"[SecurirySolution]
Fix risk score visu fails when entity name contains backslash
(#237757)\n\n## Summary\n\nAdd `\"` around the entity name so Lens know
that it has to escape\nspecial characters.\n\n\n<img width=\"3440\"
height=\"1340\" alt=\"Screenshot 2025-10-07 at 08 19
44\"\nsrc=\"https://github.com/user-attachments/assets/6c0b6896-5529-430e-964b-afba1de37d95\"\n/>\n<img
width=\"1078\" height=\"666\" alt=\"Screenshot 2025-10-07 at 08 30
44\"\nsrc=\"https://github.com/user-attachments/assets/1ffd4dfd-c89f-42d9-ad26-9a39c5be835f\"\n/>\n\n\n###
How to test it?\n* Start Kibana\n* Create an event with `user.name:
EC2AMAZ-R2R92FT\\Administrator`\n* Run the risk score engine\n* Open the
entity
flyout","sha":"ff7d8327bd1615c5586bfdc037087169ce4f77a1","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","backport","release_note:fix","Team:
SecuritySolution","backport:all-open","Theme:
entity_analytics","Feature:Entity Analytics","Team:Entity
Analytics","v9.2.0","v9.3.0"],"title":"[SecurirySolution] Fix risk score
visu fails when entity name contains
backslash","number":237757,"url":"https://github.com/elastic/kibana/pull/237757","mergeCommit":{"message":"[SecurirySolution]
Fix risk score visu fails when entity name contains backslash
(#237757)\n\n## Summary\n\nAdd `\"` around the entity name so Lens know
that it has to escape\nspecial characters.\n\n\n<img width=\"3440\"
height=\"1340\" alt=\"Screenshot 2025-10-07 at 08 19
44\"\nsrc=\"https://github.com/user-attachments/assets/6c0b6896-5529-430e-964b-afba1de37d95\"\n/>\n<img
width=\"1078\" height=\"666\" alt=\"Screenshot 2025-10-07 at 08 30
44\"\nsrc=\"https://github.com/user-attachments/assets/1ffd4dfd-c89f-42d9-ad26-9a39c5be835f\"\n/>\n\n\n###
How to test it?\n* Start Kibana\n* Create an event with `user.name:
EC2AMAZ-R2R92FT\\Administrator`\n* Run the risk score engine\n* Open the
entity
flyout","sha":"ff7d8327bd1615c5586bfdc037087169ce4f77a1"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237757","number":237757,"mergeCommit":{"message":"[SecurirySolution]
Fix risk score visu fails when entity name contains backslash
(#237757)\n\n## Summary\n\nAdd `\"` around the entity name so Lens know
that it has to escape\nspecial characters.\n\n\n<img width=\"3440\"
height=\"1340\" alt=\"Screenshot 2025-10-07 at 08 19
44\"\nsrc=\"https://github.com/user-attachments/assets/6c0b6896-5529-430e-964b-afba1de37d95\"\n/>\n<img
width=\"1078\" height=\"666\" alt=\"Screenshot 2025-10-07 at 08 30
44\"\nsrc=\"https://github.com/user-attachments/assets/1ffd4dfd-c89f-42d9-ad26-9a39c5be835f\"\n/>\n\n\n###
How to test it?\n* Start Kibana\n* Create an event with `user.name:
EC2AMAZ-R2R92FT\\Administrator`\n* Run the risk score engine\n* Open the
entity flyout","sha":"ff7d8327bd1615c5586bfdc037087169ce4f77a1"}}]}]
BACKPORT-->
Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
1 parent 29e4a96 commit 48fc63e
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments