Skip to content

Update pipeline sec report when dismissing a finding via modal

What does this MR do and why?

It fixes an issue in which the pipeline vulnerability report does not update after a finding gets dismissed via the modal and "hide dismissed" is active.

The cause for the issue was a change within the Vuex data responsible for handling filters.

Screenshots or screen recordings

current fixed
current fixed

How to set up and validate locally

Setup

  1. You'll need an EE License
  2. You'll need to have runners enabled (See $2408961 for setting up a runner)
  3. Import https://gitlab.com/gitlab-examples/security/security-reports
  4. Run a pipeline on master

Validation

  1. Go to the pipeline's security report tab
  2. Click on a finding and dismiss it from the modal
  3. If the "hide dismissed" toggle is enabled the dismissed finding should not be visible any more
  4. The toast message that pops up should allow you to undo the dismissal

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

Edited by David Pisek

Merge request reports

Loading