Fix -ignore-unscored-cves

This commit is contained in:
Kota Kanbe
2017-05-23 17:47:41 +09:00
committed by kota kanbe
parent 73b011eba7
commit 0a012273ec
5 changed files with 11 additions and 35 deletions

View File

@@ -159,7 +159,7 @@ func msgText(r models.ScanResult) string {
return fmt.Sprintf("%s\n%s\n>%s",
notifyUsers,
serverInfo,
r.CveSummary(config.Conf.IgnoreUnscoredCves))
r.CveSummary())
}
func toSlackAttachments(scanResult models.ScanResult) (attaches []*attachment) {