From 740a260ebee8a750647131492a86da9a133811bd Mon Sep 17 00:00:00 2001 From: yoavrotems Date: Thu, 26 Sep 2019 00:27:44 +0300 Subject: [PATCH] Update definitions.yaml --- 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 03149c3..1a703a6 100644 --- a/cfg/1.1.0/definitions.yaml +++ b/cfg/1.1.0/definitions.yaml @@ -4313,7 +4313,7 @@ groups: - id: 3.2.1.c description: "Ensure source routed packets are not accepted" - audit: "grep ^[^#]net.ipv4.conf.all.accept_source_route /etc/sysctl.conf /etc/sysctl.d/*" + audit: "grep ^\\s*net.ipv4.conf.all.accept_source_route /etc/sysctl.conf /etc/sysctl.d/*" tests: test_items: - flag: "net.ipv4.conf.all.accept_source_route"