Skip to content

Conversation

@jan-cerny
Copy link
Collaborator

@jan-cerny jan-cerny commented Jan 7, 2026

This PR adds new rule accounts_password_pam_modules_in_authselect_profile. This rule implements CIS requirement "Ensure active authselect profile includes pam modules". This requirement is a part of RHEL 8, 9 and 10 CIS. The rule is added to all profiles.

The rule doesn't check PAM configuration in /etc/pam.d/system-auth or password-auth. Instead, it checks the authselect template contents in /etc/authselect.

Resolves: https://issues.redhat.com/browse/OPENSCAP-6093

@jan-cerny jan-cerny added this to the 0.1.80 milestone Jan 7, 2026
@jan-cerny jan-cerny added New Rule Issues or pull requests related to new Rules. CIS CIS Benchmark related. RHEL10 Red Hat Enterprise Linux 10 product related. labels Jan 7, 2026
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Used by openshift-ci bot. label Jan 7, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 7, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

ATEX Test Results

Test artifacts have been submitted to Testing Farm.

Results: View Test Results
Workflow Run: View Workflow Details

This comment was automatically generated by the ATEX workflow.

This rule implements CIS RHEL 10 Benchmark v1.0.1 requirement
5.3.2.1 - Ensure active authselect profile includes pam modules.

Resolves: https://issues.redhat.com/browse/OPENSCAP-6093
Add the new rule accounts_password_pam_modules_in_authselect_profile
also to RHEL 8, RHEL 9, and Fedora CIS profiles, because these
benchmarks contain the same requirement as RHEL 10 CIS.
@jan-cerny jan-cerny force-pushed the authselect_template branch from 179fed3 to 5213a55 Compare January 9, 2026 08:51
@jan-cerny jan-cerny added RHEL8 Red Hat Enterprise Linux 8 product related. RHEL9 Red Hat Enterprise Linux 9 product related. labels Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CIS CIS Benchmark related. do-not-merge/work-in-progress Used by openshift-ci bot. New Rule Issues or pull requests related to new Rules. RHEL8 Red Hat Enterprise Linux 8 product related. RHEL9 Red Hat Enterprise Linux 9 product related. RHEL10 Red Hat Enterprise Linux 10 product related.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant