mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 22:25:33 +01:00
Merge pull request #50 from aquasecurity/autorun-version-2.0.0
Autorun version 2.0.0
This commit is contained in:
commit
7c38116323
2 changed files with 2 additions and 2 deletions
2
app.go
2
app.go
|
@ -19,7 +19,7 @@ func app(cmd *cobra.Command, args []string) {
|
|||
if linuxCisVersion != "" {
|
||||
version = linuxCisVersion
|
||||
} else {
|
||||
version = "1.1.0"
|
||||
version = "2.0.0"
|
||||
}
|
||||
|
||||
path, err := getDefinitionFilePath(version)
|
||||
|
|
2
root.go
2
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")
|
||||
|
|
Loading…
Add table
Reference in a new issue