feat(report): Change the priority of CVE information in Debian (#1202)

* fix (bug) : using ScanResults refs #1019

* feat(gost): WIP change priority of CVE Info in Debian

* feat(report): change priority of CVE Info in Debian

* refactor: move RemoveRaspbianPackFromResult

* style: remove comment

* fix: lint error

* style: change coding style

* feat(report): support reporting with gost alone

* fix: merge error

* refactor(debian): change code to be simple
This commit is contained in:
Norihiro NAKAOKA
2021-06-21 15:14:41 +09:00
committed by GitHub
parent 43b46cb324
commit b8db2e0b74
10 changed files with 223 additions and 69 deletions

View File

@@ -20,7 +20,7 @@ type DBDriver struct {
// Client is the interface of OVAL client.
type Client interface {
DetectUnfixed(*models.ScanResult, bool) (int, error)
DetectCVEs(*models.ScanResult, bool) (int, error)
CloseDB() error
}