Skip to content

Update vulnerability report when bulk-dismissing

What does this MR do and why?

Currently, the vulnerability list does not get updated when a user bulk-dismisses. This MR adds a re-fetch of the list to fix this.

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

Bug report: #372099 (closed)

Verify the page-loading behavior

When Hide-dismissed enabled

  1. Dismiss a single vulnerability on a page with many vulnerabilities
  • verify that the page has refreshed and the dismissed vulnerability is not showing
  • verify that the currently applied filters persist
  1. Dismiss all vulnerabilities on a page
  • Verify that it loads the previous page if there are any
  • Verify that it does not load the previous page if there is only one

Hide-dismissed disabled

  1. Dismiss a single vulnerability on a page with many vulnerabilities -> verify that the page has refreshed and the dismissed vulnerability is showing as dismissed -> verify that the filters are all applied

  2. Dismiss all vulnerabilities on a page

  • Verify that it stays on the current page in any case

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

Edited by David Pisek

Merge request reports