forked from ComplianceAsCode/content
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ComplianceAsCode#11144 from Mab879/add_package_sma…
…il_installed Add rule `package_s-nail-installed`
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: s-nail | ||
packages: | ||
- s-nail | ||
rules: | ||
- package_s-nail_installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
linux_os/guide/services/mail/package_s-nail_installed/rule.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
documentation_complete: true | ||
|
||
prodtype: rhel9 | ||
|
||
title: 'The s-nail Package Is Installed' | ||
|
||
description: |- | ||
A mail server is required for sending emails. | ||
{{{ describe_package_install(package="s-nail") }}} | ||
rationale: |- | ||
Emails can be used to notify designated personnel about important | ||
system events such as failures or warnings. | ||
severity: medium | ||
|
||
identifiers: | ||
cce@rhel9: CCE-86608-7 | ||
|
||
references: | ||
disa: CCI-001744 | ||
nist: CM-3(5) | ||
srg: SRG-OS-000363-GPOS-00150 | ||
|
||
ocil_clause: 'the package is not installed' | ||
|
||
ocil: '{{{ ocil_package(package="s-nail") }}}' | ||
|
||
template: | ||
name: package_installed | ||
vars: | ||
pkgname: s-nail | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -309,7 +309,6 @@ CCE-86604-6 | |
CCE-86605-3 | ||
CCE-86606-1 | ||
CCE-86607-9 | ||
CCE-86608-7 | ||
CCE-86609-5 | ||
CCE-86610-3 | ||
CCE-86613-7 | ||
|