1.4.1 Ensure that the --profiling argument is set to false

Information

Disable profiling, if not needed.

Rationale:

Profiling allows for the identification of specific performance bottlenecks. It generates a significant amount of program data that could potentially be exploited to uncover system and program details. If you are not experiencing any bottlenecks and do not need the profiler for troubleshooting purposes, it is recommended to turn it off to reduce the potential attack surface.

Solution

Edit the Scheduler pod specification file /etc/kubernetes/manifests/kube-scheduler.yaml file on the master node and set the below parameter.

--profiling=false

Impact:

Profiling information would not be available.

Default Value:

By default, profiling is enabled.

References:

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

https://github.com/kubernetes/community/blob/master/contributors/devel/profiling.md

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|14, CSCv7|4

Plugin: Unix

Control ID: 117253aa318da7f41c44ed63aed52ec1d8c1f3ebfeb9ff681256b3195025b8eb