跳转到主要内容
本章内容28
-
01
Cloudflare Firewall Rules
import { Render } from "~/components";
Cloudflare Firewall Rules allows you to create rules that inspect in...
1 天前
-
02
Call sequence
import { Render } from "~/components";
The API call examples in this site illustrate the recommended sequen...
1 天前
-
03
Manage rules via the APIs
import { Render } from "~/components";
Cloudflare offers APIs that work together to achieve the same effect...
1 天前
-
04
DELETE examples
This example deletes filters with IDs
{filter_id_1} and
{filter_id_2}.
curl --request DELETE \
"https://a...
1 天前
-
05
Endpoints
To invoke a Cloudflare Filters API operation, append the endpoint to the Cloudflare API base URL:
https://a...
1 天前
-
06
GET examples
This example returns all filters in zone with ID
{zone_id}.
curl "https://api.cloudflare.com/client/v4/zon...
1 天前
-
07
Cloudflare Filters API
import { Render } from "~/components";
Cloudflare Filters is an API-only component of firewall rules for de...
1 天前
-
08
JSON object
import { Type } from "~/components";
Filter object structure and properties
A JSON response for the Filters...
1 天前
-
09
POST example
This example creates several filters using a single API call.
curl "https://api.cloudflare.com/client/v4/zo...
1 天前
-
10
PUT examples
This example updates two filters with IDs
<FILTER_ID_1> and
<FILTER_ID_2> using a single API call.
curl -...
1 天前
-
11
Expression validation
The Cloudflare Filters API supports an endpoint for validating expressions.
Examples
Validate expression vi...
1 天前
-
12
What is a filter?
A filter is a way of saying:
if (traffic matches certain criteria) then...
A filter contains an expression ...
1 天前
-
13
DELETE examples
:::note
The
DELETE operation does not delete any filter related to the firewall rule. To delete the filter...
1 天前
-
14
Endpoints
To invoke a Cloudflare Firewall Rules API operation, append the endpoint to the Cloudflare API base URL:
ht...
1 天前
-
15
GET examples
This example returns all the firewall rules in the zone with ID
{zone_id}.
curl "https://api.cloudflare.co...
1 天前
-
16
Firewall Rules API
import { Render } from "~/components";
Use the Firewall Rules API to programmatically manage your rules.
Wh...
1 天前
-
17
JSON object
import { Type } from "~/components";
Firewall rule example JSON response
A JSON response for the Firewall R...
1 天前
-
18
POST example
This example creates several firewall rules using a single API call.
:::note
To create a firewall rule you ...
1 天前
-
19
PUT examples
This example updates several firewall rules using a single API call.
You can include up to 25 rules in the ...
1 天前
-
20
Create, edit, and delete rules
import { Render } from "~/components";
A firewall rule has two main attributes: an expression and an action...
1 天前
-
21
Create a mTLS rule
Use the Mutual TLS Rule interface in the Cloudflare dashboard to create an mTLS rule that requires requests...
1 天前
-
22
Manage rules in the dashboard
import { Render } from "~/components";
To configure firewall rules in the Cloudflare dashboard, open Firewa...
1 天前
-
23
Preview rules
The expression of a firewall rule can become quite complex. In this situation, you should test your firewal...
1 天前
-
24
Firewall rules actions
import { Render } from "~/components";
The action of a firewall rule tells Cloudflare how to handle HTTP re...
1 天前
-
25
About
import { Render } from "~/components";
Cloudflare Firewall Rules is a flexible and intuitive framework for ...
1 天前
-
26
Order and priority
Cloudflare Firewall Rules, now deprecated, is part of a larger evaluation chain for HTTP requests, as illus...
1 天前
-
27
Troubleshooting
import { DirectoryListing } from "~/components";
The following topics are useful for troubleshooting firewa...
1 天前
-
28
Required firewall rule changes to enable URL normalization
import { Render } from "~/components";
On 2021-04-08, Cloudflare announced URL normalization, a feature tha...
1 天前