-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_vulnerability_vulnerability.go
24 lines (22 loc) · 1.26 KB
/
model_vulnerability_vulnerability.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
/*
* proto/v1beta1/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 gofeas
// Vulnerability provides metadata about a security vulnerability in a Note.
type VulnerabilityVulnerability struct {
// The CVSS score for this vulnerability.
CvssScore float32 `json:"cvss_score,omitempty"`
// Note provider assigned impact of the vulnerability.
Severity *VulnerabilitySeverity `json:"severity,omitempty"`
// All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
Details []VulnerabilityDetail `json:"details,omitempty"`
// The full description of the CVSSv3.
CvssV3 *VulnerabilityCvsSv3 `json:"cvss_v3,omitempty"`
// Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
WindowsDetails []VulnerabilityWindowsDetail `json:"windows_details,omitempty"`
}