@@ -21,15 +21,15 @@ type VulnerabilityRulePredicate struct {
21
21
22
22
type VulnerabilityRulePredicateExtra struct {
23
23
// Common fields for different predicate types
24
- Level * Level `json:"level,omitempty"`
25
- Age * int `json:"age,omitempty"`
26
- Days * int `json:"days,omitempty"`
27
- PkgType * string `json:"pkgType,omitempty"`
28
- VulnIDS []string `json:"vulnIds,omitempty"`
29
- Packages []Package `json:"packages,omitempty"`
30
- Key * string `json:"key,omitempty"`
31
- User * string `json:"user,omitempty"`
32
- Value interface {} `json:"value,omitempty"` // For image labels or CVSS score
24
+ Level * Level `json:"level,omitempty"`
25
+ Age * int `json:"age,omitempty"`
26
+ Days * int `json:"days,omitempty"`
27
+ PkgType * string `json:"pkgType,omitempty"`
28
+ VulnIDS []string `json:"vulnIds,omitempty"`
29
+ Packages []Package `json:"packages,omitempty"`
30
+ Key * string `json:"key,omitempty"`
31
+ User * string `json:"user,omitempty"`
32
+ Value interface {} `json:"value,omitempty"` // For image labels or CVSS score
33
33
34
34
// Disclosure Date Range
35
35
StartDate * string `json:"startDate,omitempty"`
0 commit comments