-
Notifications
You must be signed in to change notification settings - Fork 3
/
model_v1beta1vulnerability_details.go
29 lines (27 loc) · 1.51 KB
/
model_v1beta1vulnerability_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package grafeas
// Details of a vulnerability Occurrence.
type V1beta1vulnerabilityDetails struct {
Type_ string `json:"type,omitempty"`
// Output only. The note provider assigned Severity of the vulnerability.
Severity *VulnerabilitySeverity `json:"severity,omitempty"`
// Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
CvssScore float32 `json:"cvss_score,omitempty"`
// Required. The set of affected locations and their fixes (if available) within the associated resource.
PackageIssue []VulnerabilityPackageIssue `json:"package_issue,omitempty"`
// Output only. A one sentence description of this vulnerability.
ShortDescription string `json:"short_description,omitempty"`
// Output only. A detailed description of this vulnerability.
LongDescription string `json:"long_description,omitempty"`
// Output only. URLs related to this vulnerability.
RelatedUrls []V1beta1RelatedUrl `json:"related_urls,omitempty"`
// The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
EffectiveSeverity *VulnerabilitySeverity `json:"effective_severity,omitempty"`
}