C-0101 - Ensure that the Container Network Interface file ownership is set to root:root
Prerequisites
Run Kubescape with host sensor (see here)
Framework
cis-v1.23-t1.0.1
Severity
Medium
Description of the the issue
Container Network Interface provides various networking options for overlay networking. You should consult their documentation and restrict their respective file permissions to maintain the integrity of those files. Those files should be owned by root:root
.
Related resources
What does this control test
Ensure that the Container Network Interface files have ownership set to root:root
.
How to check it manually
Run the below command (based on the file location on your system) on the Control Plane node. For example,
stat -c %U:%G <path/to/cni/files>
Verify that the ownership is set to root:root
.
Remediation
Run the below command (based on the file location on your system) on the Control Plane node. For example,
chown root:root <path/to/cni/files>
Impact Statement
None
Default Value
NA
Example
No example
Updated 11 days ago