Skip to content

Add `blobPath` field to `VulnerabilityLocation` types where `file` field is present in GraphQL

What does this MR do?

This MR adds blobPath field to the VulnerabilityLocation types (CoverageFuzzingType, DependencyScanningType, SastType, SecretDetectionType) in GraphQL where file field is present to make the file path and line number a link in vulnerability list page.

Screenshots (strongly suggested)

image

Screen_Shot_2021-01-25_at_4.18.51_PM

Screen_Shot_2021-01-25_at_4.19.09_PM

Screen_Shot_2021-01-25_at_4.19.23_PM

Screen_Shot_2021-01-25_at_4.19.38_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #267521 (closed)

Edited by Mehmet Emin INAC

Merge request reports