Display GLAS diff-based scan in MR security widget

Summary

We need to display a label in the MR security widget to indicate to users that the GLAS scan is a diff-based scan. It should also contain a link directing users to more details about how the scan works.

Fixed vulnerabilities should also be hidden in this widget. See context.

See MVC: Enable Diff-Based Scanning in MRs for Fast... (&17758 - closed) on how this issue fits in the whole plan.

References

Design: SAST diff scanning (#536041 - closed)

Main diff-based scanning epic: Faster Advanced SAST: Diff-based scanning in MRs (&16790 - closed)

MVC implementation epic: MVC: Enable Diff-Based Scanning in MRs for Fast... (&17758 - closed)

Implementation Plan

  1. Update WidgetSecurityReports to call the new graphql query and replace the existing enabled_reports data. Also include the new partial scan mode data.
  2. Reference design issue and implement new UI.
  3. Run E2E tests locally to ensure backwards compatibility https://handbook.gitlab.com/handbook/engineering/development/sec/security-risk-management/security-insights/#quality-and-e2e-specs
Edited by 🤖 GitLab Bot 🤖