Skip to content

Add K3s cis-1.10 benchmark #447

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

Merged
merged 3 commits into from
Apr 16, 2025
Merged

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented Mar 19, 2025

Adds k3s-cis-1.10 benchmark.
Same as upstream cis-1.10 new additions with 1 whitelist exception:

  • 5.2.9 Requires an exception for coredns and svclb traefik as they require additional capability as a matter of regular K3s operations. (Both have additional network capability)

Signed-off-by: Derek Nola <[email protected]>
@dereknola dereknola requested a review from a team as a code owner March 19, 2025 17:48
@@ -455,6 +464,8 @@ groups:
Audit: the audit retrieves each Pod's container(s) added capabilities.
Condition: is_compliant is false if added capabilities are added for a given container.
Default: Containers run with a default set of capabilities as assigned by the Container Runtime.
K3s gives exceptions to the following pods, which are required for regular operations:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, would be good to develop on why coredns and svclb-traefik are whitelisted in the K3s doc.

Signed-off-by: Derek Nola <[email protected]>
andypitcher
andypitcher previously approved these changes Apr 4, 2025
vardhaman22
vardhaman22 previously approved these changes Apr 4, 2025
Copy link
Contributor

@vardhaman22 vardhaman22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
overall similar to k3s cis 1.9
just some audits are added for 5.2.2-6 and 5.2.9 with scored: false

@dereknola dereknola dismissed stale reviews from vardhaman22 and andypitcher via 3f79726 April 7, 2025 17:47
@andypitcher andypitcher merged commit 213aa83 into rancher:main Apr 16, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

3 participants