Skip to content

Add deprecation to PipelineSecurityReportFinding.name

What does this MR do and why?

This MR adds a deprecation notice to PipelineSecurityReportFinding GraphQL name field as described in Deprecate PipelineSecurityReportFinding name Gr... (#346335 - closed).

Deprecation MR

Screenshots or screen recordings

Screen_Shot_2022-06-08_at_3.38.59_PM

How to set up and validate locally

  1. In the GraphiQL explorer, query a project that has a pipeline with security findings (https://gitlab.com/gitlab-examples/security/security-reports always works well).
query {
  project(fullPath:"<namespace/project>"){
    pipelines{
      nodes{
        iid
      }
    }
  }
}
  1. When using the following query, both name and title should return the same data, but name should not show up in the autocomplete (title should)
query {
  project(fullPath:"<namespace/project>"){
    pipeline(iid:"<pipeline id>"){
      securityReportFindings(first:10){
        nodes{
          name
          title
        }
      }
    }
  }
}

MR acceptance checklist

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

Edited by Mehmet Emin INAC

Merge request reports