curl --location --request GET 'https://api.cloudflare.com/client/v4/zones//firewall/rules/'
log
action is only available on an Enterprise plan.{
"errors": [],
"messages": [],
"result": {
"action": "block",
"description": "Blocks traffic identified during investigation for MIR-31",
"id": "372e67954025e0ba6aaa6d586b9e0b60",
"paused": false,
"priority": 50,
"products": [
"waf"
],
"ref": "MIR-31",
"filter": {
"description": "Restrict access from these browsers on this address range.",
"expression": "(http.request.uri.path ~ \".*wp-login.php\" or http.request.uri.path ~ \".*xmlrpc.php\") and ip.addr ne 172.16.22.155",
"id": "372e67954025e0ba6aaa6d586b9e0b61",
"paused": false,
"ref": "FIL-100"
}
},
"success": true
}