1. Home
  2. Security Hardening
  3. DISA STIG Kubernetes V1R4
  4. CNTR-K8-000350 – The Kubernetes API server must have the secure port set.

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

Details

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 master 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 Master Node. Set the argument –secure-port to a value greater than ‘0’.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Access Control.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles