TMAegis
Más reglas para kubernetes

TMA-KUBERNETES-1.1.20

Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive

AltaNivel 1Revisión manualkubernetes

Descripción

Ensure that Kubernetes PKI certificate files have permissions of 644 or more restrictive. The benchmark marks this recommendation Manual.

Cómo se verifica

Método de auditoría: Revisión manual

Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --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------

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

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

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
kubernetescontrol-planefile-permissions
Referencia
CIS Kubernetes Benchmark v2.1.0 - 1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive