From f46b73eae947b5077ee032e6f27afca08bfa0099 Mon Sep 17 00:00:00 2001 From: Mitch Dawson Date: Mon, 28 Oct 2024 20:23:17 +0000 Subject: [PATCH] Fix modsec comment --- deployments/templates/ingress.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deployments/templates/ingress.yml b/deployments/templates/ingress.yml index ada8a3db..bda9ae50 100644 --- a/deployments/templates/ingress.yml +++ b/deployments/templates/ingress.yml @@ -8,11 +8,7 @@ metadata: nginx.ingress.kubernetes.io/enable-modsecurity: "true" nginx.ingress.kubernetes.io/modsecurity-snippet: | SecRuleEngine On - - # Rule to resolve issues with urls containing '.profile' being blocked by rule 930130 - # See ticket https://github.com/ministryofjustice/find-moj-data/issues/982 SecRule REQUEST_URI "@contains .profile" "id:1005,phase:1,t:lowercase,ctl:ruleRemoveById=930130" - SecDefaultAction "phase:2,pass,log,tag:github_team=data-catalogue" SecDefaultAction "phase:4,pass,log,tag:github_team=data-catalogue" spec: