#2151·kube-bench

Tests 4.1.3 and 4.1.4 do not pass if proxy kubeconfig is not present (regression from issue 699 ?)

Author: willemmCreated Sep 17, 2026Updated Sep 17, 2026

Overview

Tests 4.1.3 and 4.1.4 do not pass if /etc/kubernetes/proxy.conf is not present.

How did you run kube-bench?

Irrelevant. It is clear from the test code that it does not handle the case of not-present file correctly.

What happened?

Tests 4.1.3 and 4.1.4 did not pass

What did you expect to happen:

The text of those tests clearly state "If proxy kubeconfig file exists ..." Therefore, since that file does not exist, I expected the tests to pass.

Environment

cis-1.12, but cis-2.0 has the same problem, and presumably all of them have.