1.2.8 Ensure that the --authorization-mode argument includes Node

Warning! Audit Deprecated

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

View Next Audit Version

Information

Restrict kubelet nodes to reading only objects associated with them.

Rationale:

The Node authorization mode only allows kubelets to read Secret, ConfigMap, PersistentVolume, and PersistentVolumeClaim objects associated with their nodes.

Solution

Edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the --authorization-mode parameter to a value that includes Node.

--authorization-mode=Node,RBAC

Impact:

None

Default Value:

By default, Node authorization is not enabled.

References:

https://kubernetes.io/docs/admin/kube-apiserver/

https://kubernetes.io/docs/admin/authorization/node/

https://github.com/kubernetes/kubernetes/pull/46076

https://acotten.com/post/kube17-security

See Also

https://workbench.cisecurity.org/files/2662

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CSCv6|9.1, CSCv7|9.2

Plugin: Unix

Control ID: 47e182a2f10058f32536dbe5a3efda0d1bd9c8b2ced92aeb1a23a5e675dda08a