Skip to content
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

Update SV-250316.rb #37

Closed
wants to merge 1 commit into from
Closed

Update SV-250316.rb #37

wants to merge 1 commit into from

Conversation

jrmetzger
Copy link
Contributor

Do we want to make each line with optional spaces/words in between? e.g.

auth required pam_faillock.so preauth silent fail_interval=900 unlock_time=0 dir=/var/log/faillock
auth required pam_faillock.so authfail fail_interval=900 unlock_time=0 dir=/var/log/faillock

Do we want to make each line with optional spaces/words in between? e.g.

auth        required                                     pam_faillock.so preauth silent fail_interval=900 unlock_time=0 dir=/var/log/faillock
auth        required                                     pam_faillock.so authfail fail_interval=900 unlock_time=0 dir=/var/log/faillock
@jrmetzger
Copy link
Contributor Author

jrmetzger commented Jan 8, 2025

should match_pam_rule('auth [default=die]|required pam_faillock.so preauth').all_with_args('dir=/var/log/faillock') should match_pam_rule('auth [default=die]|required pam_faillock.so authfail').all_with_args('dir=/var/log/faillock')

Or should we do this ^ Like https://github.com/mitre/redhat-enterprise-linux-8-stig-baseline/blob/main/controls/SV-230340.rb

@jrmetzger jrmetzger self-assigned this Jan 8, 2025
@jrmetzger
Copy link
Contributor Author

fixed operator so can ignore

@jrmetzger jrmetzger closed this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant