-
Notifications
You must be signed in to change notification settings - Fork 724
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
Fix accounts_password_pam_retry #13144
Conversation
The rule `accounts_password_pam_retry` failed after kickstart or Anaconda installation. The problem is that the rule passes in the initial scan but fails in the final scan because in the initial scan the rule `enable_authselect` fails and the remediation for `enable_authselect` made `accounts_password_pam_retry` fail but remediation for `accounts_password_pam_retry` isn't executed because it passed in the initial scan. Fixes: ComplianceAsCode#12277 Used test: `/hardening/anaconda/anssi_bp28_high` on RHEL 9
Skipping CI for Draft Pull Request. |
This datastream diff is auto generated by the check Click here to see the full diffOVAL for rule 'xccdf_org.ssgproject.content_rule_accounts_password_pam_retry' differs.
--- oval:ssg-accounts_password_pam_retry:def:1
+++ oval:ssg-accounts_password_pam_retry:def:1
@@ -1,3 +1,5 @@
+criteria AND
+extend_definition oval:ssg-enable_authselect:def:1
criteria OR
criteria AND
criterion oval:ssg-test_password_pam_pwquality_retry_password_auth:tst:1 |
Code Climate has analyzed commit cd0138d and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 62.1% (0.0% change). View more on Code Climate. |
/packit build |
/packit delete |
/packit build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please propose a PR to remove the wavier once this merged.
Thanks!
Waving Automatus tests as contest tests pass. |
A fix has been merged by ComplianceAsCode/content#13144
A fix has been merged by ComplianceAsCode/content#13144
The rule
accounts_password_pam_retry
failed after kickstart or Anaconda installation. The problem is that the rule passes in the initial scan but fails in the final scan because in the initial scan the ruleenable_authselect
fails and the remediation forenable_authselect
madeaccounts_password_pam_retry
fail but remediation foraccounts_password_pam_retry
isn't executed because it passed in the initial scan.Fixes: #12277
Used test:
/hardening/anaconda/anssi_bp28_high
on RHEL 9