Add CVSS score to YAML schema
Based on our discussion, this MR applies the following changes:
- Integrate new fields to the YAML schema (
cvss_v2
,cvss_v3
) that can be used to store theCVSS
vectors in versions 2 and 3. I would like to make it optional at the beginning until we have this data for all advisories; once we have cvss vectors for all advisories, we can enforce the presence of eithercvss_v2
orcvss_v3
. - Change the YAML schema validation accordingly
- Update the documentation to reflect the schema change
Related Issue: gitlab-org/gitlab#8213 (closed)
Edited by Julian Thome