OS Manuals

/usr/bin/run.sh

Tests Kubernetes clusters for adherence to security best practices using kube-bench

From rancher-security-scan-0.6 0.6.11-r1 (enterprise-packages), captured 2026-11-09 by running run.sh --help (exit 1) · terse output. permalink

+ set -eE
++ date +%Y-%m-%d-%H-%M-%S-%N
+ defaultCMName=cis-2026-11-09-15-17-07-083887849
+ OUTPUT_CONFIGMAPNAME=cis-2026-11-09-15-17-07-083887849
+ SONOBUOY_NS=sonobuoy
+ SONOBUOY_POD_NAME=sonobuoy
+ DONE_ANNOTATION_KEY=field.cattle.io/sonobuoyDone
+ DONE_ANNOTATION_VALUE=true
+ ERROR_ANNOTATION_VALUE=error
+ ERROR_LOG_FILE=/tmp/kbs.error.log
+ USER_SKIP_LOCATION=/etc/kbs/userskip/config.json
+ NA_SKIP_LOCATION=/etc/kbs/notapplicable/config.json
+ DS_SKIP_LOCATION=/etc/kbs/defaultskip/config.json
+ SONOBUOY_OUTPUT_DIR=/tmp/sonobuoy
+ KB_SUMMARIZER_ROOT=/tmp/kb-summarizer
+ CONFIG_DIR=/etc/kube-bench/cfg
+ trap handle_error ERR
+ echo 'Rancher: Running CIS Benchmarks'
Rancher: Running CIS Benchmarks
+ rm -rf '/tmp/sonobuoy/*.tar.gz'
+ sonobuoy aggregator -v 3
time="2026-11-09T15:17:07Z" level=error msg="error loading sonobuoy configuration: open config: opening config file: open /etc/sonobuoy/config.json: no such file or directory"
+ tee -a /tmp/kbs.error.log
+ echo 'error running sonobuoy'
error running sonobuoy
+ exit 1

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.