Skip to content

Commit 3cc61d0

Browse files
authored
Added WP WAF Exclusion
1 parent 819f7b2 commit 3cc61d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nginx/modsec/WORDPRESS-EXCLUSION-RULES.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/admin-ajax.php" \
1111
ctl:ruleRemoveById=932130,\
1212
ctl:ruleRemoveById=941100,\
1313
ctl:ruleRemoveById=941160,\
14-
ctl:ruleRemoveTargetById=941180;ARGS:actions"
14+
ctl:ruleRemoveTargetById=941180;ARGS:actions,\
15+
ctl:ruleRemoveTargetById=942230;ARGS:actions"
1516

1617
# Exclusions for WP Pages saves
1718
SecRule REQUEST_FILENAME "@rx /wp-json/wp/v2/(pages|posts)/[0-9]+(/autosaves)?" \
@@ -106,4 +107,4 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/post.php" \
106107
pass,\
107108
t:none,\
108109
nolog,\
109-
ctl:ruleRemoveById=942100"
110+
ctl:ruleRemoveById=942100"

0 commit comments

Comments
 (0)