Skip to content

Add enhanced vulnerability reporting filtering by activity

What does this MR do and why?

Relates #433366 (closed)

This adds the activity token to the enhanced filtering search bar on the vulnerability report.

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

demo-activity-token

How to set up and validate locally

  1. Fork https://gitlab.com/gitlab-examples/security/security-reports/
  2. Create vulnerabilities by running a pipeline against the default branch
  3. Go the Secure > Vulnerability Report inside the project
  4. Make sure to enable the feature flag: echo "Feature.enable(:vulnerability_report_advanced_filtering)" | rails c
  5. Interact with the Filtered Search (Activity Token)

Note: there is a known issue where only the filtering of the token you last interacted with will apply the filtering, see Apply all filtering from token on vulnerability... (#454413 - closed)

Edited by Lorenz van Herwaarden

Merge request reports