Skip to content

Add a hasAiResolution filter to vulnerabilitySeveritiesCountResolver

What does this MR do and why?

We need to be able to filter vulnerabilities on whether they have the "Resolve with Duo" button enabled.

This button is enabled if a finding's CWE value is included in this [hard-coded list][0] of CWE values.

In a previous MRs we exposed this filter in the VulnerabilitiesResolver1

This commit updates the vulnerabilitySeveritiesCountResolver to make use of the same filter.

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

Changelog: changed
EE: true
MR: !167433 (merged)
epic: &15036
Related to: #481529 (closed)

  1. Expose `has_ai_resolution` filter via GraphQL (!166312 - merged)

Edited by Michael Becker

Merge request reports

Loading