kube-bench fails to check etcd data directory when --data-dir is relative or missing
kube-bench fails to check etcd data directory when --data-dir is relative or missing: a task in LegoFlow-SWE (Harbor dataset). Symptom : When etcd is started with a relative path for --data-dir (e.g., --data-dir=data.etcd ) or with no --data-dir flag at all, the CIS benchmark checks for etcd data…
The task
**Symptom**: When etcd is started with a relative path for `--data-dir` (e.g., `--data-dir=data.etcd`) or with no `--data-dir` flag at all, the CIS benchmark checks for etcd data directory permissions and ownership fail silently or produce incorrect results. The existing audit commands assume that `--data-dir` always…
Part of Lego-X/LegoFlow-SWE.