Skip to content

Commit

Permalink
Merge pull request #90 from jhvhs/master
Browse files Browse the repository at this point in the history
Improve etcd data directory extraction
  • Loading branch information
lizrice authored Jan 25, 2018
2 parents 4f90a13 + 4b1b2b8 commit 0c309bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfg/1.8/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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[= ]\([^ ]*\).*%\1%' | xargs stat -c %a
tests:
test_items:
- flag: "700"
Expand Down

0 comments on commit 0c309bc

Please # to comment.