Skip to content

Fix HIPAA session timeout for OpenSSH >= 8.2 - #15029

Open
ggbecker wants to merge 2 commits into
ComplianceAsCode:masterfrom
ggbecker:fix-hipaa-session-timeout
Open

Fix HIPAA session timeout for OpenSSH >= 8.2#15029
ggbecker wants to merge 2 commits into
ComplianceAsCode:masterfrom
ggbecker:fix-hipaa-session-timeout

Conversation

@ggbecker

Copy link
Copy Markdown
Member

Add logind_session_timeout to HIPAA controls to provide system-wide idle session termination via systemd-logind. Exclude sshd_set_keepalive_0 from RHEL10, SLE15, and SLE16 HIPAA profiles where it has broken behavior.

Update profile stability tests to reflect the changes.

@ggbecker ggbecker added this to the 0.1.83 milestone Aug 21, 2026
@ggbecker ggbecker added the Update Profile Issues or pull requests related to Profiles updates. label Aug 21, 2026
@Mab879 Mab879 self-assigned this Aug 21, 2026
@Mab879

Mab879 commented Aug 21, 2026

Copy link
Copy Markdown
Member

That CI fail is valid.

ClientAliveCountMax=0 has opposite behavior on OpenSSH >= 8.2:
it disables timeouts completely instead of timing out after
ClientAliveInterval. This breaks session timeout requirements
on RHEL 9+, RHEL 10, and SLE 15+.

Add logind_session_timeout to HIPAA controls to provide
system-wide idle session termination via systemd-logind.
Exclude sshd_set_keepalive_0 from RHEL10, SLE15, and SLE16
HIPAA profiles where it has broken behavior.

Update profile stability tests to reflect the changes.
The logind_session_timeout rule requires RHEL >= 8.7 per its
platform constraints. The rhel8 product represents all RHEL 8
versions (8.0-8.10), so exclude the rule to avoid including
it on RHEL 8.0-8.6 where it won't work.
@ggbecker
ggbecker force-pushed the fix-hipaa-session-timeout branch from db334e6 to 49c1529 Compare August 21, 2026 15:58
@ggbecker

Copy link
Copy Markdown
Member Author

That CI fail is valid.

introduced the removed back to the default.profile so it's part of the RHEL10 datastream.

@openshift-ci

openshift-ci Bot commented Aug 21, 2026

Copy link
Copy Markdown

@ggbecker: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-openshift-platform-compliance 49c1529 link true /test e2e-aws-openshift-platform-compliance
ci/prow/e2e-aws-openshift-node-compliance 49c1529 link false /test e2e-aws-openshift-node-compliance

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Mab879

Mab879 commented Aug 21, 2026

Copy link
Copy Markdown
Member

@ComplianceAsCode/suse-maintainers please take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Update Profile Issues or pull requests related to Profiles updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants