Skip to content

Commit

Permalink
Fix modsec comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdawson1982 committed Oct 28, 2024
1 parent 7a7a800 commit f46b73e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions deployments/templates/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f46b73e

Please sign in to comment.