The --protect-kernel-defaults argument is not set to True misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_K8S_144
Category - Subcategory
Kubernetes - Native Security Controls
Provider
OTHER
Severity
LOW
Framework
Helm, Kubernetes, Kustomize
Impact
Protect tuned kernel parameters from overriding kubelet default kernel parameter values. Kernel parameters are usually tuned and hardened by the system administrators before putting the systems into production. These parameters protect the kernel and the system. Your kubelet kernel defaults that rely on such parameters should be appropriately set to match the desired secured system state. Ignoring this could potentially lead to running pods with undesired kernel behavior.
How to Fix
Kind: Pod [source,go]
{ "apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: component: kubelet tier: control-plane name: kubelet namespace: kube-system spec: containers:
command:
kubelet
--protect-kernel-defaults=true image: gcr.io/google_containers/kubelet-amd64:v1.6.0 ...", }
Last updated
Was this helpful?
