From 1a1aa246d2445b1e8389f1270d4cc786a0387440 Mon Sep 17 00:00:00 2001 From: Daniel Glen Date: Thu, 24 Oct 2024 13:11:07 +0100 Subject: [PATCH] Added rule to endpoints showing in logs --- helm_deploy/wordpress/templates/ingress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm_deploy/wordpress/templates/ingress.yaml b/helm_deploy/wordpress/templates/ingress.yaml index 4b5b055..129dc45 100644 --- a/helm_deploy/wordpress/templates/ingress.yaml +++ b/helm_deploy/wordpress/templates/ingress.yaml @@ -64,6 +64,7 @@ metadata: phase:2,\ pass,\ nolog,\ + ctl:ruleRemoveById=921110,\ ctl:ruleRemoveById=941100,\ ctl:ruleRemoveById=941160" # Limit ModSecurity excemptions to the wp-admin/nav-menus.php endpoint @@ -79,6 +80,7 @@ metadata: phase:2,\ pass,\ nolog,\ + ctl:ruleRemoveById=921110,\ ctl:ruleRemoveById=941100,\ ctl:ruleRemoveById=941160" {{- if eq .Values.configmap.envtype "staging" }}