The admintools waf command group lets you view and manage the Web Application Firewall configuration options.
Gets the current value of a WAF configuration option.
wp admintools waf get <key> [--format=<format>]
<key>The configuration option key.
--format=<format>The output format. Accepted values: text (default), json.
Check if the IP allow list is enabled:
wp admintools waf get ipwl
Get a value as JSON:
wp admintools waf get trackfailedlogins --format=json
1