Skip to content

Commit 3e904c1

Browse files
Added support for CVSSv4
Signed-off-by: Steve Springett <[email protected]>
1 parent 888c1de commit 3e904c1

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

schema/bom-1.5.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,8 @@ enum ScoreMethod {
651651
SCORE_METHOD_OWASP = 4;
652652
// Other scoring method
653653
SCORE_METHOD_OTHER = 5;
654+
// Common Vulnerability Scoring System v3.1 - https://www.first.org/cvss/v4-0/
655+
SCORE_METHOD_CVSSV4 = 6;
654656
}
655657

656658
message Advisory {

schema/bom-1.5.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,6 +1492,7 @@
14921492
"CVSSv2",
14931493
"CVSSv3",
14941494
"CVSSv31",
1495+
"CVSSv4",
14951496
"OWASP",
14961497
"other"
14971498
]

schema/bom-1.5.xsd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2659,6 +2659,14 @@ limitations under the License.
26592659
</xs:documentation>
26602660
</xs:annotation>
26612661
</xs:enumeration>
2662+
<xs:enumeration value="CVSSv4">
2663+
<xs:annotation>
2664+
<xs:documentation xml:lang="en">
2665+
The rating is based on CVSS v4.0 standard
2666+
https://www.first.org/cvss/v4-0/
2667+
</xs:documentation>
2668+
</xs:annotation>
2669+
</xs:enumeration>
26622670
<xs:enumeration value="OWASP">
26632671
<xs:annotation>
26642672
<xs:documentation xml:lang="en">

0 commit comments

Comments
 (0)