From d2ab36f8007f83bdeceb1e4743cffcb47a25e1b3 Mon Sep 17 00:00:00 2001 From: yoavrotems Date: Tue, 21 May 2019 14:40:16 +0300 Subject: [PATCH] Update definitions.yaml Has a problem with the pipelines in the audit command. Solved with script 1.1.25.sh file --- cfg/1.1.0/definitions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/1.1.0/definitions.yaml b/cfg/1.1.0/definitions.yaml index cdc1369..fcc7389 100644 --- a/cfg/1.1.0/definitions.yaml +++ b/cfg/1.1.0/definitions.yaml @@ -564,7 +564,7 @@ groups: - id: 1.1.25 description: "Ensure sticky bit is set on all world-writable directories" - audit: "df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -type d \\( -perm -0002 -a ! -perm -1000 \\) 2>/dev/null" + audit: "./1.1.25.sh" tests: test_items: - flag: ""