Commit cd51bcb
# Backport
This will backport the following commits from `main` to `8.19`:
- [[AI Assistant] Security Assistant settings landed on the wrong page
on basic license
(#229163)](#229163)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Angela
Chuang","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-07-25T22:00:43Z","message":"[AI
Assistant] Security Assistant settings landed on the wrong page on basic
license (#229163)\n\n##
Summary\n\nhttps://github.com//issues/226409\n\nSteps to
reproduce:\n\n1. Change the license of the build to basic ( Stack
Management > License\nmanagement)\n2. Navigate to the Stack Management >
AI Assistants\n3. Click on 'Manage settings' for 'Elastic AI Assistant
for Security'\n4. Observe the navigation is to a wrong URL\n\n## Basic
License: \nNow the `Elastic AI Assistant for Security` should be
disabled under\n`Basic license`:\n\n<img width=\"2560\" height=\"1238\"
alt=\"Screenshot 2025-07-24 at 09 48
02\"\nsrc=\"https://github.com/user-attachments/assets/f77193c4-9909-449a-8093-4e5b521e9f17\"\n/>\n\n\n**Basic
license: When landing directly
on**\n`/app/management/kibana/securityAiAssistantManagement`:\n<img
width=\"2560\" height=\"1286\" alt=\"Screenshot 2025-07-25 at 14 21
49\"\nsrc=\"https://github.com/user-attachments/assets/074ebcde-ee4f-458f-8082-9741e2d5f8d3\"\n/>\n\n\n##
Trial license:\n\n<img width=\"2560\" height=\"1240\" alt=\"Screenshot
2025-07-23 at 17 19
17\"\nsrc=\"https://github.com/user-attachments/assets/dc14e77e-1df8-40d1-813e-af49e432ab08\"\n/>\n\n\n##
Trial license without Manage > AI settings Kibana feature:\n\n**No AI
Assistant in the side menu:**\n\n<img width=\"1502\" height=\"814\"
alt=\"Screenshot 2025-07-25 at 14 19
16\"\nsrc=\"https://github.com/user-attachments/assets/e0a389b8-4b08-4612-9699-94f6e8d941f7\"\n/>\n\n\n**Observability:**\n<img
width=\"1508\" height=\"817\" alt=\"Screenshot 2025-07-25 at 14 17
49\"\nsrc=\"https://github.com/user-attachments/assets/39a50d87-c34b-4f46-a056-7ba071154b87\"\n/>\n\n**Security:**\n<img
width=\"1509\" height=\"819\" alt=\"Screenshot 2025-07-25 at 14 18
14\"\nsrc=\"https://github.com/user-attachments/assets/549d6ba1-9033-4d40-b18f-6a276a481388\"\n/>\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"ebe304b4807fccff8e16996d1cbab835cc0391ca","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","ci:project-deploy-observability","Team:Security
Generative
AI","backport:version","v9.1.0","v8.19.0","v9.2.0","v9.0.5"],"title":"[AI
Assistant] Security Assistant settings landed on the wrong page on basic
license","number":229163,"url":"https://github.com/elastic/kibana/pull/229163","mergeCommit":{"message":"[AI
Assistant] Security Assistant settings landed on the wrong page on basic
license (#229163)\n\n##
Summary\n\nhttps://github.com//issues/226409\n\nSteps to
reproduce:\n\n1. Change the license of the build to basic ( Stack
Management > License\nmanagement)\n2. Navigate to the Stack Management >
AI Assistants\n3. Click on 'Manage settings' for 'Elastic AI Assistant
for Security'\n4. Observe the navigation is to a wrong URL\n\n## Basic
License: \nNow the `Elastic AI Assistant for Security` should be
disabled under\n`Basic license`:\n\n<img width=\"2560\" height=\"1238\"
alt=\"Screenshot 2025-07-24 at 09 48
02\"\nsrc=\"https://github.com/user-attachments/assets/f77193c4-9909-449a-8093-4e5b521e9f17\"\n/>\n\n\n**Basic
license: When landing directly
on**\n`/app/management/kibana/securityAiAssistantManagement`:\n<img
width=\"2560\" height=\"1286\" alt=\"Screenshot 2025-07-25 at 14 21
49\"\nsrc=\"https://github.com/user-attachments/assets/074ebcde-ee4f-458f-8082-9741e2d5f8d3\"\n/>\n\n\n##
Trial license:\n\n<img width=\"2560\" height=\"1240\" alt=\"Screenshot
2025-07-23 at 17 19
17\"\nsrc=\"https://github.com/user-attachments/assets/dc14e77e-1df8-40d1-813e-af49e432ab08\"\n/>\n\n\n##
Trial license without Manage > AI settings Kibana feature:\n\n**No AI
Assistant in the side menu:**\n\n<img width=\"1502\" height=\"814\"
alt=\"Screenshot 2025-07-25 at 14 19
16\"\nsrc=\"https://github.com/user-attachments/assets/e0a389b8-4b08-4612-9699-94f6e8d941f7\"\n/>\n\n\n**Observability:**\n<img
width=\"1508\" height=\"817\" alt=\"Screenshot 2025-07-25 at 14 17
49\"\nsrc=\"https://github.com/user-attachments/assets/39a50d87-c34b-4f46-a056-7ba071154b87\"\n/>\n\n**Security:**\n<img
width=\"1509\" height=\"819\" alt=\"Screenshot 2025-07-25 at 14 18
14\"\nsrc=\"https://github.com/user-attachments/assets/549d6ba1-9033-4d40-b18f-6a276a481388\"\n/>\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"ebe304b4807fccff8e16996d1cbab835cc0391ca"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229163","number":229163,"mergeCommit":{"message":"[AI
Assistant] Security Assistant settings landed on the wrong page on basic
license (#229163)\n\n##
Summary\n\nhttps://github.com//issues/226409\n\nSteps to
reproduce:\n\n1. Change the license of the build to basic ( Stack
Management > License\nmanagement)\n2. Navigate to the Stack Management >
AI Assistants\n3. Click on 'Manage settings' for 'Elastic AI Assistant
for Security'\n4. Observe the navigation is to a wrong URL\n\n## Basic
License: \nNow the `Elastic AI Assistant for Security` should be
disabled under\n`Basic license`:\n\n<img width=\"2560\" height=\"1238\"
alt=\"Screenshot 2025-07-24 at 09 48
02\"\nsrc=\"https://github.com/user-attachments/assets/f77193c4-9909-449a-8093-4e5b521e9f17\"\n/>\n\n\n**Basic
license: When landing directly
on**\n`/app/management/kibana/securityAiAssistantManagement`:\n<img
width=\"2560\" height=\"1286\" alt=\"Screenshot 2025-07-25 at 14 21
49\"\nsrc=\"https://github.com/user-attachments/assets/074ebcde-ee4f-458f-8082-9741e2d5f8d3\"\n/>\n\n\n##
Trial license:\n\n<img width=\"2560\" height=\"1240\" alt=\"Screenshot
2025-07-23 at 17 19
17\"\nsrc=\"https://github.com/user-attachments/assets/dc14e77e-1df8-40d1-813e-af49e432ab08\"\n/>\n\n\n##
Trial license without Manage > AI settings Kibana feature:\n\n**No AI
Assistant in the side menu:**\n\n<img width=\"1502\" height=\"814\"
alt=\"Screenshot 2025-07-25 at 14 19
16\"\nsrc=\"https://github.com/user-attachments/assets/e0a389b8-4b08-4612-9699-94f6e8d941f7\"\n/>\n\n\n**Observability:**\n<img
width=\"1508\" height=\"817\" alt=\"Screenshot 2025-07-25 at 14 17
49\"\nsrc=\"https://github.com/user-attachments/assets/39a50d87-c34b-4f46-a056-7ba071154b87\"\n/>\n\n**Security:**\n<img
width=\"1509\" height=\"819\" alt=\"Screenshot 2025-07-25 at 14 18
14\"\nsrc=\"https://github.com/user-attachments/assets/549d6ba1-9033-4d40-b18f-6a276a481388\"\n/>\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"ebe304b4807fccff8e16996d1cbab835cc0391ca"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Angela Chuang <[email protected]>
1 parent 8df264a commit cd51bcb
File tree
15 files changed
+82
-13
lines changed- x-pack
- solutions/security
- packages/ecs-data-quality-dashboard/impl/data_quality_panel/mock/test_providers
- plugins
- elastic_assistant/public/src/hooks/assistant_availability
- security_solution/public
- common/mock
15 files changed
+82
-13
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
| |||
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
110 | | - | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| 123 | + | |
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
| |||
Lines changed: 18 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | | - | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
148 | 157 | | |
149 | 158 | | |
150 | 159 | | |
151 | | - | |
| 160 | + | |
152 | 161 | | |
153 | 162 | | |
154 | 163 | | |
| |||
157 | 166 | | |
158 | 167 | | |
159 | 168 | | |
160 | | - | |
161 | | - | |
| 169 | + | |
162 | 170 | | |
163 | 171 | | |
164 | 172 | | |
| |||
188 | 196 | | |
189 | 197 | | |
190 | 198 | | |
191 | | - | |
| 199 | + | |
192 | 200 | | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
197 | 205 | | |
| 206 | + | |
198 | 207 | | |
199 | 208 | | |
200 | 209 | | |
201 | 210 | | |
202 | 211 | | |
203 | 212 | | |
204 | | - | |
| 213 | + | |
205 | 214 | | |
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
210 | | - | |
| 219 | + | |
211 | 220 | | |
212 | 221 | | |
213 | 222 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| |||
0 commit comments