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

The --profiling argument for controller managers is not set to False misconfiguration detected in co

Rule Details

Cortex AppSec Rule ID

APPSEC_K8S_107

Category - Subcategory

Kubernetes - Native Security Controls

Provider

OTHER

Severity

MEDIUM

Framework

Helm, Kubernetes, Kustomize

Impact

Disable profiling, if not needed. Profiling allows for the identification of specific performance bottlenecks. It generates a significant amount of program data that could potentially be exploited to uncover system and program details. If you are not experiencing any bottlenecks and do not need the profiler for troubleshooting purposes, it is recommended to turn it off to reduce the potential attack surface.

How to Fix

Kind: Pod [source,go]

{ " apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: component: kube-controller-manager tier: control-plane name: kube-controller-manager namespace: kube-system spec: containers:

  • command:

  • kube-controller-manager

    • --profiling=false image: gcr.io/google_containers/kube-controller-manager-amd64:v1.6.0", }


Last updated

Was this helpful?