-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cloud Security] [Findings] Adding grouping component (#169884)
## Summary It closes #168542 This PR introduces a new Grouping feature to the Findings page as described in #168542. It uses the Grouping component from the `@kbn/securitysolution-grouping` package abstracts all common code related to tables across our solutions. ### Changes included #### @kbn/securitysolution-grouping: - Updated grouping component logic to behave in toggle mode when maxGroupingLeves = 1 - Added an alternative label to the grouping component when when maxGroupingLeves = 1 ("Select grouping" instead of "Select up to 1 groupings") #### Findings page - Added group by component - Added default group by options: None (default), Resource, Rule name, Cloud account, Kubernetes - Reusing the latest findings table for rendering the table visualizations when expanding a group with a filter (added `nonPersistedFilter` to combine the group by filter with the Url Params filtering) #### Dashboard - Changed redirect link from the findings resources page to the findings page. ### Out of scope (not included) - Removing the code for the group by resource pages that are no longer used will be done in a separate ticket alongside code optimizations due to refactoring. - Case insensitive sort of the results as it will need to be addressed in a separate effort. - Custom rendering for each of the group by default views (to be addressed in separate efforts) ### Screenshot <img width="1495" alt="image" src="https://github.com/elastic/kibana/assets/19270322/72fe9119-5c7a-454a-a08b-dfc19baa6af4"> ### Recordings https://github.com/elastic/kibana/assets/19270322/f8897c96-5509-45df-a612-38e82d4fe6d1 https://github.com/elastic/kibana/assets/19270322/31867c62-d09f-4b71-b886-aeee83e6db8a --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
82173b5
commit 9c4847f
Showing
32 changed files
with
1,517 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
.../plugins/cloud_security_posture/public/common/hooks/use_cloud_posture_data_table/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export * from './use_cloud_posture_data_table'; |
Oops, something went wrong.