Skip to content
代码片段 群组 项目
未验证 提交 c32f32d4 编辑于 作者: Michael Becker's avatar Michael Becker 提交者: GitLab
浏览文件

Add a hasAiResolution filter to vulnerabilitySeveritiesCountResolver

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
`VulnerabilitiesResolver`[^1]

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

[^1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166312

---

Changelog: changed
EE: true
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167433
epic: https://gitlab.com/groups/gitlab-org/-/epics/15036
Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/481529
上级 9c343f02
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册