![]() `A comma-delimited list of checks to run as specified in CIS document. RootCmd.PersistentFlags().StringVar(&outputFile,"outputfile","","Writes the JSON results to output file") RootCmd.PersistentFlags().BoolVar(&includeTestOutput,"include-test-output",false,"Prints the test's output") RootCmd.PersistentFlags().BoolVar(&jsonFmt,"json",false,"Prints the results as JSON") RootCmd.Flags().StringVarP(&cfgDir,"config-dir","D","cfg","directory to get benchmark definitions") RootCmd.Flags().StringVarP(&dockerVersion,"version","","17.06","Specify Docker version, automatically detected if unset") RootCmd.PersistentFlags().BoolVar(&noRemediations,"noremediations",false,"Disable printing of remediations section") RootCmd.PersistentFlags().BoolVar(&noSummary,"nosummary",false,"Disable printing of summary section") RootCmd.PersistentFlags().BoolVar(&noResults,"noresults",false,"Disable printing of results section") Cobra also supports local flags, which will only run ![]() ![]() RootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.docker-bench.yaml)") Convoy plugin explanation driver To view information on plugins managed by Docker, This document describes the Docker Engine plugins generally available in Dockerngine. Cobra supports Persistent Flags, which, if defined here, Here you will define your flags and configuration settings. Long:`This tool runs the CIS Docker Benchmark ()`, //帮助信息的文字内容 It supports vendor-specific extensions like snapshots, backups, and restores. Convoy is a Docker volume plugin for a variety of storage back-ends. Short:"Docker-bench is a Go application that checks whether Docker is deployed securely", //帮助信息的文字内容 A Docker Volume Plugin, Managing Persistent Container Volumes Overview. This tar archive contained the static binaries required to run Convoy on a Linux system, once the. RootCmd represents the base command when called without any subcommands To install Convoy, we downloaded a release file from GitHub.
0 Comments
Leave a Reply. |