TMA-KUBERNETES-1.1.20
Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive
Description
Ensure that Kubernetes PKI certificate files have permissions of 644 or more restrictive. The benchmark marks this recommendation Manual.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.
Run the below command (based on the file location on your system) on the Control Plane node. For example, stat -c '%a' /etc/kubernetes/pki/*.crt Verify that the permissions are 644 or more restrictive. or ls -l /etc/kubernetes/pki/*.crt Verify -rw------
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Run the below command (based on the file location on your system) on the Control Plane node. For example, chmod -R 644 /etc/kubernetes/pki/*.crt
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- kubernetescontrol-planefile-permissions
- Référence
- CIS Kubernetes Benchmark v2.1.0 - 1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive