Skip to content

Display GLAS diff-based scan in pipeline security tab

Summary

We need to display a banner in the Pipeline security tab 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.

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 the SecurityReportsSummary to retrieve the updated graphql query containing partial scan mode flag.
  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 🤖