CNTR-K8-000350 - The Kubernetes API server must have the secure port set.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

By default, the API server will listen on what is rightfully called the secure port, port 6443. Any requests to this port will perform authentication and authorization checks. If this port is disabled, anyone who gains access to the host on which the Control Plane is running has full control of the entire cluster over encrypted traffic.

Open the secure port by setting the API server's '--secure-port' flag to a value other than '0'.

Solution

Edit the Kubernetes API Server manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane.

Set the value of '--secure-port' to a value greater than '0'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V1R11_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000213, Rule-ID|SV-242389r927243_rule, STIG-ID|CNTR-K8-000350, Vuln-ID|V-242389

Plugin: Unix

Control ID: 8ca63197e6e918b153a3025e85345082f3be5a9b39dcab2479ddbf2a8db366b7