1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-02-20 03:22:07 +00:00

Detect kube-controller in CMD (#326)

If kube-controller-manager is getting detected by older versions of
procps, it will only be detected if we're looking for kube-controller
(15 chars)

NOTE: "The command name is not the same as the command line. Previous versions of
       procps and the kernel truncated this command name to 15
       characters. This limitation is no longer present in both. If
       you depended on matching only 15 characters, you may no longer
       get a match."
This commit is contained in:
Manuel Rüger 2019-06-28 17:58:23 +02:00 committed by Liz Rice
parent e066ec69dd
commit 5e6cdfdb0e

View File

@ -45,6 +45,7 @@ master:
controllermanager:
bins:
- "kube-controller-manager"
- "kube-controller"
- "hyperkube controller-manager"
- "hyperkube kube-controller-manager"
- "controller-manager"