Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: CNI file permissions more restrictive (600) #1301

Open
missa-wndrvr opened this issue Jun 18, 2024 · 1 comment
Open

feature request: CNI file permissions more restrictive (600) #1301

missa-wndrvr opened this issue Jun 18, 2024 · 1 comment

Comments

@missa-wndrvr
Copy link

missa-wndrvr commented Jun 18, 2024

What would you like to be added:
Ensuring the file permission of the multus-conf-file is set to 600 when copied to host.

Why is this needed:
CNI-related CIS Benchmarks include:

1.1.9	Ensure that the Container Network Interface file permissions are set to 600 or more restrictive
1.1.10	Ensure that the Container Network Interface file ownership is set to root:root

Currently:

root@user: stat -c '%a %n' /etc/cni/net.d/05-multus.conf
644 /etc/cni/net.d/05-multus.conf
@dougbtv
Copy link
Member

dougbtv commented Jun 20, 2024

Any chance you'd mind submitting a PR to ensure this mode? Sounds like a fair change to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants