Skip to content

Display location in the Security Project Dashboard

What does this MR do?

Fixes #33467 (closed)

This will display vulnerability location instead of the project name in the Security Dashboard. This change is done for all the Security Dashboards except Group Dashboard, therefore it's applicable for both Project specific and Pipeline specific Security Dashboard.

This MR

  • defines Dashboard Types Enums
  • sets dashboardType for Group Security Dashboard explicitly
  • sets default dashboardType to be Project Security Dashboard
  • displays vulnerability location instead of project name
  • adds specs

Screenshots

Before After
image image

Future Improvements

The vulnerability location value displayed could be truncated smartly to show only relevant information maybe to discard the vulnerability. Thus, to implement that, firstly the truncate logic should be defined in our design system for each type of scanner result.

Does this MR meet the acceptance criteria?

Conformity

Edited by Dheeraj Joshi

Merge request reports