Skip to content

Add dismissal descriptions to mr widget data

What does this MR do and why?

In #413516 (closed) we'll make sure that clicking a finding the MR security reports widget opens the new standalone finding modal (guarded behind a feature flag). This new standalone finding modal depends on ee/app/assets/javascripts/security_dashboard/components/pipeline/vulnerability_dismissal_reason.vue which requires dismissal_descriptions to be injected.

Relates to #413516 (closed)

How to set up and validate locally

  1. Go to a merge request, like http://gdk.test:3000/root/security-reports/-/merge_requests/1
  2. in console, check that dismissal descriptions can be found in window.gl.mrWidgetData.dismissal_descriptions

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 Lorenz van Herwaarden

Merge request reports