Skip to content

Adding SAST and DAST adherence checks in UI

Hitesh Raghuvanshi requested to merge 440722-frontend-changes into master

What does this MR do and why?

In MRs for SAST and DAST scanners we are introducing adherence checks for SAST and DAST scanner runs on a project.

We need to add corresponding changes in UI.

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.

Related backend MRs.

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

image

How to set up and validate locally

  1. You need to have a group with Ultimate license.
  2. Create a project under the group.
  3. Open gdk rails console and create adherence checks for the sast and dast scanner runs for the project
project = Project.find(<project_id>)

sast_adherence_check = Projects::ComplianceStandards::Adherence.create(project_id: project.id, namespace_id: project.root_ancestor.id, status: 'success', check_name: 4, standard: 'gitlab')

dast_adherence_check = Projects::ComplianceStandards::Adherence.create(project_id: project.id, namespace_id: project.root_ancestor.id, status: 'success', check_name: 5, standard: 'gitlab')
  1. Open the compliance dashboard for the group and in adherence checks dashboard , you should see sast and dast scanners adherence checks, something like following:

image

Related to #440722

Edited by Hitesh Raghuvanshi

Merge request reports

Loading