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 rule package_mailx_installed #10495

Merged
merged 3 commits into from
Apr 27, 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
33 changes: 33 additions & 0 deletions linux_os/guide/services/mail/package_mailx_installed/rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
documentation_complete: true

title: 'The mailx Package Is Installed'

description: |-
A mail server is required for sending emails.
{{{ describe_package_install(package="mailx") }}}

rationale: |-
Emails can be used to notify designated personnel about important
system events such as failures or warnings.

severity: medium

references:
disa: CCI-001744
nist: CM-3(5)
srg: SRG-OS-000363-GPOS-00150
stigid@ol7: OL07-00-020028
stigid@ol8: OL08-00-010358

ocil_clause: 'the package is not installed'

ocil: '{{{ ocil_package(package="mailx") }}}'

fixtext: '{{{ fixtext_package_installed(package="mailx") }}}'

srg_requirement: '{{{ srg_requirement_package_installed("mailx") }}}'

template:
name: package_installed
vars:
pkgname: mailx
1 change: 1 addition & 0 deletions products/ol7/profiles/stig.profile
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,4 @@ selections:
- authconfig_config_files_symlinks
- ensure_oracle_gpgkey_installed
- dconf_gnome_disable_user_list
- package_mailx_installed
3 changes: 3 additions & 0 deletions products/ol8/profiles/stig.profile
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ selections:
# OL08-00-010351
- dir_group_ownership_library_dirs

# OL08-00-010358
- package_mailx_installed

# OL08-00-010359
- package_aide_installed
- aide_build_database
Expand Down