Skip to content

Allow Gitlab to identify aggregated vulnerabilities

Craig Smith requested to merge make_aggregated_vulnerability_cve_unique into master

What does this MR do?

When Gitlab ingests the DAST JSON report, it identifies vulnerabilities by the cve. In the case that DAST has run on a project which created a number of vulnerabilities, and then DAST runs again, but this time with aggregated vulnerabilities enabled, Gitlab is unable to differentiate the aggregated vulnerabilities from the non-aggregated ones. This results in gitlab-org/gitlab#327563 (closed)

This MR updates the JSON report so that the cve for any aggregated vulnerability ends in -aggregated, allowing Gitlab to differentiate between the two.

What are the relevant issue numbers?

gitlab-org/gitlab#327563 (closed)

Does this MR meet the acceptance criteria?

Edited by Craig Smith

Merge request reports