Kubernetes Controller Manager must disable profiling.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-242409SRG-APP-000141-CTR-000315CNTR-K8-000910SV-242409r960963_rule2025-02-202
Description
Kubernetes profiling provides the ability to analyze and troubleshoot Controller Manager events over a web interface on a host port. Enabling this service can expose details about the Kubernetes architecture. This service must not be enabled unless deemed necessary.
ℹ️ Check
Change to the /etc/kubernetes/manifests/ directory on the Kubernetes Control Plane. Run the command: grep -i profiling * If the setting "profiling" is not configured in the Kubernetes Controller Manager manifest file or it is set to "True", this is a finding.
✔️ Fix
Edit the Kubernetes Controller Manager manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Set the argument "--profiling value" to "false".