1.2.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 `/etc/kubernetes/scheduler` file on the master node and set the `KUBE_SCHEDULER_ARGS` parameter to `'--profiling=false'`: `KUBE_SCHEDULER_ARGS='--profiling=false'`

Based on your system, restart the `kube-scheduler` service. For example: `systemctl restart kube-scheduler.service`

Impact:

Profiling information would not be available.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|14

Plugin: Unix

Control ID: cfee969f76d628c4f836303db61d00bbe205f3f2b7163756be441165c093f072