CIS Amazon Elastic Kubernetes Service (EKS) Benchmark - Node
Rules and Groups employed by this XCCDF Profile
-
Kubernetes Settings
Each section of this configuration guide includes information about the configuration of a Kubernetes cluster and a set of recommendations for hardening the configuration. For each hardening recomm...Group -
Kubernetes Kubelet Settings
The Kubernetes Kubelet is an agent that runs on each node in the cluster. It makes sure that containers are running in a pod. The kubelet takes a set of PodSpecs that are provided through various ...Group -
Disable Anonymous Authentication to the Kubelet
By default, anonymous access to the Kubelet server is enabled. This configuration check ensures that anonymous requests to the Kubelet server are disabled. Edit the Kubelet server configuration fil...Rule Medium Severity -
Ensure authorization is set to Webhook
Unauthenticated/unauthorized users should have no access to OpenShift nodes. The Kubelet should be set to only allow Webhook authorization. To ensure that the Kubelet requires authorization, valida...Rule Medium Severity -
kubelet - Hostname Override handling
Normally, OpenShift lets the kubelet get the hostname from either the cloud provider itself, or from the node's hostname. This ensures that the PKI allocated by the deployment uses the appropriate ...Rule Low Severity -
kubelet - Enable Certificate Rotation
To enable the kubelet to rotate client certificates, edit the kubelet configuration file <code>/etc/kubernetes/kubelet/kubelet-config.json</code> on the kubelet node(s) and set the below parameter:...Rule Medium Severity -
kubelet - Enable Client Certificate Rotation
To enable the kubelet to rotate client certificates, edit the kubelet configuration file <code>/etc/kubernetes/kubelet/kubelet-config.json</code> on the kubelet node(s) and set the below parameter:...Rule Medium Severity -
kubelet - Allow Automatic Firewall Configuration
The kubelet has the ability to automatically configure the firewall to allow the containers required ports and connections to networking resources and destinations parameters potentially creating a...Rule Medium Severity -
kubelet - Enable Protect Kernel Defaults
Protect tuned kernel parameters from being overwritten by the kubelet.
Rule Medium Severity -
kubelet - Enable Server Certificate Rotation
To enable the kubelet to rotate server certificates, edit the kubelet configuration file <code>/etc/kubernetes/kubelet/kubelet-config.json</code> on the kubelet node(s) and set the below parameter:...Rule Medium Severity -
kubelet - Do Not Disable Streaming Timeouts
Timouts for streaming connections should not be disabled as they help to prevent denial-of-service attacks. To configure streaming connection timeouts To set the <code>streamingConnectionIdleTimeou...Rule Medium Severity -
Kubernetes - Worker Node Settings
Contains evaluations for the worker node configuration settings.Group -
Verify Group Who Owns The Kubelet Configuration File
To properly set the group owner of/etc/kubernetes/kubelet/kubelet-config.json
, run the command:$ sudo chgrp root /etc/kubernetes/kubelet/kubelet-config.json
Rule Medium Severity -
Verify Group Who Owns The Worker Kubeconfig File
To properly set the group owner of/var/lib/kubelet/kubeconfig
, run the command:$ sudo chgrp root /var/lib/kubelet/kubeconfig
Rule Medium Severity -
Verify User Who Owns The Kubelet Configuration File
To properly set the owner of/etc/kubernetes/kubelet/kubelet-config.json
, run the command:$ sudo chown root /etc/kubernetes/kubelet/kubelet-config.json
Rule Medium Severity -
Verify User Who Owns The Worker Kubeconfig File
To properly set the owner of/var/lib/kubelet/kubeconfig
, run the command:$ sudo chown root /var/lib/kubelet/kubeconfig
Rule Medium Severity -
Verify Permissions on The Kubelet Configuration File
To properly set the permissions of/etc/kubernetes/kubelet/kubelet-config.json
, run the command:$ sudo chmod 0644 /etc/kubernetes/kubelet/kubelet-config.json
Rule Medium Severity -
Verify Permissions on the Worker Kubeconfig File
To properly set the permissions of/var/lib/kubelet/kubeconfig
, run the command:$ sudo chmod 0644 /var/lib/kubelet/kubeconfig
Rule Medium Severity
Node 2
The content of the drawer really is up to you. It could have form fields, definition lists, text lists, labels, charts, progress bars, etc. Spacing recommendation is 24px margins. You can put tabs in here, and can also make the drawer scrollable.