-
Notifications
You must be signed in to change notification settings - Fork 714
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 #12904 from mpurg/ubuntu2404_cis_5.3.1.1_5.3.1.2
Add rules for installing pam-runtime and pam-modules to Ubuntu 24.04
- Loading branch information
Showing
8 changed files
with
73 additions
and
4 deletions.
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
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
20 changes: 20 additions & 0 deletions
20
linux_os/guide/system/accounts/accounts-pam/package_pam_modules_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,20 @@ | ||
documentation_complete: true | ||
|
||
title: 'Install pam-modules Package' | ||
|
||
description: |- | ||
{{{ describe_package_install(package="libpam-modules") }}} | ||
rationale: |- | ||
libpam-modules contains PAM modules that are needed | ||
by other rules when configuring PAM options. | ||
severity: medium | ||
|
||
platform: package[pam] | ||
|
||
template: | ||
name: package_installed | ||
vars: | ||
pkgname: libpam-modules | ||
evr: 0:1.5.3-5 |
6 changes: 6 additions & 0 deletions
6
...counts/accounts-pam/package_pam_modules_installed/tests/package-installed-removed.fail.sh
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,6 @@ | ||
# platform = Not Applicable | ||
|
||
# Override template test. | ||
# The package shouldn't be removed as it would | ||
# break the test environment. | ||
|
5 changes: 5 additions & 0 deletions
5
.../system/accounts/accounts-pam/package_pam_modules_installed/tests/package-removed.fail.sh
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 @@ | ||
# platform = Not Applicable | ||
|
||
# Override template test. | ||
# The package shouldn't be removed as it would | ||
# break the test environment. |
18 changes: 18 additions & 0 deletions
18
linux_os/guide/system/accounts/accounts-pam/package_pam_runtime_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,18 @@ | ||
documentation_complete: true | ||
|
||
title: 'Install pam-runtime Package' | ||
|
||
description: |- | ||
{{{ describe_package_install(package="libpam-runtime") }}} | ||
rationale: |- | ||
libpam-runtime contains configuration that is needed | ||
by other rules when configuring PAM options. | ||
severity: medium | ||
|
||
template: | ||
name: package_installed | ||
vars: | ||
pkgname: libpam-runtime | ||
evr: 0:1.5.3-5 |
6 changes: 6 additions & 0 deletions
6
...counts/accounts-pam/package_pam_runtime_installed/tests/package-installed-removed.fail.sh
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,6 @@ | ||
# platform = Not Applicable | ||
|
||
# Override template test. | ||
# The package shouldn't be removed as it would | ||
# break the test environment. | ||
|
5 changes: 5 additions & 0 deletions
5
.../system/accounts/accounts-pam/package_pam_runtime_installed/tests/package-removed.fail.sh
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 @@ | ||
# platform = Not Applicable | ||
|
||
# Override template test. | ||
# The package shouldn't be removed as it would | ||
# break the test environment. |