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

Add audit_rules_login_events_faillock to RHEL 8 STIG #10816

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ ocil_clause: 'the command does not return a line, or the line is commented out'
ocil: |-
Verify {{{ full_name }}} generates audit records for all account creations, modifications, disabling, and termination events that affect "/etc/security/opasswd" with the following command:

$ sudo auditctl -l | grep /var/run/faillock
$ sudo auditctl -l | grep {{{ faillock_path }}}

-w /var/run/faillock -p wa -k logins
-w {{{ faillock_path }}} -p wa -k logins

template:
name: audit_rules_login_events
Expand Down
4 changes: 1 addition & 3 deletions products/rhel8/profiles/stig.profile
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,7 @@ selections:
- audit_rules_privileged_commands_kmod

# RHEL-08-030590
# This one needs to be updated to use /var/log/faillock, but first RHEL-08-020017 should be
# implemented as it is the one that configures a different path for the events of failing locks
# - audit_rules_login_events_faillock
- audit_rules_login_events_faillock

# RHEL-08-030600
- audit_rules_login_events_lastlog
Expand Down
1 change: 1 addition & 0 deletions tests/data/profile_stability/rhel8/stig.profile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ selections:
- audit_rules_kernel_module_loading_delete
- audit_rules_kernel_module_loading_finit
- audit_rules_kernel_module_loading_init
- audit_rules_login_events_faillock
- audit_rules_login_events_lastlog
- audit_rules_media_export
- audit_rules_privileged_commands_chage
Expand Down
1 change: 1 addition & 0 deletions tests/data/profile_stability/rhel8/stig_gui.profile
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ selections:
- audit_rules_kernel_module_loading_delete
- audit_rules_kernel_module_loading_finit
- audit_rules_kernel_module_loading_init
- audit_rules_login_events_faillock
- audit_rules_login_events_lastlog
- audit_rules_media_export
- audit_rules_privileged_commands_chage
Expand Down