From 3134f4c146a06e07a10107a80d27be249f620929 Mon Sep 17 00:00:00 2001 From: rbthomp <26642445+rbthomp@users.noreply.github.com> Date: Wed, 14 Aug 2019 17:49:34 -0600 Subject: [PATCH] Correct CIS-2.2.1.2 The service can be defined to run as ntp:ntp in /usr/lib/systemd/system/ntpd.d.service or /etc/sysconf/ntpd. Corrected to look for ntp:ntp in ether file. --- .../cis/centos-7-level-1-scored-v2-2-0.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hubblestack_nova_profiles/cis/centos-7-level-1-scored-v2-2-0.yaml b/hubblestack_nova_profiles/cis/centos-7-level-1-scored-v2-2-0.yaml index 505ddfe..8255e33 100644 --- a/hubblestack_nova_profiles/cis/centos-7-level-1-scored-v2-2-0.yaml +++ b/hubblestack_nova_profiles/cis/centos-7-level-1-scored-v2-2-0.yaml @@ -212,7 +212,7 @@ grep: - /etc/ntp.conf: tag: CIS-2.2.1.2 pattern: '^server' - - /etc/sysconfig/ntpd: + - /usr/lib/systemd/system/ntpd.service /etc/sysconf/ntpd: tag: CIS-2.2.1.2 pattern: 'ntp:ntp' description: Ensure ntp is configured