Viewing the Rule ID of a Firewall Rule

With the update to the firewall events log, the log now shows the rule name of the triggered rule which makes it easier to track down. If you still need to see the rule ID of a specific rule, you can follow this tutorial.

The rule ID of a Firewall Rule cannot be viewed on the normal dashboard pages. You have to go to the Developer Tools in your browser to see the ID.

This tutorial starts from the point where you have developer tools open in your browser. If you are not sure how to do this, please see Using Developer Tools in your browser to troubleshoot issues.

  1. Once you have opened Developer Tools, go to the ‘Network’ tab.
  2. Go to the ‘Firewall Rules’ page in your Cloudflare dashboard (if you already have it open, please refresh the page)
  3. In the network tab, you should see a call like rules?per_page=25, click on this.
  4. choose the ‘Response’ menu item,
  5. You can then see each rule listed with the relevant rule ID like below:
  "result": [
      "paused": false,
      "description": "DESCRIPTION",
      "action": "BLOCK",
      "filter": {
        "expression": "(EXPRESSION)",
        "paused": false
      "created_on": "DATE-TIME",
      "modified_on": "DATE-TIME"
  "success": true,
  "errors": [],
  "messages": [],
  "result_info": {
    "page": 1,
    "per_page": 25,
    "count": 1,
    "total_count": 1,
    "total_pages": 1

In the example above, YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY is what will be shown under ‘Match Triggered’ in the firewall events log.