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

Waive sshd key rules in bootc tests #302

Merged
merged 2 commits into from
Jan 7, 2025
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
13 changes: 13 additions & 0 deletions conf/waivers/30-permanent
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,17 @@
/static-checks/nist-validation/ssg-(rhel\d+|cs\d+)-ds/SRC-118
rhel >= 9

# bootc waivers

# The rules related to SSH keys fail because SSH host keys don't exist
# at container build time, they are generated by the sshd-keygen service only
# once the system is deployed by executing /usr/libexec/openssh/sshd-keygen
# script. We inform users in rules by warning text saying that remediation
# is not possible at bootable container build time because SSH host keys are
# generated post-deployment. The warning has been introduced by
# https://github.com/ComplianceAsCode/content/pull/12755.
/hardening/container/bootc-image-builder/.+/file_groupownership_sshd_private_key
/hardening/container/bootc-image-builder/.+/file_permissions_sshd_private_key
True

# vim: syntax=python
Loading