-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_vulnerability_detail.go
31 lines (29 loc) · 1.61 KB
/
model_vulnerability_detail.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
30
31
/*
* 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
type VulnerabilityDetail struct {
// Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
CpeUri string `json:"cpe_uri,omitempty"`
// Required. The name of the package where the vulnerability was found.
Package_ string `json:"package,omitempty"`
// The min version of the package in which the vulnerability exists.
MinAffectedVersion *PackageVersion `json:"min_affected_version,omitempty"`
// Deprecated, do not use. Use fixed_location instead. The max version of the package in which the vulnerability exists.
MaxAffectedVersion *PackageVersion `json:"max_affected_version,omitempty"`
// The severity (eg: distro assigned severity) for this vulnerability.
SeverityName string `json:"severity_name,omitempty"`
// A vendor-specific description of this note.
Description string `json:"description,omitempty"`
// The fix for this specific package version.
FixedLocation *VulnerabilityVulnerabilityLocation `json:"fixed_location,omitempty"`
// The type of package; whether native or non native(ruby gems, node.js packages etc).
PackageType string `json:"package_type,omitempty"`
// Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
IsObsolete bool `json:"is_obsolete,omitempty"`
}