Skip to content

Render Solution Card with Remediation

Samantha Ming requested to merge 382205-solution-card-remediation into master

What does this MR do and why?

With the MR > !108584 (merged), the remediation field is now available. In this MR, the field is exposed in the frontend.

Has Remediations No Remediations
image see Note section for known bug

🐛 Note:

There is a known bug that triggers an error when the remediation is null. This will be fixed in this issue > #388655 (closed).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

How to set up and verify

Setup

  1. Have the related FF enabled: echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
  2. You'll need an EE License
  3. You'll need to have runners enabled (See $2408961 for setting up a runner)
  4. Import https://gitlab.com/gitlab-examples/security/security-reports
  5. Run a pipeline on master

Validation

  1. Go to the pipeline's security report tab
  2. Select Tool filter > "Container Scanning"
  3. Click on the finding with the title "CVE ..."
  4. Verify that the "Solution" renders as expected

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

Edited by Samantha Ming

Merge request reports

Loading