Merge pull request #3266 from airween/v3/modsecdefconf

chore: add 'log' action to rule 200005
This commit is contained in:
Ervin Hegedus 2024-10-02 17:09:31 +02:00 committed by GitHub
commit 373ddb8925
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,7 @@ SecPcreMatchLimitRecursion 1000
# MSC_PCRE_LIMITS_EXCEEDED: PCRE match limits were exceeded. # MSC_PCRE_LIMITS_EXCEEDED: PCRE match limits were exceeded.
# #
SecRule TX:/^MSC_/ "!@streq 0" \ 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 -------------------------------------------------- # -- Response body handling --------------------------------------------------