From 7ec95375e632c79b4d33ac95a47b82f580fd2b29 Mon Sep 17 00:00:00 2001 From: yoavrotems Date: Thu, 16 Apr 2020 23:26:04 +0300 Subject: [PATCH] Update root.go Update to automatically run with CIS version 2.0.0 configuration --- root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root.go b/root.go index 862db75..b71f28e 100644 --- a/root.go +++ b/root.go @@ -71,7 +71,7 @@ func init() { RootCmd.PersistentFlags().BoolVar(&noResults, "noresults", false, "Disable printing of results section") RootCmd.PersistentFlags().BoolVar(&noSummary, "nosummary", false, "Disable printing of summary section") RootCmd.PersistentFlags().BoolVar(&noRemediations, "noremediations", false, "Disable printing of remediations section") - RootCmd.Flags().StringVarP(&linuxCisVersion, "version", "", "1.1.0", "Specify linux cis version, automatically detected if unset") + RootCmd.Flags().StringVarP(&linuxCisVersion, "version", "", "2.0.0", "Specify linux cis version, automatically detected if unset") RootCmd.Flags().StringVarP(&cfgDir, "config-dir", "D", "cfg", "directory to get benchmark definitions") RootCmd.PersistentFlags().BoolVar(&jsonFmt, "json", false, "Prints the results as JSON") RootCmd.PersistentFlags().BoolVar(&includeTestOutput, "include-test-output", false, "Prints the test's output")