Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/future-architect/vuls int…
Browse files Browse the repository at this point in the history
…o MaineK00n/go-cti
  • Loading branch information
sadayuki-matsuno committed May 9, 2022
2 parents acad114 + 2158fc6 commit 2fbe98a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions detector/detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ func isPkgCvesDetactable(r *models.ScanResult) bool {
return false
}

if r.ScannedBy == "trivy" {
logging.Log.Infof("r.ScannedBy is trivy. Skip OVAL and gost detection")
if r.ScannedVia == "trivy" {
logging.Log.Infof("r.ScannedVia is trivy. Skip OVAL and gost detection")
return false
}

Expand Down

0 comments on commit 2fbe98a

Please sign in to comment.