From d58426ca80f7bae23407fb0713af6c41be9bfa6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Mon, 17 Oct 2022 14:18:25 +0200 Subject: [PATCH] docs: fixes readme (#45) --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 67eab35b0a05..8082458bdf5e 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,11 @@ In order to run the coraza-proxy-wasm we need to spin up an envoy configuration "@type": "type.googleapis.com/google.protobuf.StringValue" value: | { - "rules": "SecDebugLogLevel 5 \nSecRuleEngine On \nSecRule REQUEST_URI \"@streq /admin\" \"id:101,phase:1,t:lowercase,deny\"" + "rules": [ + "SecDebugLogLevel 5", + "SecRuleEngine On", + "SecRule REQUEST_URI \"@streq /admin\" \"id:101,phase:1,t:lowercase,deny\"" + ] } vm_config: runtime: "envoy.wasm.runtime.v8" @@ -84,7 +88,7 @@ configuration: "@type": "type.googleapis.com/google.protobuf.StringValue" value: | { - "rules": "SecDebugLogLevel 5 \nSecRuleEngine On \n Include crs/*.conf" + "rules": [ "SecDebugLogLevel 5", "SecRuleEngine On", "Include crs/*.conf" ] } ``` @@ -95,7 +99,7 @@ configuration: "@type": "type.googleapis.com/google.protobuf.StringValue" value: | { - "rules": "SecDebugLogLevel 5 \nSecRuleEngine On \n Include crs/REQUEST-901-INITIALIZATION.conf" + "rules": [ "SecDebugLogLevel 5", "SecRuleEngine On", "Include crs/REQUEST-901-INITIALIZATION.conf" ] } ```