diff --git a/cmd/util.go b/cmd/util.go index c63295cc2ab0851b8b6ad68bd5241b2942fce0ec..f2a34f34aebb3fdcb38ff03dca23e86a29e2f246 100644 --- a/cmd/util.go +++ b/cmd/util.go @@ -68,6 +68,8 @@ func cleanIDs(list string) map[string]bool { // ps execs out to the ps command; it's separated into a function so we can write tests func ps(proc string) string { + // TODO: truncate proc to 15 chars + // See https://github.com/aquasecurity/kube-bench/issues/328#issuecomment-506813344 cmd := exec.Command("ps", "-C", proc, "-o", "cmd", "--no-headers") out, err := cmd.Output() if err != nil {