Skip to content

Add Remediation type for Security Report Findings

What does this MR do and why?

This MR adds the remediations field to the PipelineSecurityReportFinding graphQL type used in the securityReportFinding(s) field.

Screenshots or screen recordings

Screen_Shot_2023-01-10_at_8.09.53_PM

How to set up and validate locally

Test query on security finding with a remediation (Example Project):

query {
  project(fullPath:"<project path>") {
    pipeline(iid:"<pipeline iid>") {
      securityReportFinding(uuid:"<uuid>") {
        remediations {
          summary
          diff
        }
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #384508 (closed)

Edited by Jonathan Schafer

Merge request reports