Skip to content

Replace vuln feedback REST call with GraphQL

What does this MR do and why?

Replace vuln feedback REST call with GraphQL

This MR replaces the REST call to create an issue from within the security MR-widget with a GraphQL mutation. This is part of a depreciation effort.

Screenshots or screen recordings

No visible changes.

How to set up and validate locally

  1. Clone https://gitlab.com/gitlab-examples/security/security-reports
  2. Create a new MR by modifying a file
  3. Visit the MR page
  4. Click on a finding and create an issue
  5. Verify that the browser gets redirected to the newly created issue

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 #424560 (closed)

Edited by David Pisek

Merge request reports

Loading