OS Manuals

/usr/bin/check_for_rke2_network_policies.sh

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

From rancher-security-scan-0.4 0.4.5-r28 (enterprise-packages), captured 2026-11-08 by running check_for_rke2_network_policies.sh --help (exit 0) · terse output. permalink

/usr/bin/check_for_rke2_network_policies.sh: line 12: /var/lib/rancher/rke2/bin/kubectl: No such file or directory
/usr/bin/check_for_rke2_network_policies.sh: line 13: [: -eq: unary operator expected
/usr/bin/check_for_rke2_network_policies.sh: line 12: /var/lib/rancher/rke2/bin/kubectl: No such file or directory
/usr/bin/check_for_rke2_network_policies.sh: line 13: [: -eq: unary operator expected
/usr/bin/check_for_rke2_network_policies.sh: line 12: /var/lib/rancher/rke2/bin/kubectl: No such file or directory
/usr/bin/check_for_rke2_network_policies.sh: line 13: [: -eq: unary operator expected
true

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