From 22acf7862c3a207c0edf91956f8321cdff4c8dc0 Mon Sep 17 00:00:00 2001 From: yoavrotems Date: Mon, 27 Jul 2020 01:29:26 +0300 Subject: [PATCH] Update definitions.yaml FIx test 1.1.5 --- cfg/2.0.0/definitions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/2.0.0/definitions.yaml b/cfg/2.0.0/definitions.yaml index dbc20ae..62d975e 100644 --- a/cfg/2.0.0/definitions.yaml +++ b/cfg/2.0.0/definitions.yaml @@ -399,7 +399,7 @@ groups: - id: 1.1.5 description: "Ensure noexec option set on /tmp partition" - audit: "mount | grep /tmp" + audit: "mount | grep -E '\\s/tmp\\s' | grep -v noexec" tests: test_items: - flag: ""