We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec40e2 commit 68e107aCopy full SHA for 68e107a
vulnerabilityreport.go
@@ -1,5 +1,7 @@
1
package claircore
2
3
+import "encoding/json"
4
+
5
// VulnerabilityReport provides a report of packages and their
6
// associated vulnerabilities.
7
type VulnerabilityReport struct {
@@ -17,4 +19,6 @@ type VulnerabilityReport struct {
17
19
Vulnerabilities map[string]*Vulnerability `json:"vulnerabilities"`
18
20
// a lookup table associating package ids with 1 or more vulnerability ids. keyed by package id
21
PackageVulnerabilities map[string][]string `json:"package_vulnerabilities"`
22
+ // a map of enrichments keyed by a type.
23
+ Enrichments map[string][]json.RawMessage `json:"enrichments"`
24
}
0 commit comments