diff --git a/cfg/1.8/master.yaml b/cfg/1.8/master.yaml index 9894f4c18ae5e4e720715fc2c82b84539463dff0..fee7e2440df6e484d9dbacaade1a4f2861f775cd 100644 --- a/cfg/1.8/master.yaml +++ b/cfg/1.8/master.yaml @@ -942,7 +942,7 @@ groups: - id: 1.4.11 text: "Ensure that the etcd data directory permissions are set to 700 or more restrictive (Scored)" - audit: ps -ef | grep $etcdbin | grep -v grep | sed 's%.*data-dir[= ]\(\S*\)%\1%' | xargs stat -c %a + audit: ps -ef | grep $etcdbin | grep -v grep | sed 's%.*data-dir[= ]\(\S*\)%\1%' | awk '{print $1}' | xargs stat -c %a tests: test_items: - flag: "700"