1.1.4 Ensure that the --insecure-allow-any-token argument is not set

Information

Do not allow any insecure tokens

Rationale:

Accepting insecure tokens would allow any token without actually authenticating anything. User information is parsed from the token and connections are allowed.

Solution

Edit the `/etc/kubernetes/apiserver` file on the master node and remove the `--insecure-allow-any-token` argument from the `KUBE_API_ARGS` parameter. Based on your system, restart the `kube-apiserver` service. For example: `systemctl restart kube-apiserver.service`

Impact:

None

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2, CSCv6|16

Plugin: Unix

Control ID: d7ea9b0d64030e7e17a442d048638e4d15681283bec6d7596832515e0d4721d0