We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1638c4b commit fd2f946Copy full SHA for fd2f946
detector/library.go
@@ -246,6 +246,7 @@ func (d libraryDetector) getVulnDetail(tvuln types.DetectedVulnerability) (vinfo
246
{
247
Key: d.scanner.GetLibraryKey(),
248
Name: tvuln.PkgName,
249
+ Version: tvuln.InstalledVersion,
250
FixedIn: tvuln.FixedVersion,
251
Path: d.scanner.LockfilePath,
252
},
models/library.go
@@ -114,6 +114,7 @@ func (s LibraryScanner) GetLibraryKey() string {
114
type LibraryFixedIn struct {
115
Key string `json:"key,omitempty"`
116
Name string `json:"name,omitempty"`
117
+ Version string `json:"version,omitempty"`
118
FixedIn string `json:"fixedIn,omitempty"`
119
Path string `json:"path,omitempty"`
120
}
0 commit comments