feat(saas): support for library-only scanning (#1300)

This commit is contained in:
Kota Kanbe
2021-09-10 15:38:35 +09:00
committed by GitHub
parent 9ed5f2cac5
commit 4a72295de7
9 changed files with 3678 additions and 3316 deletions

View File

@@ -202,7 +202,7 @@ func DetectPkgCves(r *models.ScanResult, ovalCnf config.GovalDictConf, gostCnf c
} else if r.Family == constant.ServerTypePseudo {
logging.Log.Infof("pseudo type. Skip OVAL and gost detection")
} else {
return xerrors.Errorf("Failed to fill CVEs. r.Release is empty")
logging.Log.Infof("r.Release is empty. detect as pseudo type. Skip OVAL and gost detection")
}
for i, v := range r.ScannedCves {