File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,18 @@ type EnrichmentRecord struct {
26
26
// ParsedVulnerabilities is an entity-component system describing discovered
27
27
// vulnerabilities.
28
28
type ParsedVulnerabilities struct {
29
- Updater string
29
+ // Updater is an ID for the Updater that produced this set of
30
+ // Vulnerabilities.
31
+ Updater string
32
+ // Vulnerability is the set of new and modified Vulnerabilities.
30
33
Vulnerability []Vulnerability
31
- Package []Package
32
- Distribution []Distribution
33
- Repository []Repository
34
+ // The following are indexed into via Vulnerability structs.
35
+ Package []Package
36
+ Distribution []Distribution
37
+ Repository []Repository
38
+ // Removed is a list of Vulnerabilities (the "Name" member) removed in the
39
+ // current set of Vulnerabilities.
40
+ Removed []string
34
41
}
35
42
36
43
// Vulnerability is all per-vulnerability information.
You can’t perform that action at this time.
0 commit comments