Add vulnerabilities by age chart to project dashboard

What does this MR do and why?

Add vulnerabilities by age chart to project dashboard

Implement the Vulnerabilities By Age chart for the project-level security dashboard, bringing feature parity with the group-level dashboard while appropriately simplifying for project-level scope.

References

Screenshots or screen recordings

gdk.test_3000_gitlab-org_security-reports_-security_dashboard_vulnerabilitiesByAge.groupBy_reportType__1

How to set up and validate locally

  1. Enable feature flag: project_total_risk_score_chart (http://gdk.test:3000/rails/features/project_vulnerabilities_by_age_chart)
  2. Make sure to have a project with vulnerabilities
  3. Visit Secure > Security Dashboard
  4. Validate Vulnerabilities By Age is showing 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 gitlab-org#21021

Edited by Savas Vedova

Merge request reports

Loading