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

Remove irrelevant rules from PCI-DSS profiles #11338

Merged
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
7 changes: 7 additions & 0 deletions linux_os/guide/services/ntp/service_ntpd_enabled/rule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,10 @@ template:
packagename: ntp

platform: package[ntp]

{{% if prodtype in ["rhel8", "rhel9", "sle15"] %}}
warnings:
- general:
The <pre>ntp</pre> package is not available in {{{ full_name }}}. Please
consider the <pre>chrony</pre> package instead together with the respective <pre>service_chronyd_enabled</pre> rule.
{{% endif %}}
1 change: 1 addition & 0 deletions products/rhel8/profiles/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ selections:
- '!ntpd_specify_multiple_servers'
- '!set_ipv6_loopback_traffic'
- '!set_loopback_traffic'
- '!service_ntpd_enabled'
1 change: 1 addition & 0 deletions products/rhel9/profiles/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ selections:
- '!ntpd_specify_multiple_servers'
- '!set_ipv6_loopback_traffic'
- '!set_loopback_traffic'
- '!service_ntpd_enabled'
1 change: 0 additions & 1 deletion tests/data/profile_stability/rhel8/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ selections:
- audit_rules_sysadmin_actions
- display_login_attempts
- file_permissions_backup_etc_shadow
- service_ntpd_enabled
- audit_rules_dac_modification_fremovexattr
- sshd_disable_x11_forwarding
- file_at_deny_not_exist
Expand Down