Commit daefcfc
[Security] Mirror elasticsearch-controller role changes to Kibana roles.yml (#271321)
## Summary
Mirrors the index privilege changes from
[elasticsearch-controller#1777](elastic/elasticsearch-controller#1777)
(merged 2026-05-22 by @ymao1) into the Kibana serverless roles file.
Two changes:
- **Viewer role**: adds `read` on `.entity_analytics.entity-leads*` and
`.entity_analytics.watchlists.*` (watchlists + entity leads visibility
for read-only users)
- **Asset-criticality write roles**: adds `view_index_metadata` on
`.entities.v2.latest.security_*` for all roles that already have `write`
on `.asset-criticality.asset-criticality-*`. Affected: `editor`,
`platform_engineer`, `t2_analyst`, `t3_analyst`,
`threat_intelligence_analyst`, `rule_author`,
`endpoint_operations_analyst`, `endpoint_policy_manager`.
Context: @simitt flagged the requirement to mirror controller changes
into this file during controller PR review. The mismatch is not enforced
at runtime but the file header explicitly states it should stay in sync.
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 067cbe7 commit daefcfc
1 file changed
Lines changed: 16 additions & 6 deletions
File tree
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
285 | | - | |
286 | 288 | | |
287 | 289 | | |
288 | 290 | | |
| |||
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
| 296 | + | |
294 | 297 | | |
295 | 298 | | |
| 299 | + | |
296 | 300 | | |
297 | 301 | | |
298 | 302 | | |
| |||
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
| 345 | + | |
341 | 346 | | |
342 | 347 | | |
343 | 348 | | |
| 349 | + | |
344 | 350 | | |
345 | 351 | | |
346 | 352 | | |
| |||
364 | 370 | | |
365 | 371 | | |
366 | 372 | | |
367 | | - | |
368 | 373 | | |
369 | 374 | | |
370 | 375 | | |
| |||
432 | 437 | | |
433 | 438 | | |
434 | 439 | | |
| 440 | + | |
435 | 441 | | |
436 | 442 | | |
| 443 | + | |
437 | 444 | | |
438 | 445 | | |
439 | 446 | | |
| |||
457 | 464 | | |
458 | 465 | | |
459 | 466 | | |
460 | | - | |
461 | 467 | | |
462 | 468 | | |
463 | 469 | | |
| |||
507 | 513 | | |
508 | 514 | | |
509 | 515 | | |
| 516 | + | |
510 | 517 | | |
511 | 518 | | |
512 | 519 | | |
| 520 | + | |
513 | 521 | | |
514 | 522 | | |
515 | 523 | | |
| |||
538 | 546 | | |
539 | 547 | | |
540 | 548 | | |
541 | | - | |
542 | 549 | | |
543 | 550 | | |
544 | 551 | | |
| |||
790 | 797 | | |
791 | 798 | | |
792 | 799 | | |
| 800 | + | |
793 | 801 | | |
794 | 802 | | |
795 | 803 | | |
| |||
863 | 871 | | |
864 | 872 | | |
865 | 873 | | |
866 | | - | |
867 | 874 | | |
868 | 875 | | |
869 | 876 | | |
| |||
882 | 889 | | |
883 | 890 | | |
884 | 891 | | |
| 892 | + | |
885 | 893 | | |
886 | 894 | | |
| 895 | + | |
887 | 896 | | |
888 | 897 | | |
889 | 898 | | |
| |||
956 | 965 | | |
957 | 966 | | |
958 | 967 | | |
959 | | - | |
960 | 968 | | |
961 | 969 | | |
962 | 970 | | |
963 | 971 | | |
964 | 972 | | |
965 | 973 | | |
966 | 974 | | |
| 975 | + | |
967 | 976 | | |
968 | 977 | | |
| 978 | + | |
969 | 979 | | |
970 | 980 | | |
971 | 981 | | |
| |||
0 commit comments