Skip to content

Custom and Specific Checks #1249

Aug 19, 2022 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

@nijdarshan Hi, You can modify a check or add a custom check via the below steps:

  1. download the cfg directory: https://github.com/aquasecurity/kube-bench/tree/main/cfg
  2. modify checks or add some custom checks via modifying files under the cfg/cis-1.6 directory
  3. run the kube-bench command with the --config-dir flag:
$ kube-bench run --config-dir </path/to/new/cfg/path> --benchmark cis-1.6

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@mozillazg
Comment options

@chen-keinan
Comment options

@nijdarshan
Comment options

@nijdarshan
Comment options

@mozillazg
Comment options

Answer selected by nijdarshan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants