Skip to content

Commit

Permalink
Merge pull request #12807 from jan-cerny/fpmcc
Browse files Browse the repository at this point in the history
Fix failing file_permissions_crontab
  • Loading branch information
vojtapolasek authored Jan 15, 2025
2 parents 2c127d7 + 64f43d3 commit 0b825f3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions controls/pcidss_4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ controls:
- file_permissions_cron_allow
- file_groupowner_crontab
- file_owner_crontab
- package_cron_installed
- file_permissions_crontab
- file_groupowner_cron_d
- file_owner_cron_d
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{% if product in ["rhel9", "rhel10", "sle12", "sle15"] %}}
{{% if product in ["rhel8", "rhel9", "rhel10", "sle12", "sle15"] %}}
{{% set package_name = "cronie" %}}
{{% else %}}
{{% set package_name = "cron" %}}
Expand All @@ -15,6 +15,7 @@ rationale: 'The cron service allow periodic job execution, needed for almost all
severity: medium

identifiers:
cce@rhel8: CCE-86178-1
cce@rhel9: CCE-86170-8
cce@rhel10: CCE-86619-4
cce@sle12: CCE-92263-3
Expand Down Expand Up @@ -44,8 +45,4 @@ ocil: |-
template:
name: package_installed
vars:
pkgname: cron
pkgname@rhel9: cronie
pkgname@rhel10: cronie
pkgname@sle12: cronie
pkgname@sle15: cronie
pkgname: {{{ package_name }}}
1 change: 0 additions & 1 deletion shared/references/cce-redhat-avail.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CCE-86178-1
CCE-86179-9
CCE-86180-7
CCE-86186-4
Expand Down
1 change: 1 addition & 0 deletions tests/data/profile_stability/rhel8/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ selections:
- package_audispd-plugins_installed
- package_audit_installed
- package_chrony_installed
- package_cron_installed
- package_dhcp_removed
- package_firewalld_installed
- package_ftp_removed
Expand Down
1 change: 1 addition & 0 deletions tests/data/profile_stability/rhel9/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ selections:
- package_audispd-plugins_installed
- package_audit_installed
- package_chrony_installed
- package_cron_installed
- package_cryptsetup-luks_installed
- package_dhcp_removed
- package_firewalld_installed
Expand Down

0 comments on commit 0b825f3

Please sign in to comment.