C-0129 - Ensure that the API Server --profiling argument is set to false
Description of the the issue
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.
What does this control test
Disable profiling, if not needed.
How to check it manually
Run the following command on the Control Plane node:
ps -ef | grep kube-apiserver
Verify that the
--profiling argument is set to
Edit the API server pod specification file
/etc/kubernetes/manifests/kube-apiserver.yaml on the Control Plane node and set the below parameter.
Profiling information would not be available.
By default, profiling is enabled.
Updated 8 days ago