Skip to content

Implement Severity Token

Savas Vedova requested to merge 433364-add-severity-token into master

What does this MR do and why?

Implements the Severity Token for the Enhanced Filtering.

This MR does not:

  • Add a logic for query parameters
  • Add a logic for passing selected filters to the Vulnerability Report

I'll track these efforts in separate MRs.

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

severity-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. See the Filtered Search

Related to #433364 (closed)

Edited by Savas Vedova

Merge request reports