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"