OS Manuals

/usr/bin/check_for_network_policies.sh

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

From rancher-security-scan-0.9 0.9.7-r2 (enterprise-packages), captured 2026-11-09 by running check_for_network_policies.sh --help (exit 0) · terse output. permalink

E1109 15:16:57.195645       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:57.201061       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:57.201915       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:57.203525       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
E1109 15:16:57.203891       4 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused"
The connection to the server localhost:8080 was refused - did you specify the right host or port?
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.