Commit 46edfb1
[Security Solution][Attacks/Alerts][Navigation] detections top level link (elastic#232578) (elastic#242384)
## Summary
Epic: elastic#232342
Tickets:
* elastic#232578
* elastic#232581
* elastic#237175
These changes introduce a navigation for the new Alerts/Attacks
alignment work. Instead of having a root level "Alerts" navigation item
we add a new "Detections" item that will be a container for the all
alerts detections relevant pages.
This new "Detections" navigation item will allow users to navigate to
either the "Alerts" or the "Attacks" page.
### Key changes
**URL paths**:
* Alerts page: `/app/security/alerts`
* Attacks page: `/app/security/attacks`
* Links landing page: `/app/security/alert_detections`.
> [!NOTE]
> Since `detections` path has already been used in the past, we need to
keep reserved for the back compatibility. Also, for the same reason, I
did not change alerts page URL for the users to be able to use existing
alert details URLs and to avoid redirection logic.
**UPDATE**: Agreed that we gonna look into the possibility to reuse
`detections` in the URL path before removing the FF
elastic#242434
**Feature flag**:
Instead of using experimental feature flag configs, I switched to a
[FeatureFlag
service](https://github.com/elastic/kibana/blob/main/src/core/packages/feature-flags/README.mdx).
It is a core service and allows easy access to feature flags in various
parts of the kibana - including navigation, without us bringing extra
configs parsing/setup code into the plugins where we need to use it.
Right now, the experimental feature configs are not available in the
`security_solution_ess` plugin and we will need to setup experimental
feature flags there in order to be able to show/hide navigation changes.
Besides that, the FeatureFlag service allows dynamically evaluate FF -
somthing we can use later if needed.
### Global navigation
<img width="1830" height="1298" alt="Screenshot 2025-11-10 at 10 48 17"
src="https://github.com/user-attachments/assets/68b83eea-4ea9-44a5-9d98-2513fbdabf36"
/>
### v1 navigation
<img width="1830" height="1298" alt="Screenshot 2025-11-10 at 10 48 26"
src="https://github.com/user-attachments/assets/1ed488f2-3f66-47b3-8b62-bc96252173e0"
/>
### v2 navigation
<img width="1830" height="1298" alt="Screenshot 2025-11-10 at 10 48 43"
src="https://github.com/user-attachments/assets/6ffbfd24-4de3-437b-8685-d1fa12adc125"
/>
### Links landing page
<img width="1830" height="1298" alt="Screenshot 2025-11-10 at 10 48 22"
src="https://github.com/user-attachments/assets/07af9289-5aa0-4522-81f6-14382c084bb0"
/>
### Empty "Attacks" page
<img width="1830" height="1298" alt="Screenshot 2025-11-10 at 10 48 10"
src="https://github.com/user-attachments/assets/25f3a14c-1e43-4c95-9540-067ca2afe116"
/>
## Feature Flag
> [!NOTE]
> The feature is hidden behind the feature flag (in `kibana.dev.yml`):
```
feature_flags.overrides:
securitySolution.attacksAlertsAlignment: true
```
---------
Co-authored-by: kibanamachine <[email protected]>1 parent 6e9f563 commit 46edfb1
File tree
31 files changed
+966
-71
lines changed- x-pack/solutions/security
- plugins
- security_solution
- common
- public
- app
- links
- data_view_manager/hooks
- detections
- components/attacks
- pages
- attacks
31 files changed
+966
-71
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
11 | 21 | | |
12 | 22 | | |
13 | 23 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
100 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
101 | 110 | | |
102 | 111 | | |
103 | 112 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 178 | | |
183 | 179 | | |
184 | 180 | | |
| |||
0 commit comments