diff --git a/cfg/1.8/master.yaml b/cfg/1.8/master.yaml index 5630121add42e48c9c1a8c987ba250fa972b8898..f52ed9686a70b1a468ffd5e35e0766c4d2dc7db6 100644 --- a/cfg/1.8/master.yaml +++ b/cfg/1.8/master.yaml @@ -960,7 +960,7 @@ groups: - id: 1.4.12 text: "Ensure that the etcd data directory ownership is set to etcd:etcd (Scored)" - audit: ps -ef | grep $etcdbin | grep -- --data-dir | sed 's%.*data-dir[= ]\(\S*\)%\1%' | xargs stat -c %U:%G + audit: ps -ef | grep $etcdbin | grep -- --data-dir | sed 's%.*data-dir[= ]\([^ ]*\).*%\1%' | xargs stat -c %U:%G tests: test_items: - flag: "etcd:etcd"