mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-28 10:58:20 +00:00
Update docs about the --outputfile flag (#1094)
This commit is contained in:
parent
3b4e87cbc0
commit
9f92e81361
@ -172,7 +172,7 @@ func init() {
|
|||||||
RootCmd.PersistentFlags().BoolVar(&filterOpts.Unscored, "unscored", true, "Run the unscored CIS checks")
|
RootCmd.PersistentFlags().BoolVar(&filterOpts.Unscored, "unscored", true, "Run the unscored CIS checks")
|
||||||
RootCmd.PersistentFlags().StringVar(&skipIds, "skip", "", "List of comma separated values of checks to be skipped")
|
RootCmd.PersistentFlags().StringVar(&skipIds, "skip", "", "List of comma separated values of checks to be skipped")
|
||||||
RootCmd.PersistentFlags().BoolVar(&includeTestOutput, "include-test-output", false, "Prints the actual result when test fails")
|
RootCmd.PersistentFlags().BoolVar(&includeTestOutput, "include-test-output", false, "Prints the actual result when test fails")
|
||||||
RootCmd.PersistentFlags().StringVar(&outputFile, "outputfile", "", "Writes the JSON results to output file")
|
RootCmd.PersistentFlags().StringVar(&outputFile, "outputfile", "", "Writes the results to output file when run with --json or --junit")
|
||||||
|
|
||||||
RootCmd.PersistentFlags().StringVarP(
|
RootCmd.PersistentFlags().StringVarP(
|
||||||
&filterOpts.CheckList,
|
&filterOpts.CheckList,
|
||||||
|
@ -23,7 +23,7 @@ Flag | Description
|
|||||||
--noremediations | Disable printing of remediations section to stdout.
|
--noremediations | Disable printing of remediations section to stdout.
|
||||||
--noresults | Disable printing of results section to stdout.
|
--noresults | Disable printing of results section to stdout.
|
||||||
--nototals | Disable calculating and printing of totals for failed, passed, ... checks across all sections
|
--nototals | Disable calculating and printing of totals for failed, passed, ... checks across all sections
|
||||||
--outputfile | Writes the JSON results to output file
|
--outputfile | Writes the results to output file when run with --json or --junit
|
||||||
--pgsql | Save the results to PostgreSQL
|
--pgsql | Save the results to PostgreSQL
|
||||||
--scored | Run the scored CIS checks (default true)
|
--scored | Run the scored CIS checks (default true)
|
||||||
--skip string | List of comma separated values of checks to be skipped
|
--skip string | List of comma separated values of checks to be skipped
|
||||||
|
Loading…
Reference in New Issue
Block a user