Kubernetes PKI certificate files should have permissions of 600 or more restrictive

Set up the kubernetes integration.

Description

Ensure that Kubernetes PKI certificate files have permissions of 600 or more restrictive. Kubernetes makes use of a number of certificate files as part of the operation of its components. The permissions on these files should be set to 600 or more restrictive to protect their integrity.

Remediation

  1. Run the following command to adjust the file permissions:
    chmod -R 600 /etc/kubernetes/pki/*.crt