mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
fix(report): change github format version to required (#2229)
This commit is contained in:
@@ -55,7 +55,7 @@ type Detector struct {
|
||||
}
|
||||
|
||||
type DependencySnapshot struct {
|
||||
Version int `json:"version,omitempty"`
|
||||
Version int `json:"version"`
|
||||
Detector Detector `json:"detector"`
|
||||
Metadata Metadata `json:"metadata,omitempty"`
|
||||
Ref string `json:"ref,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user