The Kubernetes API server must have Alpha APIs disabled.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-242400SRG-APP-000033-CTR-000090CNTR-K8-000470SV-242400r960792_rule2025-02-202
Description
Kubernetes allows alpha API calls within the API server. The alpha features are disabled by default since they are not ready for production and likely to change without notice. These features may also contain security issues that are rectified as the feature matures. To keep the Kubernetes cluster secure and stable, these alpha features must not be used.
ℹ️ Check
On the Control Plane, change to the manifests' directory at /etc/kubernetes/manifests and run the command: grep -i feature-gates * Review the "--feature-gates" setting, if one is returned. If the "--feature-gate"s setting is available and contains the "AllAlpha" flag set to "true", this is a finding.
✔️ Fix
Edit any manifest file that contains the "--feature-gates" setting with "AllAlpha" set to "true". Set the value of "AllAlpha" to "false" or remove the setting completely. (AllAlpha - default=false)