Add download-patch to GraphQL pipeline modal
What does this MR do and why?
Adds "Download Patch to resolve" button to new, GraphQL finding modal.
Screenshots or screen recordings
How to set up and validate locally
Setup
- Have the related FF enabled:
echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
- You'll need an EE License
- You'll need to have runners enabled (See $2408961 for setting up a runner)
- Import https://gitlab.com/gitlab-org/govern/demos/sandbox/minac/test-remediations
- Run a pipeline on master
Validation
- Go to the pipeline's security report tab
- Open a finding
- Verify that the button renders and the patch can be downloaded
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #403227 (closed)
Edited by David Pisek