3.1.14 Ensure that the --authorization-mode argument is not set to AlwaysAllow

Information

Do not always authorize all requests.

Rationale:

The federation apiserver, by default, allows all requests. You should restrict this behavior to only allow the authorization modes that you explicitly use in your environment. For example, if you don't use REST APIs in your environment, it is a good security best practice to switch-off that capability.

Solution

Edit the deployment specs and set '--authorization-mode' argument to a value other than 'AlwaysAllow'

kubectl edit deployments federation-apiserver-deployment --namespace=federation-system

Impact:

Only authorized requests will be served.

See Also

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

Item Details

Category: ACCESS CONTROL

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

Plugin: Unix

Control ID: b971cc1bb2072bb85fcee637138c1a2a01700e5a3623b00da793e950500aea0d