Fix false positive: ignore oval info when kernel major version is different. (#541)

This commit is contained in:
Kota Kanbe
2017-11-10 23:33:43 +09:00
committed by GitHub
parent 1de9e8c086
commit 6af49f4d55
4 changed files with 132 additions and 5 deletions

View File

@@ -197,6 +197,7 @@ func (p *TuiCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) s
c.Conf.CvssScoreOver = p.cvssScoreOver
c.Conf.IgnoreUnscoredCves = p.ignoreUnscoredCves
c.Conf.IgnoreUnfixed = p.ignoreUnfixed
c.Conf.RefreshCve = p.refreshCve
log.Info("Validating config...")
if !c.Conf.ValidateOnTui() {