Skip to content

Commit 7044962

Browse files
Google APIscopybara-github
authored andcommitted
feat: Import of Grafeas from Github
PiperOrigin-RevId: 513603965
1 parent 4f7c037 commit 7044962

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

grafeas/v1/swagger/grafeas.swagger.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,6 +3128,10 @@
31283128
"cvssVersion": {
31293129
"$ref": "#/definitions/v1CVSSVersion",
31303130
"description": "CVSS version used to populate cvss_score and severity."
3131+
},
3132+
"cvssV2": {
3133+
"$ref": "#/definitions/v1CVSS",
3134+
"description": "The full description of the v2 CVSS for this vulnerability."
31313135
}
31323136
},
31333137
"description": "A security vulnerability that can be found in resources."
@@ -3192,6 +3196,10 @@
31923196
"$ref": "#/definitions/v1CVSSVersion",
31933197
"description": "Output only. CVSS version used to populate cvss_score and severity.",
31943198
"readOnly": true
3199+
},
3200+
"cvssV2": {
3201+
"$ref": "#/definitions/v1CVSS",
3202+
"description": "The cvss v2 score for the vulnerability."
31953203
}
31963204
},
31973205
"description": "An occurrence of a severity vulnerability on a resource."

grafeas/v1/vulnerability.proto

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ message VulnerabilityNote {
152152
// CVSS version used to populate cvss_score and severity.
153153
grafeas.v1.CVSSVersion cvss_version = 7;
154154

155-
// Next free ID is 8.
155+
// The full description of the v2 CVSS for this vulnerability.
156+
CVSS cvss_v2 = 8;
157+
158+
// Next free ID is 9.
156159
}
157160

158161
// An occurrence of a severity vulnerability on a resource.
@@ -247,5 +250,8 @@ message VulnerabilityOccurrence {
247250
// Output only. CVSS version used to populate cvss_score and severity.
248251
grafeas.v1.CVSSVersion cvss_version = 11;
249252

250-
// Next free ID is 12.
253+
// The cvss v2 score for the vulnerability.
254+
CVSS cvss_v2 = 12;
255+
256+
// Next free ID is 13.
251257
}

0 commit comments

Comments
 (0)