Commit 792ed55
[Security Solution] [AI Assistant] Configure checkpoints and checkpoint-writes index templates for Elastic Assistant (#233604)
## Summary
Summarize your PR. If it involves visual changes include a screenshot or
gif.
Configures indices required by the Langgraph checkpointer for the
Elastic Assistant plugin.
### How to test
- Start Kibana
- Go to
http://localhost:5601/app/management/data/index_management/templates
- Verify the following index templates exist:
`.kibana-elastic-ai-assistant-index-template-checkpoint-writes`
`.kibana-elastic-ai-assistant-index-template-checkpoints`
<img width="1726" height="1040" alt="image"
src="https://github.com/user-attachments/assets/5f3ce118-1c8d-421b-a4f9-c6c9957945d2"
/>
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [X] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [X]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [X] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [X] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [X] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [X] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [X] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [X] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
### Identify risks
Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.
- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
---------
Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>1 parent d753695 commit 792ed55
File tree
7 files changed
+396
-164
lines changed- x-pack
- solutions/security/plugins/elastic_assistant
- server
- ai_assistant_service
7 files changed
+396
-164
lines changedLines changed: 87 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
82 | 96 | | |
83 | 97 | | |
84 | 98 | | |
| |||
149 | 163 | | |
150 | 164 | | |
151 | 165 | | |
152 | | - | |
153 | | - | |
154 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
155 | 194 | | |
156 | 195 | | |
157 | 196 | | |
| |||
212 | 251 | | |
213 | 252 | | |
214 | 253 | | |
215 | | - | |
| 254 | + | |
216 | 255 | | |
217 | 256 | | |
218 | 257 | | |
| |||
234 | 273 | | |
235 | 274 | | |
236 | 275 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | 276 | | |
244 | 277 | | |
245 | 278 | | |
246 | | - | |
| 279 | + | |
247 | 280 | | |
248 | 281 | | |
249 | 282 | | |
| |||
296 | 329 | | |
297 | 330 | | |
298 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
299 | 336 | | |
300 | 337 | | |
301 | 338 | | |
| |||
313 | 350 | | |
314 | 351 | | |
315 | 352 | | |
316 | | - | |
| 353 | + | |
317 | 354 | | |
318 | 355 | | |
319 | 356 | | |
| |||
326 | 363 | | |
327 | 364 | | |
328 | 365 | | |
329 | | - | |
| 366 | + | |
330 | 367 | | |
331 | 368 | | |
332 | | - | |
| 369 | + | |
| 370 | + | |
333 | 371 | | |
334 | 372 | | |
335 | 373 | | |
| |||
346 | 384 | | |
347 | 385 | | |
348 | 386 | | |
| 387 | + | |
349 | 388 | | |
350 | 389 | | |
351 | 390 | | |
| |||
364 | 403 | | |
365 | 404 | | |
366 | 405 | | |
367 | | - | |
| 406 | + | |
368 | 407 | | |
369 | 408 | | |
370 | 409 | | |
| |||
375 | 414 | | |
376 | 415 | | |
377 | 416 | | |
| 417 | + | |
| 418 | + | |
378 | 419 | | |
379 | 420 | | |
380 | | - | |
| 421 | + | |
381 | 422 | | |
382 | 423 | | |
383 | 424 | | |
384 | 425 | | |
385 | | - | |
| 426 | + | |
386 | 427 | | |
387 | 428 | | |
388 | 429 | | |
389 | | - | |
| 430 | + | |
390 | 431 | | |
391 | 432 | | |
| 433 | + | |
392 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
393 | 441 | | |
394 | 442 | | |
0 commit comments