(http.request.full_uri contains "wp-config.") or(http.request.uri.path contains "/wp-content/" and http.request.uri.path contains ".php") or(http.request.uri.path contains "phpmyadmin") or(http.request.uri.path contains "/xmlrpc.php") or(http.request.full_uri contains "passwd") or(http.request.uri.query contains "author_name=") or(http.request.uri.query contains "author=" and not http.request.uri.path contains "/wp-admin/export.php") or(http.request.uri contains "/wp-json/wp/v2/users/") or(http.request.full_uri contains "../") or(http.request.full_uri contains "..%2F") or(http.request.full_uri contains "vuln.") or(http.request.uri.query contains "base64") or(http.request.uri.query contains "<script") or(http.request.uri.query contains "%3Cscript") or(http.request.uri.query contains "$_GLOBALS[") or(http.request.uri.query contains "$_REQUEST[") or(http.request.uri.query contains "$_POST[") or(http.request.uri contains "<?php") or (http.request.uri contains ".sql") or(http.request.uri contains ".bak") or(http.request.uri contains ".cfg") or(http.request.uri contains ".env") or(http.request.uri contains ".ini") or(http.request.uri contains ".log") or(http.request.full_uri contains "/license.txt") or(http.request.full_uri contains "/readme.html")
<?php") or (http.request.uri contains ".sql") or(http.request.uri contains ".bak") or(http.request.uri contains ".cfg") or(http.request.uri contains ".env") or(http.request.uri contains ".ini") or(http.request.uri contains ".log") or(http.request.full_uri contains "/license.txt") or(http.request.full_uri contains "/readme.html")
Convert every rule to a main rule (some are likely already there if you import the standard ruleset) and assign them.Some of those rules are totally nonsense for a default WP installation like blocking phpmyadmin since it is not there unless you install it or blocking file extensions that should not exist in a WP installation.
There is an API in the background.