Adding SAST and DAST adherence checks in UI
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
How to set up and validate locally
- You need to have a group with Ultimate license.
- Create a project under the group.
- 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')
- Open the compliance dashboard for the group and in adherence checks dashboard , you should see sast and dast scanners adherence checks, something like following:
Related to #440722
Edited by Hitesh Raghuvanshi