Skip to content

Commit

Permalink
Consolidate ASCS RHEL profiles lastlog via sshd
Browse files Browse the repository at this point in the history
As E8 and ISM O profiles were using different methods to print last
login information. This results in different timestamps in logs,
creating inconvenience. Using just one method is preferrable.
  • Loading branch information
dahaic committed Jul 31, 2024
1 parent 4707824 commit 5f9c3db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions controls/ism_o.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ controls:
- audit_rules_privileged_commands
- audit_rules_session_events
- audit_rules_unsuccessful_file_modification
- display_login_attempts
- sshd_print_last_log
- sebool_auditadm_exec_content
status: automated

Expand All @@ -134,7 +134,7 @@ controls:
- audit_rules_privileged_commands
- audit_rules_session_events
- audit_rules_unsuccessful_file_modification
- display_login_attempts
- sshd_print_last_log
- sebool_auditadm_exec_content
status: automated

Expand Down
2 changes: 1 addition & 1 deletion products/rhel8/profiles/ism_o.profile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ selections:

## Events to be logged
## Identifiers 0580 / 0584 / 0582 / 0585 / 0586 / 0846 / 0957
- display_login_attempts
- sshd_print_last_log
- sebool_auditadm_exec_content
- audit_rules_privileged_commands
- audit_rules_session_events
Expand Down
2 changes: 1 addition & 1 deletion products/rhel9/profiles/ism_o.profile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ selections:

## Events to be logged
## Identifiers 0580 / 0584 / 0582 / 0585 / 0586 / 0846 / 0957
- display_login_attempts
- sshd_print_last_log
- sebool_auditadm_exec_content
- audit_rules_privileged_commands
- audit_rules_session_events
Expand Down

0 comments on commit 5f9c3db

Please sign in to comment.