Skip to content

Commit 1f0978a

Browse files
Merge pull request #195 from CycloneDX/v1.5-dev-cvssv4
Added support for CVSSv4
2 parents 68ee653 + 710ea09 commit 1f0978a

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

schema/bom-1.5.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,8 @@ enum ScoreMethod {
691691
SCORE_METHOD_OWASP = 4;
692692
// Other scoring method
693693
SCORE_METHOD_OTHER = 5;
694+
// Common Vulnerability Scoring System v3.1 - https://www.first.org/cvss/v4-0/
695+
SCORE_METHOD_CVSSV4 = 6;
694696
}
695697

696698
message Advisory {

schema/bom-1.5.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,11 +1543,12 @@
15431543
"scoreMethod": {
15441544
"type": "string",
15451545
"title": "Method",
1546-
"description": "Specifies the severity or risk scoring methodology or standard used.\n\n* CVSSv2 - [Common Vulnerability Scoring System v2](https://www.first.org/cvss/v2/)\n* CVSSv3 - [Common Vulnerability Scoring System v3](https://www.first.org/cvss/v3-0/)\n* CVSSv31 - [Common Vulnerability Scoring System v3.1](https://www.first.org/cvss/v3-1/)\n* OWASP - [OWASP Risk Rating Methodology](https://owasp.org/www-community/OWASP_Risk_Rating_Methodology)",
1546+
"description": "Specifies the severity or risk scoring methodology or standard used.\n\n* CVSSv2 - [Common Vulnerability Scoring System v2](https://www.first.org/cvss/v2/)\n* CVSSv3 - [Common Vulnerability Scoring System v3](https://www.first.org/cvss/v3-0/)\n* CVSSv31 - [Common Vulnerability Scoring System v3.1](https://www.first.org/cvss/v3-1/)\n* CVSSv4 - [Common Vulnerability Scoring System v4](https://www.first.org/cvss/v4-0/)\n* OWASP - [OWASP Risk Rating Methodology](https://owasp.org/www-community/OWASP_Risk_Rating_Methodology)",
15471547
"enum": [
15481548
"CVSSv2",
15491549
"CVSSv3",
15501550
"CVSSv31",
1551+
"CVSSv4",
15511552
"OWASP",
15521553
"other"
15531554
]

schema/bom-1.5.xsd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,6 +2796,14 @@ limitations under the License.
27962796
</xs:documentation>
27972797
</xs:annotation>
27982798
</xs:enumeration>
2799+
<xs:enumeration value="CVSSv4">
2800+
<xs:annotation>
2801+
<xs:documentation xml:lang="en">
2802+
The rating is based on CVSS v4.0 standard
2803+
https://www.first.org/cvss/v4-0/
2804+
</xs:documentation>
2805+
</xs:annotation>
2806+
</xs:enumeration>
27992807
<xs:enumeration value="OWASP">
28002808
<xs:annotation>
28012809
<xs:documentation xml:lang="en">

0 commit comments

Comments
 (0)