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

Rules marked as checkType Platform still being run on Node Scans. #461

Open
montaguethomas opened this issue Nov 2, 2023 · 0 comments
Open

Comments

@montaguethomas
Copy link

After ComplianceAsCode/content#10464 all but one kubelet rule was being parsed to be under checkType: Node. However one rule (kubelet_configure_tls_min_version) wasn't updated to remove the warnings field.

This rule ends up being parsed/imported into k8s by CO as a checkType: Platform. While trying to tailor out/disable rules, this rule is impossible to tailor.

Related PR to correct rule to be marked as Node type: ComplianceAsCode/content#11243

In this case, the kubelet_configure_tls_min_version rule would still run under the node scans, however CO would mark the TailoredProfile in ERROR when trying to disable this rule for a Node profile. If tailored out in a Platform profile, it has no effect on the Node scan.

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

1 participant