Skip to content

feat: report.FilterDisabledRules should filter both vulnerabilities and primary_identifiers

Lucas Charles requested to merge fix-398809 into main

What does this MR do?

With the rollout of gitlab-org/gitlab#368284 (closed) there's a nuance in terms of rule removal that we missed. Custom rulesets disable rules by removing from Vulnerabilities but do not affect Scan.PrimaryIdentifiers which was missed previously. As such, it is not correctly filtering out the disabled values.

What are the relevant issue numbers?

Addresses gitlab-org/gitlab#398809 (closed)

Does this MR meet the acceptance criteria?

Merge request reports