diff --git a/scan/redhatbase.go b/scan/redhatbase.go index e212b8ff..eec046eb 100644 --- a/scan/redhatbase.go +++ b/scan/redhatbase.go @@ -52,7 +52,7 @@ func detectRedhat(c config.ServerInfo) (bool, osTypeInterface) { release := result[2] switch strings.ToLower(result[1]) { - case "centos", "centos linux": + case "centos", "centos linux", "centos stream": cent := newCentOS(c) cent.setDistro(config.CentOS, release) return true, cent