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

Revert cis validator change for strict difference #310

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tests/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,14 @@ def validate_cis_hardening():

print(output)
assert "41 checks WARN" in output
assert "83 checks PASS" in output
assert "0 checks FAIL" in output
if os.environ.get("STRICT") == "yes":
assert "82 checks PASS" in output
assert "1 checks FAIL" in output
else:
# The extra test that is failing on strict is the permissions of the
# systemd kubelite service definition
assert "83 checks PASS" in output
assert "0 checks FAIL" in output


def validate_rook_ceph():
Expand Down
Loading