Skip to content

Add VR activity filter to project vulnerability report

Samantha Ming requested to merge 481528-add-vr-filter into master

What does this MR do and why?

This adds a new AI resolution filter to the Project level. The vulnerabilities will report accordingly when this activity is selected.

  • URL Query: ?activity=AI_RESOLUTION_AVAILABLE → GraphQL: hasAiResolution: true
  • URL Query: ?activity=AI_RESOLUTION_UNAVAILABLE → GraphQL: hasAiResolution: false

Note: the "Count" section, group and security control (instance) level is still WIP

Issue: #481528 (closed)

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

Activity Filter AI_RESOLUTION_AVAILABLE AI_RESOLUTION_UNAVAILABLE
image image image

How to set up and validate locally

  1. Enable feature flag: vulnerability_report_vr_filter
  2. It helps to also enable the FF: vulnerability_report_vr_badge
  3. Clone this project: https://staging.gitlab.com/govern-team-test/oxeye-rulez
  4. Go to the vulnerability report page
  5. Use the "Activity" token to filter by the Vulnerability resolution options

Prerequisites:

  1. Ensure "GitLab Duo features" is checked, (docs)
  2. Ensure it's running in SAAS, docs

Related to #481528 (closed)

Edited by Samantha Ming

Merge request reports

Loading