-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsoftware.go
More file actions
24 lines (22 loc) · 854 Bytes
/
software.go
File metadata and controls
24 lines (22 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package fleet
type (
Software struct {
ID int `json:"id"`
Name string `json:"name"`
Version string `json:"version"`
Source string `json:"source"`
GeneratedCpe string `json:"generated_cpe"`
Vulnerabilities []Vulnerability `json:"vulnerabilities"`
InstalledPaths []string `json:"installed_paths"`
}
Vulnerability struct {
CVE string `json:"cve"`
DetailsLink string `json:"details_link"`
CVSSScore float64 `json:"cvss_score"`
EPSSProbability float64 `json:"epss_probability"`
CISAKnownExploit bool `json:"cisa_known_exploit"`
CVEPublished string `json:"cve_published"`
CVEDescription string `json:"cve_description"`
ResolvedInVersion string `json:"resolved_in_version"`
}
)