> ## Documentation Index
> Fetch the complete documentation index at: https://cloudanix.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Ensure Kubeconfig Kubelet Conf File Permissions Are Restrictive

### More Info:

Ensure that the kubelet.conf file has permissions of 644 or more restrictive

### Risk Level

Medium

### Address

Security

### Compliance Standards

* CIS Kubernetes

### Triage and Remediation

<Tabs>
  <Tab title="Remediation">
    ### Remediation

    <AccordionGroup>
      <Accordion title="Using Console" defaultOpen="true">
        Automated AAC auditing has been modified to allow CIS-CAT to input a variable for the `<PATH>`/`<FILENAME>` of the kubelet config file. Please set \$kubelet\_config=`<PATH>` based on the file location on your system for example: export kubelet\_config=/etc/kubernetes/kubelet.conf To perform the audit manually: Run the below command (based on the file location on your system) on each worker node. For example, stat -c "%a %U:%G" /etc/kubernetes/kubelet.conf Verify that the ownership is set to root:root. Verify that the permissions are 600 or more restrictive.
      </Accordion>
    </AccordionGroup>
  </Tab>
</Tabs>

### Additional Reading:

* [https://kubernetes.io/docs/admin/kubelet/](https://kubernetes.io/docs/admin/kubelet/)
