For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

The --make-iptables-util-chains argument is not set to True misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_K8S_145

Category - Subcategory

Kubernetes - Native Security Controls

Provider

OTHER

Severity

LOW

Framework

Helm, Kubernetes, Kustomize

Impact

Allow Kubelet to manage iptables. Kubelets can automatically manage the required changes to iptables based on how you choose your networking options for the pods. It is recommended to let kubelets manage the changes to iptables. This ensures that the iptables configuration remains in sync with pods networking configuration. Manually configuring iptables with dynamic pod network configuration changes might hamper the communication between pods/containers and to the outside world. You might have iptables rules too restrictive or too open.

How to Fix

Resource: 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

    • --make-iptables-util-chains=true image: gcr.io/google_containers/kubelet-amd64:v1.6.0 ...", }


Last updated

Was this helpful?