From 3cb7d217e456f822f02c059973559e5c90eabf1d Mon Sep 17 00:00:00 2001 From: Paul Honig Date: Wed, 20 Jan 2021 16:45:09 +0100 Subject: [PATCH] Add detection for Linux Mint and Debian --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1d34ead..b4ba73b 100644 --- a/main.go +++ b/main.go @@ -130,7 +130,7 @@ func executeCheck(event *types.Event) (int, error) { var numSec int var numCrit int var numImp int - if osID == "ubuntu" { + if osID == "ubuntu" || osID == "linuxmint" || osID == "debian" { sev, numPatch, numSec, numImp, numCrit, checkErr = ubuntu.CheckPatch(plugin.secCntWarn, plugin.secCntCrit) } else if osID == "rhel" { sev, numPatch, numSec, numImp, numCrit, checkErr = redhat.CheckPatch(plugin.secCntWarn, plugin.secCntCrit)