chore: add 'log' action to rule 200005

This commit is contained in:
Ervin Hegedus 2024-10-02 17:11:01 +02:00
parent d6f1ebb4a3
commit 63d5d92565
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -109,7 +109,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 --------------------------------------------------