Skip to content

Support model 15 of the schemas

Fabien Catteau requested to merge model-15-support into main

What does this MR do?

Change fields of the Vulnerability struct type so that analyzers can generate reports that validate version 15-0-0 of the Security Report Schemas.

  • Change Vulnerability.Scanner to a pointer, and set omitempty.
  • Set omitempty for Vulnerability.Category.
  • Set omitempty for Vulnerability.CompareKey.
  • Set omitempty for Ref.CompareKey.
  • Document Category, Message, and Confidence as deprecated.
  • Release new minor version of report. This is a transition version, and the major version doesn't change.

What are the relevant issue numbers?

gitlab-org/gitlab#368140 (closed)

Does this MR meet the acceptance criteria?

Edited by Lucas Charles

Merge request reports