Skip to content

Commit

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

Please sign in to comment.