CNF-21326: RAN Hardening - SSHD (H3: PermitEmptyPasswords)#466
CNF-21326: RAN Hardening - SSHD (H3: PermitEmptyPasswords)#466sebrandon1 wants to merge 2 commits intoopenshift-kni:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sebrandon1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
69ef3a5 to
b66fb5c
Compare
|
@sebrandon1: This pull request references CNF-19031 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
b304c42 to
4288f7f
Compare
4288f7f to
cc9cf5d
Compare
cc9cf5d to
8bc1000
Compare
8bc1000 to
b928fb8
Compare
SSHD hardening settings (all severities) will be consolidated into PR openshift-kni#466. This PR now focuses on non-SSHD HIGH severity items only: - crypto-policy - PAM auth (no empty passwords) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace 75-sshd-config-high.yaml with 75-sshd-hardening.yaml that includes all SSHD settings from Compliance Operator (E8/CIS): HIGH severity: - PermitEmptyPasswords no MEDIUM severity: - PermitRootLogin no - GSSAPIAuthentication no - IgnoreRhosts yes - IgnoreUserKnownHosts yes - PermitUserEnvironment no - StrictModes yes - PrintLastLog yes LOW severity: - LogLevel INFO Also uses drop-in file at /etc/ssh/sshd_config.d/75-hardening.conf instead of overwriting the main sshd_config. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@sebrandon1: This pull request references CNF-21326 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Summary
SSHD hardening for HIGH severity compliance remediations only.
Remediation Group
SSHD Setting
Implementation
Uses drop-in file at
/etc/ssh/sshd_config.d/75-hardening.confScope Note
This PR focuses exclusively on HIGH severity SSHD compliance. MEDIUM and LOW severity SSHD settings (M1, L1) will be addressed in separate PRs.
Related
Test plan
sshd -T | grep permitemptypasswordsCompliance Checks
rhcos4-e8-worker-sshd-disable-empty-passwordsrhcos4-e8-master-sshd-disable-empty-passwords🤖 Generated with Claude Code