Add group-by to vulnerabilities over time
What does this MR do and why?
This MR enhances a security dashboard panel that shows vulnerability trends over time. It adds the ability to view vulnerabilities grouped by either "severity level" (Critical, High, Medium, etc.) or "report type" (SAST, Dependency Scanning, etc.).
Additional improvements include better error handling that distinguishes between actual errors and cases where no data is available, showing appropriate messages for each situation.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the feature flag http://gdk.test:3000/rails/features/group_security_dashboard_new
- Navigate to a group's security dashboard
- Click on the group-by buttons and verify that the GraphQL query is being fetched with the correct arguments
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 #549107 (closed)
Edited by David Pisek

