Commit 526b903
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Security Solution] Hide plugins UI via config without disabling them
(#222821)](#222821)
<!--- Backport version: 10.0.0 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Sergi
Massaneda","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-06-09T16:21:13Z","message":"[Security
Solution] Hide plugins UI via config without disabling them
(#222821)\n\n## Summary\n\nIntroduces a new config in the security
serverless plugin to hide other\nplugins' UI (making them
inaccessible).\n\nIt uses the `core.application.registerAppUpdater`
API.\n\n@elastic/kibana-visualizations I did some cleanup around the
custom\nglobal search's `registerResultProvider`, which seems to be a
workaround\nfrom times before `visibleIn` functionalities. This way, the
search\nresult depends on the plugin being accessible. My change
introduces a\nsmall text update in the search result, though. To me, now
it looks more\nconsistent with the rest of the analytics applications.
Let me know if\nyou think that's an issue.\n\n| Prev | New
|\n|------|-----|\n|\n\n|\n\n|\n\n###
Goal\n\nThis is needed by the `AI4DSOC` team to hide some applications
outside\nthe Security
Solution:\n\n```yaml\nxpack.securitySolutionServerless.inaccessibleApps:\n
- dashboards\n - visualize\n - maps\n -
lens\n```\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>\nCo-authored-by:
Tomasz Ciecierski
<[email protected]>","sha":"81c4fc89993e804ab795fabc67c8ce1fc2be1487","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","backport:version","v9.1.0","v8.19.0"],"title":"[Security
Solution] Hide plugins UI via config without disabling
them","number":222821,"url":"https://github.com/elastic/kibana/pull/222821","mergeCommit":{"message":"[Security
Solution] Hide plugins UI via config without disabling them
(#222821)\n\n## Summary\n\nIntroduces a new config in the security
serverless plugin to hide other\nplugins' UI (making them
inaccessible).\n\nIt uses the `core.application.registerAppUpdater`
API.\n\n@elastic/kibana-visualizations I did some cleanup around the
custom\nglobal search's `registerResultProvider`, which seems to be a
workaround\nfrom times before `visibleIn` functionalities. This way, the
search\nresult depends on the plugin being accessible. My change
introduces a\nsmall text update in the search result, though. To me, now
it looks more\nconsistent with the rest of the analytics applications.
Let me know if\nyou think that's an issue.\n\n| Prev | New
|\n|------|-----|\n|\n\n|\n\n|\n\n###
Goal\n\nThis is needed by the `AI4DSOC` team to hide some applications
outside\nthe Security
Solution:\n\n```yaml\nxpack.securitySolutionServerless.inaccessibleApps:\n
- dashboards\n - visualize\n - maps\n -
lens\n```\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>\nCo-authored-by:
Tomasz Ciecierski
<[email protected]>","sha":"81c4fc89993e804ab795fabc67c8ce1fc2be1487"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222821","number":222821,"mergeCommit":{"message":"[Security
Solution] Hide plugins UI via config without disabling them
(#222821)\n\n## Summary\n\nIntroduces a new config in the security
serverless plugin to hide other\nplugins' UI (making them
inaccessible).\n\nIt uses the `core.application.registerAppUpdater`
API.\n\n@elastic/kibana-visualizations I did some cleanup around the
custom\nglobal search's `registerResultProvider`, which seems to be a
workaround\nfrom times before `visibleIn` functionalities. This way, the
search\nresult depends on the plugin being accessible. My change
introduces a\nsmall text update in the search result, though. To me, now
it looks more\nconsistent with the rest of the analytics applications.
Let me know if\nyou think that's an issue.\n\n| Prev | New
|\n|------|-----|\n|\n\n|\n\n|\n\n###
Goal\n\nThis is needed by the `AI4DSOC` team to hide some applications
outside\nthe Security
Solution:\n\n```yaml\nxpack.securitySolutionServerless.inaccessibleApps:\n
- dashboards\n - visualize\n - maps\n -
lens\n```\n\n---------\n\nCo-authored-by: kibanamachine
<[email protected]>\nCo-authored-by:
Tomasz Ciecierski
<[email protected]>","sha":"81c4fc89993e804ab795fabc67c8ce1fc2be1487"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
---------
Co-authored-by: Tomasz Ciecierski <[email protected]>
1 parent 9b3c35e commit 526b903
File tree
14 files changed
+111
-135
lines changed- config
- x-pack
- platform/plugins
- private/translations/translations
- solutions/security/plugins/security_solution_serverless
- common
- public
- server
- test/security_solution_cypress/cypress
- e2e/ai4dsoc/capabilities
- screens
- urls
14 files changed
+111
-135
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
6 | 14 | | |
7 | 15 | | |
8 | 16 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27762 | 27762 | | |
27763 | 27763 | | |
27764 | 27764 | | |
27765 | | - | |
27766 | 27765 | | |
27767 | 27766 | | |
27768 | 27767 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27735 | 27735 | | |
27736 | 27736 | | |
27737 | 27737 | | |
27738 | | - | |
27739 | 27738 | | |
27740 | 27739 | | |
27741 | 27740 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27793 | 27793 | | |
27794 | 27794 | | |
27795 | 27795 | | |
27796 | | - | |
27797 | 27796 | | |
27798 | 27797 | | |
27799 | 27798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
480 | 482 | | |
481 | 483 | | |
482 | 484 | | |
| |||
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | 516 | | |
529 | 517 | | |
530 | 518 | | |
| |||
Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
57 | 65 | | |
58 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
Lines changed: 34 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
10 | 18 | | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
16 | | - | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
47 | | - | |
| 55 | + | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
51 | | - | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | | - | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
59 | | - | |
60 | 67 | | |
| 68 | + | |
61 | 69 | | |
62 | 70 | | |
63 | 71 | | |
| |||
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
Lines changed: 9 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 30 | | |
37 | 31 | | |
38 | 32 | | |
39 | 33 | | |
| 34 | + | |
40 | 35 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 36 | + | |
51 | 37 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 38 | + | |
55 | 39 | | |
| 40 | + | |
| 41 | + | |
56 | 42 | | |
57 | 43 | | |
58 | 44 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 45 | + | |
63 | 46 | | |
64 | 47 | | |
65 | 48 | | |
| |||
0 commit comments