From a421e6296f8d91bb25bda5bf3b8a2cc917a98ecd Mon Sep 17 00:00:00 2001 From: Mitch Dawson <86007219+mitchdawson1982@users.noreply.github.com> Date: Mon, 28 Oct 2024 19:29:28 +0000 Subject: [PATCH] Revert "Modsec .profile Rule Issue (#990)" This reverts commit 7a7a800e0cbc7fd76a49d3efaaa9a06d3d688b38. --- deployments/templates/ingress.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/deployments/templates/ingress.yml b/deployments/templates/ingress.yml index ada8a3db..644f3c50 100644 --- a/deployments/templates/ingress.yml +++ b/deployments/templates/ingress.yml @@ -8,11 +8,6 @@ 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: