chore: add 'log' action to rule 200005

This commit is contained in:
Ervin Hegedus 2024-10-02 16:33:56 +02:00
parent 9e02b3cf01
commit 63201ae39f
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -156,7 +156,7 @@ SecPcreMatchLimitRecursion 1000
# MSC_PCRE_LIMITS_EXCEEDED: PCRE match limits were exceeded.
#
SecRule TX:/^MSC_/ "!@streq 0" \
"id:'200005',phase:2,t:none,deny,msg:'ModSecurity internal error flagged: %{MATCHED_VAR_NAME}'"
"id:'200005',phase:2,t:none,log,deny,msg:'ModSecurity internal error flagged: %{MATCHED_VAR_NAME}'"
# -- Response body handling --------------------------------------------------