|
10 | 10 | content: Create a custom rule in the dashboard |
11 | 11 | --- |
12 | 12 |
|
13 | | -import { Render, Tabs, TabItem, Steps } from "~/components"; |
| 13 | +import { Render, Tabs, TabItem, Steps, DashButton } from "~/components"; |
14 | 14 |
|
15 | 15 | <Tabs syncKey="dashNewNav"> <TabItem label="Old dashboard"> |
16 | 16 |
|
@@ -40,24 +40,24 @@ import { Render, Tabs, TabItem, Steps } from "~/components"; |
40 | 40 |
|
41 | 41 | <Steps> |
42 | 42 |
|
43 | | -1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com), and select your account and domain. |
| 43 | +1. In the Cloudflare dashboard, go to the **Security rules** page. |
44 | 44 |
|
45 | | -2. Go to **Security** > **Security rules**. |
| 45 | + <DashButton url="/?to=/:account/:zone/security/security-rules" /> |
46 | 46 |
|
47 | | -3. To create a new empty rule, select **Create rule** > **Custom rules**. To duplicate an existing rule, select the three dots next to it > **Duplicate**. |
| 47 | +2. To create a new empty rule, select **Create rule** > **Custom rules**. To duplicate an existing rule, select the three dots next to it > **Duplicate**. |
48 | 48 |
|
49 | | -4. <a id="rule-form" /> |
| 49 | +3. <a id="rule-form" /> |
50 | 50 | Enter a descriptive name for the rule in **Rule name**. |
51 | 51 |
|
52 | 52 |  |
53 | 53 |
|
54 | | -5. Under **If incoming requests match**, use the **Field** drop-down list to choose an HTTP property. For each request, the value of the property you choose for **Field** is compared to the value you specify for **Value** using the operator selected in **Operator**. |
| 54 | +4. Under **If incoming requests match**, use the **Field** drop-down list to choose an HTTP property. For each request, the value of the property you choose for **Field** is compared to the value you specify for **Value** using the operator selected in **Operator**. |
55 | 55 |
|
56 | | -6. Under **Then take action**, select the rule action in the **Choose action** dropdown. For example, selecting _Block_ tells Cloudflare to refuse requests that match the conditions you specified. |
| 56 | +5. Under **Then take action**, select the rule action in the **Choose action** dropdown. For example, selecting _Block_ tells Cloudflare to refuse requests that match the conditions you specified. |
57 | 57 |
|
58 | | -7. (Optional) If you selected the _Block_ action, you can [configure a custom response](#configure-a-custom-response-for-blocked-requests). |
| 58 | +6. (Optional) If you selected the _Block_ action, you can [configure a custom response](#configure-a-custom-response-for-blocked-requests). |
59 | 59 |
|
60 | | -8. To save and deploy your rule, select **Deploy**. If you are not ready to deploy your rule, select **Save as Draft**. |
| 60 | +7. To save and deploy your rule, select **Deploy**. If you are not ready to deploy your rule, select **Save as Draft**. |
61 | 61 |
|
62 | 62 | </Steps> |
63 | 63 |
|
|
0 commit comments