Updated Jinja template to fix compliance issues for control 5.3.3.2.7#437
Open
defnotyujine wants to merge 1 commit intoansible-lockdown:develfrom
Open
Updated Jinja template to fix compliance issues for control 5.3.3.2.7#437defnotyujine wants to merge 1 commit intoansible-lockdown:develfrom
defnotyujine wants to merge 1 commit intoansible-lockdown:develfrom
Conversation
|
Congrats on opening your first pull request and thank you for taking the time to help improve Ansible-Lockdown! |
Signed-off-by: defnotyujine <[email protected]>
d3a74c1 to
e6ccdea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please ensure that you have understood contributing guide
Ensure all commits are signed-by and gpg signed
Overall Review of Changes:
Updated the Ansible Configuration to correctly implement CIS Control 5.3.3.2.7 for RHEL9. As Nessus flags it as non compliant.
Issue Fixes:
Fixes non-compliance for CIS Control 5.3.3.2.7 (Password quality enforcement for root).
How has this been tested?:
Tested on a live RHEL9 instance. Verified using the CIS-recommended audit command:
sudo grep -Psi -- '^\henforce_for_root\b' /etc/security/pwquality.conf /etc/security/pwquality.conf.d/.conf
Output confirmed the setting is correctly applied in /etc/security/pwquality.conf.d/50-pwroot.conf
Please double check it, thanks!