The wp admintools wafexceptions commands let you manage WAF Exceptions. Exceptions allow specific request parameters on certain URLs to bypass WAF filtering.
Creates a new WAF exception.
wp admintools wafexceptions add <at-url> <at-param> [--description=<description>] [--at-type=<at_type>] [--at-value=<at_value>] [--published=<published>]
at-urlThe URL (relative to site root) for which the exception applies (required).
at-paramThe request parameter name to exempt from WAF filtering (required).
--descriptionAn optional description for this exception.
--at-typeHow to match the URL: exact (default) or regex.
--at-valueThe parameter value to exempt. Leave empty for any value.
--publishedWhether the exception is published (1, default) or unpublished (0).
Exempt the "content" parameter on the post editor:
wp admintools wafexceptions add wp-admin/post.php content
Add an exception with a description:
wp admintools wafexceptions add wp-admin/post.php content --description="Allow HTML in posts"
Use a regex URL match:
wp admintools wafexceptions add "wp-admin/.*" content --at-type=regex
Success: WAF exception created with ID 1.