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

fix: /etc/kubernetes/super-admin.conf file perms for cis benchmark #5412

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

emosbaugh
Copy link
Member

@emosbaugh emosbaugh commented Sep 24, 2024

What this PR does / why we need it:

FIxes

[FAIL] 1.1.13 Ensure that the default administrative credential file permissions are set to 600 (Automated)
[FAIL] 1.1.14 Ensure that the default administrative credential file ownership is set to root:root (Automated)

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Fixes master CIS benchmark checks 1.1.13 and 1.1.14 for /etc/kubernetes/super-admin.conf file permissions.

Does this PR require documentation?

@emosbaugh emosbaugh added type::bug Something isn't working bug::normal labels Sep 24, 2024
@emosbaugh emosbaugh requested a review from a team as a code owner September 24, 2024 18:50
laverya
laverya previously approved these changes Sep 24, 2024
@emosbaugh emosbaugh force-pushed the emosbaugh/sc-112474/failed-cis-benchmark-master branch from 8e6662d to 2ee5e90 Compare September 24, 2024 22:46
@emosbaugh
Copy link
Member Author

This is still failing and is blocked by a bug in kube-bench

aquasecurity/kube-bench#1666
aquasecurity/kube-bench#1667

with fix

aquasecurity/kube-bench#1668

@emosbaugh emosbaugh requested a review from laverya September 24, 2024 23:24
@emosbaugh emosbaugh merged commit f7475b0 into main Sep 24, 2024
14 checks passed
@emosbaugh emosbaugh deleted the emosbaugh/sc-112474/failed-cis-benchmark-master branch September 24, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants