Add support for Redhat openshift 4.0 cis 1.1.0 (#860)

This commit is contained in:
Yoav Rotem
2021-04-29 17:08:41 +03:00
committed by GitHub
parent d528400881
commit 68c2ee2ebf
14 changed files with 2267 additions and 28 deletions

View File

@@ -28,7 +28,7 @@ var nodeCmd = &cobra.Command{
Short: "Run Kubernetes benchmark checks from the node.yaml file.",
Long: `Run Kubernetes benchmark checks from the node.yaml file in cfg/<version>.`,
Run: func(cmd *cobra.Command, args []string) {
bv, err := getBenchmarkVersion(kubeVersion, benchmarkVersion, viper.GetViper())
bv, err := getBenchmarkVersion(kubeVersion, benchmarkVersion, getPlatformName(), viper.GetViper())
if err != nil {
exitWithError(fmt.Errorf("unable to determine benchmark version: %v", err))
}