Skip to content

Commit

Permalink
Merge pull request #12212 from ggbecker/update-ospp-profile-session-t…
Browse files Browse the repository at this point in the history
…imeout

OSPP profile, use Logind session timeout feature instead of tmux
  • Loading branch information
matusmarhefka authored Jul 25, 2024
2 parents 327c3ae + 340fdc9 commit c189005
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
22 changes: 6 additions & 16 deletions controls/ospp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,6 @@ controls:
- accounts_passwords_pam_tally2_deny_root
- accounts_passwords_pam_tally2_unlock_time
- accounts_password_pam_retry
- configure_bashrc_exec_tmux
- configure_tmux_lock_after_time
- configure_tmux_lock_command
- no_tmux_in_shells
- package_screen_installed
- package_tmux_installed
- accounts_tmout
- set_firewalld_default_zone
- dconf_gnome_login_retries
Expand All @@ -476,6 +470,8 @@ controls:
- dconf_gnome_session_idle_user_locks
- package_sudo_installed
- dconf_gnome_disable_user_admin
- logind_session_timeout
- var_logind_session_timeout=30_minutes
status: automated

- id: FMT_SMF_EXT.1
Expand All @@ -500,11 +496,6 @@ controls:
- accounts_password_pam_minlen
- accounts_password_pam_ocredit
- accounts_password_pam_ucredit
- configure_bashrc_exec_tmux
- configure_tmux_lock_after_time
- configure_tmux_lock_command
- no_tmux_in_shells
- package_tmux_installed
- package_firewalld_installed
- service_firewalld_enabled
- kernel_module_atm_disabled
Expand All @@ -527,6 +518,8 @@ controls:
- dnf-automatic_apply_updates
- dnf-automatic_security_updates_only
- timer_dnf-automatic_enabled
- logind_session_timeout
- var_logind_session_timeout=30_minutes
status: automated

- id: FMT_SMF_EXT.1.1
Expand Down Expand Up @@ -582,11 +575,8 @@ controls:
levels:
- base
rules:
- configure_bashrc_exec_tmux
- configure_tmux_lock_after_time
- configure_tmux_lock_command
- no_tmux_in_shells
- package_tmux_installed
- logind_session_timeout
- var_logind_session_timeout=30_minutes
status: automated

- id: FTA_TAB.1
Expand Down
1 change: 1 addition & 0 deletions products/rhel9/profiles/default.profile
Original file line number Diff line number Diff line change
Expand Up @@ -557,3 +557,4 @@ selections:
- rsyslog_filecreatemode
- set_nftables_table
- sshd_use_approved_ciphers
- configure_bashrc_exec_tmux
8 changes: 2 additions & 6 deletions products/rhel9/profiles/ospp.profile
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,10 @@ selections:

## Enable Screen Lock
## FMT_MOF_EXT.1 (FMT_SMF_EXT.1)
- package_tmux_installed
- configure_bashrc_exec_tmux
- no_tmux_in_shells
- configure_tmux_lock_command

- logind_session_timeout
## Set Screen Lock Timeout Period to 30 Minutes or Less
## AC-11(a) / FMT_MOF_EXT.1 (FMT_SMF_EXT.1)
- configure_tmux_lock_after_time
- var_logind_session_timeout=30_minutes

## Disable Unauthenticated Login (such as Guest Accounts)
## FIA_UAU.1
Expand Down

0 comments on commit c189005

Please sign in to comment.