Add grouping option to the key of the filtered-search
What does this MR do and why?
- Add to
Security inventory
page the ability to define grouping by keys (titles
), not just in thevalue
as today. - Create a new FF called
security_inventory_filtering
- Note: only after: gitlab-org/gitlab-services/design.gitlab.com!4698 (closed) (Gitlab-UI MR repository) is merged, you will see the UI as expected.
References
Feature flag - #552224
Gitlab-UI repository MR - gitlab-org/gitlab-services/design.gitlab.com!4698 (closed)
Gitlab repository Issue - #537455 (closed)
Epic link: &16484
Design link: #515955 (closed)
Screenshots or screen recordings
Before | After |
---|---|
Screen Recording 2025-06-29 at 22.46.14.mov | Screen Recording 2025-06-29 at 22.03.19.mov |
How to set up and validate locally
- Enable FF:
Feature.enable(:security_inventory_dashboard, group)
andFeature.enable(security_inventory_filtering, group)
- To get the group parameter, use
group = Group.find(33)
with any group ID.
- To get the group parameter, use
- Create a sub group under this group
- Enable one of the scanners project under your sub group and run the pipeline.
- Visit the inventory page for that group: http://gdk.test:3000/groups/flightjs/-/security/inventory
- Click on the search bar and valid that everything looking as expected.
- Note: only after: gitlab-org/gitlab-services/design.gitlab.com!4698 (closed) (Gitlab-UI MR repository) is merged, you will see the UI as expected.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #537455 (closed)