Add sast/dast identification on job

What does this MR do and why?

Adds a badge to quickly identify SAST/DAST job artifacts on the artifacts view.

Changelog: changed

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2025-01-14_at_1.40.11_PM Screenshot_2025-01-21_at_10.37.18_AM

Popover

Screenshot_2025-01-21_at_10.46.45_AM

How to set up and validate locally

  1. Clone https://gitlab.com/gitlab-examples/security/security-reports on your local GDK
  2. Run a pipeline
  3. Visit the artifacts view
  4. View a job without a report (does not show badge)
  5. View a job with a report (does show badge)

Related to #502255 (closed)

Edited by Payton Burdette

Merge request reports

Loading