For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/k8s/kubelet_streaming_connection_timeout_disabled.md.
A documentation index is available at /llms.txt.
The --streaming-connection-idle-timeout flag should not be set to 0. The rule also checks container command entries in containers and initContainers, and the KubeletConfiguration field streamingConnectionIdleTimeout should not be set to 0s. Setting the timeout to zero disables the idle timeout and can allow connections to remain open indefinitely, increasing the risk of resource exhaustion or unintended exposure.