Skip to content

Add action dropdown to bulk vulnerability updates

Lorenz van Herwaarden requested to merge selection-summary-action-dropdown into master

What does this MR do and why?

Related #408361 (closed)

This adds an action dropdown in the selection summary component behind a new feature flag enhanced_vulnerability_bulk_updates.

It has 1 option "Change status", and upon clicking that option, the status update form for vulnerabilities is shown.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2025-01-22_at_10.27.34 Screenshot_2025-01-22_at_10.32.42

How to set up and validate locally

  1. Enable feature flag: http://gdk.test:3000/rails/features/enhanced_vulnerability_bulk_updates
  2. Import security reports
  3. Run pipeline on master
  4. Go to vulnerability report and select some vulnerabilities
  5. Validate there is a "Select action" dropdown. Validate it has 1 option "Change status".
  6. Select that option and validate it now shows the "Change status" dropdown.
Edited by Lorenz van Herwaarden

Merge request reports

Loading