Skip to content

Commit e14383c

Browse files
authored
[WAF] Use DashButton in instructions (#24885)
1 parent b09f72d commit e14383c

File tree

10 files changed

+117
-63
lines changed

10 files changed

+117
-63
lines changed

src/content/docs/waf/account/custom-rulesets/create-dashboard.mdx

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@ head:
1010
content: Work with WAF custom rulesets in the dashboard
1111
---
1212

13-
import { Render, Steps } from "~/components";
13+
import { Render, Steps, DashButton } from "~/components";
1414

1515
:::note
1616
This feature requires an Enterprise plan with a paid add-on.
1717
:::
1818

19-
Custom rulesets are configured at the account level. To work with custom rulesets, go to Account Home > **WAF** > **Custom rulesets**.
19+
Custom rulesets are configured at the account level.
2020

2121
## Create and deploy a custom ruleset
2222

2323
<Steps>
2424

25-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
25+
1. In the Cloudflare dashboard, go to the **WAF** page.
2626

27-
2. Go to Account Home > **WAF** > **Custom rulesets**.
27+
<DashButton url="/?to=/:account/application-security/waf" />
28+
29+
2. Go to the **Custom rulesets** tab.
2830

2931
![Custom rulesets page in the Cloudflare dashboard](~/assets/images/waf/account/custom-rulesets-dashboard.png)
3032

@@ -62,9 +64,11 @@ Custom rulesets are configured at the account level. To work with custom ruleset
6264

6365
<Steps>
6466

65-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
67+
1. In the Cloudflare dashboard, go to the **WAF** page.
68+
69+
<DashButton url="/?to=/:account/application-security/waf" />
6670

67-
2. Go to Account Home > **WAF** > **Custom rulesets**.
71+
2. Go to the **Custom rulesets** tab.
6872

6973
![Custom rulesets page in the Cloudflare dashboard](~/assets/images/waf/account/custom-rulesets-dashboard.png)
7074

@@ -84,8 +88,11 @@ Deployed custom rulesets will only apply to incoming traffic of Enterprise domai
8488

8589
<Steps>
8690

87-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
88-
2. Go to Account Home > **WAF** > **Custom rulesets**.
91+
1. In the Cloudflare dashboard, go to the **WAF** page.
92+
93+
<DashButton url="/?to=/:account/application-security/waf" />
94+
95+
2. Go to the **Custom rulesets** tab.
8996
3. To delete a custom ruleset, select the three dots next to it > **Delete**.
9097
4. To confirm the delete operation, select **Delete**.
9198

src/content/docs/waf/account/managed-rulesets/deploy-dashboard.mdx

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ head:
99
content: Deploy a WAF managed ruleset in the dashboard for an account
1010
---
1111

12-
import { Render, Steps } from "~/components";
12+
import { Render, Steps, DashButton } from "~/components";
1313

1414
:::note
1515
This feature requires an Enterprise plan with a paid add-on.
1616
:::
1717

18-
You deploy managed rulesets for an account in Account Home > **WAF** > **Managed rulesets** tab.
19-
20-
![Example WAF Managed Rules configuration in the Managed rulesets tab under Account Home > WAF.](~/assets/images/waf/account/managed-rulesets-dashboard.png)
21-
2218
To deploy a managed ruleset for a single zone, refer to [Deploy a managed ruleset in the dashboard for a zone](/waf/managed-rules/deploy-zone-dashboard/).
2319

2420
## Deploy a managed ruleset
2521

2622
<Steps>
2723

28-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
24+
1. In the Cloudflare dashboard, go to the **WAF** page.
25+
26+
<DashButton url="/?to=/:account/application-security/waf" />
27+
28+
2. Go to the **Managed rulesets** tab.
2929

30-
2. Go to Account Home > **WAF** > **Managed rulesets** tab.
30+
![Example WAF Managed Rules configuration in the Managed rulesets tab.](~/assets/images/waf/account/managed-rulesets-dashboard.png)
3131

3232
3. Select **Deploy** > **Deploy managed ruleset**.
3333

@@ -73,9 +73,11 @@ To configure an entire managed ruleset:
7373

7474
<Steps>
7575

76-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
76+
1. In the Cloudflare dashboard, go to the **WAF** page.
7777

78-
2. Go to Account Home > **WAF** > **Managed rulesets** tab.
78+
<DashButton url="/?to=/:account/application-security/waf" />
79+
80+
2. Go to the **Managed rulesets** tab.
7981

8082
3. Select the rule description of the _Execute_ rule that deploys the managed ruleset you want to configure. Alternatively, select the three dots > **Edit**.
8183

@@ -111,9 +113,11 @@ You can browse the available rules in a managed ruleset and search for individua
111113

112114
<Steps>
113115

114-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
116+
1. In the Cloudflare dashboard, go to the **WAF** page.
117+
118+
<DashButton url="/?to=/:account/application-security/waf" />
115119

116-
2. Go to Account Home > **WAF** > **Managed rulesets** tab.
120+
2. Go to the **Managed rulesets** tab.
117121

118122
3. Select the rule description of the _Execute_ rule that deploys the managed ruleset you want to configure. Alternatively, select the three dots > **Edit**.
119123

@@ -131,8 +135,11 @@ You can browse the available rules in a managed ruleset and search for individua
131135

132136
<Steps>
133137

134-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
135-
2. Go to Account Home > **WAF** > **Managed rulesets** tab.
138+
1. In the Cloudflare dashboard, go to the **WAF** page.
139+
140+
<DashButton url="/?to=/:account/application-security/waf" />
141+
142+
2. Go to the **Managed rulesets** tab.
136143
3. Under **Deployed managed rulesets** and next to the rule you want to delete, select the three dots > **Delete** and confirm the operation.
137144

138145
</Steps>

src/content/docs/waf/account/rate-limiting-rulesets/create-dashboard.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ head:
99
content: Create a rate limiting ruleset in the dashboard for an account
1010
---
1111

12-
import { Render, Steps } from "~/components";
12+
import { Render, Steps, DashButton } from "~/components";
1313

1414
:::note
1515
This feature requires an Enterprise plan with a paid add-on.
@@ -21,9 +21,11 @@ At the account level, rate limiting rules are grouped into rate limiting ruleset
2121

2222
<Steps>
2323

24-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account.
24+
1. In the Cloudflare dashboard, go to the **WAF** page.
2525

26-
2. Go to Account Home > **WAF** > **Rate limiting rulesets**.
26+
<DashButton url="/?to=/:account/application-security/waf" />
27+
28+
2. Go to the **Rate limiting rulesets** tab.
2729

2830
3. To create a new empty ruleset, select **Create ruleset**. To duplicate an existing ruleset, select the three dots next to it > **Duplicate**.
2931

@@ -67,9 +69,11 @@ To deploy a custom rate limiting ruleset to one or more zones on an Enterprise p
6769

6870
<Steps>
6971

70-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account.
72+
1. In the Cloudflare dashboard, go to the **WAF** page.
73+
74+
<DashButton url="/?to=/:account/application-security/waf" />
7175

72-
2. Go to Account Home > **WAF** > **Rate limiting rulesets**.
76+
2. Go to the **Rate limiting rulesets** tab.
7377

7478
3. Under **Your custom rate limiting rulesets** and next to the rate limiting ruleset you wish to deploy, select **Deploy**.
7579

src/content/docs/waf/analytics/security-analytics.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ sidebar:
55
order: 1
66
---
77

8-
import { FeatureTable, GlossaryTooltip, Badge, Steps } from "~/components";
8+
import {
9+
FeatureTable,
10+
GlossaryTooltip,
11+
Badge,
12+
Steps,
13+
DashButton,
14+
} from "~/components";
915

1016
Security Analytics displays information about all incoming HTTP requests for your domain, including requests not handled by Cloudflare security products.
1117

@@ -38,7 +44,9 @@ To use Security Analytics:
3844

3945
2. Go to the account or zone/domain dashboard:
4046
- For the zone/domain dashboard, select your domain and go to **Security** > **Analytics**.
41-
- For the account dashboard, go to **Security Center** > **Security Analytics**.
47+
- For the account dashboard, go to the **Security Analytics** page.
48+
49+
<DashButton url="/?to=/:account/security-center/analytics" />
4250

4351
</Steps>
4452

src/content/docs/waf/analytics/security-events.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 2
66
---
77

8-
import { FeatureTable, GlossaryTooltip, Steps } from "~/components";
8+
import { FeatureTable, GlossaryTooltip, Steps, DashButton } from "~/components";
99

1010
Security Events allows you to review <GlossaryTooltip term="mitigated request">mitigated requests</GlossaryTooltip> and helps you tailor your security configurations.
1111

@@ -31,7 +31,9 @@ To open Security Events for a given zone:
3131
- Old dashboard: Go to **Security** > **Events**.
3232
- New security dashboard: Go to **Security** > **Analytics** > **Events** tab.
3333

34-
Additionally, Enterprise customers have access to the account-level dashboard in Account Home > **Security Center** > **Security Events**.
34+
Additionally, Enterprise customers have access to the account-level dashboard:
35+
36+
<DashButton url="/?to=/:account/security-center/events" />
3537

3638
## Adjust displayed data
3739

src/content/docs/waf/managed-rules/waf-exceptions/define-dashboard.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Use the Cloudflare dashboard to create exceptions that skip the
1010
execution of WAF managed rulesets or specific ruleset rules.
1111
---
1212

13-
import { Tabs, TabItem, Steps } from "~/components";
13+
import { Tabs, TabItem, Steps, DashButton } from "~/components";
1414

1515
## 1. Go to the zone or account dashboard page
1616

@@ -42,8 +42,11 @@ To add an exception at the account level (Enterprise plans only):
4242

4343
<Steps>
4444

45-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com), and select your account.
46-
2. Go to Account Home > **WAF** > **Managed rulesets** tab.
45+
1. In the Cloudflare dashboard, go to the **WAF** page.
46+
47+
<DashButton url="/?to=/:account/application-security/waf" />
48+
49+
2. Go to the **Managed rulesets** tab.
4750
3. Select **Deploy** > **Deploy managed exception**.
4851

4952
</Steps>
@@ -132,8 +135,11 @@ To edit an exception at the account level (Enterprise plans only):
132135

133136
<Steps>
134137

135-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com), and select your account.
136-
2. Go to Account Home > **WAF** > **Managed rulesets** tab.
138+
1. In the Cloudflare dashboard, go to the **WAF** page.
139+
140+
<DashButton url="/?to=/:account/application-security/waf" />
141+
142+
2. Go to the **Managed rulesets** tab.
137143
3. Find the exception you want to edit and select its name. Exceptions are rules listed with **Action** = **Skip**.
138144
4. Once you have finished making changes, select **Save**.<br/>
139145
Alternatively, to delete the exception, select **Delete exception**.

src/content/docs/waf/reference/legacy/old-rate-limiting/index.mdx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ sidebar:
77
noindex: true
88
---
99

10+
import { DashButton } from "~/components";
11+
1012
Cloudflare Rate Limiting automatically identifies and mitigates excessive request rates for specific URLs or for an entire domain.
1113

1214
:::caution
@@ -268,11 +270,19 @@ You can use the following method to redirect a rate-limited client to a specific
268270

269271
Take note of the public URL of the page you created.
270272

271-
2. In the Cloudflare dashboard, go to Account Home > **Configurations** > **Custom Pages**.
273+
2. In the Cloudflare dashboard, go to the **Settings** page.
274+
275+
<DashButton url="/?to=/:account/configurations" />
276+
277+
3. Go to **Error Pages**.
278+
279+
4. Next to **Rate limiting block**, select the three dots > **Edit**.
280+
281+
5. Select **Custom page**.
272282

273-
3. Under **429 errors**, select **Custom Pages**.
283+
6. In **Custom page address**, enter the URL of the page you created on your server — the page containing the meta `refresh` tag.
274284

275-
4. Enter the URL of the page you created on your server — the page containing the meta `refresh` tag — and select **Publish**.
285+
7. Select **Save**.
276286

277287
Follow the same approach if you wish to return plain text or JSON content but the response is larger than 32 KB. In this case, the redirect URL would be the URL of the plain text or JSON resource you would like to display.
278288

src/content/docs/waf/reference/phases.mdx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar:
66
tableOfContents: false
77
---
88

9-
import { Tabs, TabItem } from "~/components";
9+
import { Tabs, TabItem, DashButton } from "~/components";
1010

1111
The Web Application Firewall provides the following [phases](/ruleset-engine/about/phases/) where you can create rulesets and rules:
1212

@@ -18,25 +18,25 @@ These phases exist both at the account level and at the zone level. Considering
1818

1919
<Tabs syncKey="dashNewNav"> <TabItem label="Old dashboard">
2020

21-
| Security feature | Scope | Phase | Ruleset kind | Location in the dashboard |
22-
| -------------------------------------------------------------- | ------- | ------------------------------- | ------------------------------------- | ------------------------------------------------------------ |
23-
| [Custom rulesets](/waf/account/custom-rulesets/)<br/> | Account | `http_request_firewall_custom` | `custom` (create)<br/>`root` (deploy) | Account Home > **WAF** > **Custom rulesets** |
24-
| [Custom rules](/waf/custom-rules/) | Zone | `http_request_firewall_custom` | `zone` | Your zone > **Security** > **WAF** > **Custom rules** |
25-
| [Rate limiting rulesets](/waf/account/rate-limiting-rulesets/) | Account | `http_ratelimit` | `root` | Account Home > **WAF** > **Rate limiting rulesets** |
26-
| [Rate limiting rules](/waf/rate-limiting-rules/) | Zone | `http_ratelimit` | `zone` | Your zone > **Security** > **WAF** > **Rate limiting rules** |
27-
| [Managed rulesets](/waf/account/managed-rulesets/) | Account | `http_request_firewall_managed` | `root` | Account Home > **WAF** > **Managed rulesets** |
28-
| [Managed rules](/waf/managed-rules/) | Zone | `http_request_firewall_managed` | `zone` | Your zone > **Security** > **WAF** > **Managed rules** |
21+
| Security feature | Scope | Phase | Ruleset kind | Location in the dashboard |
22+
| -------------------------------------------------------------- | ------- | ------------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------- |
23+
| [Custom rulesets](/waf/account/custom-rulesets/)<br/> | Account | `http_request_firewall_custom` | `custom` (create)<br/>`root` (deploy) | <DashButton url="/?to=/:account/application-security/waf" /> > **Custom rulesets** tab |
24+
| [Custom rules](/waf/custom-rules/) | Zone | `http_request_firewall_custom` | `zone` | Your zone > **Security** > **WAF** > **Custom rules** tab |
25+
| [Rate limiting rulesets](/waf/account/rate-limiting-rulesets/) | Account | `http_ratelimit` | `root` | <DashButton url="/?to=/:account/application-security/waf" /> > **Rate limiting rulesets** tab |
26+
| [Rate limiting rules](/waf/rate-limiting-rules/) | Zone | `http_ratelimit` | `zone` | Your zone > **Security** > **WAF** > **Rate limiting rules** tab |
27+
| [Managed rulesets](/waf/account/managed-rulesets/) | Account | `http_request_firewall_managed` | `root` | <DashButton url="/?to=/:account/application-security/waf" /> > **Managed rulesets** tab |
28+
| [Managed rules](/waf/managed-rules/) | Zone | `http_request_firewall_managed` | `zone` | Your zone > **Security** > **WAF** > **Managed rules** tab |
2929

3030
</TabItem> <TabItem label="New dashboard" icon="rocket">
3131

32-
| Security feature | Scope | Phase | Ruleset kind | Location in the dashboard |
33-
| -------------------------------------------------------------- | ------- | ------------------------------- | ------------------------------------- | --------------------------------------------------- |
34-
| [Custom rulesets](/waf/account/custom-rulesets/)<br/> | Account | `http_request_firewall_custom` | `custom` (create)<br/>`root` (deploy) | Account Home > **WAF** > **Custom rulesets** |
35-
| [Custom rules](/waf/custom-rules/) | Zone | `http_request_firewall_custom` | `zone` | Your zone > **Security** > **Security rules** |
36-
| [Rate limiting rulesets](/waf/account/rate-limiting-rulesets/) | Account | `http_ratelimit` | `root` | Account Home > **WAF** > **Rate limiting rulesets** |
37-
| [Rate limiting rules](/waf/rate-limiting-rules/) | Zone | `http_ratelimit` | `zone` | Your zone > **Security** > **Security rules** |
38-
| [Managed rulesets](/waf/account/managed-rulesets/) | Account | `http_request_firewall_managed` | `root` | Account Home > **WAF** > **Managed rulesets** |
39-
| [Managed rules](/waf/managed-rules/) | Zone | `http_request_firewall_managed` | `zone` | Your zone > **Security** > **Security rules** |
32+
| Security feature | Scope | Phase | Ruleset kind | Location in the dashboard |
33+
| -------------------------------------------------------------- | ------- | ------------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------------- |
34+
| [Custom rulesets](/waf/account/custom-rulesets/)<br/> | Account | `http_request_firewall_custom` | `custom` (create)<br/>`root` (deploy) | <DashButton url="/?to=/:account/application-security/waf" /> > **Custom rulesets** tab |
35+
| [Custom rules](/waf/custom-rules/) | Zone | `http_request_firewall_custom` | `zone` | Your zone > **Security** > **Security rules** |
36+
| [Rate limiting rulesets](/waf/account/rate-limiting-rulesets/) | Account | `http_ratelimit` | `root` | <DashButton url="/?to=/:account/application-security/waf" /> > **Rate limiting rulesets** tab |
37+
| [Rate limiting rules](/waf/rate-limiting-rules/) | Zone | `http_ratelimit` | `zone` | Your zone > **Security** > **Security rules** |
38+
| [Managed rulesets](/waf/account/managed-rulesets/) | Account | `http_request_firewall_managed` | `root` | <DashButton url="/?to=/:account/application-security/waf" /> > **Managed rulesets** tab |
39+
| [Managed rules](/waf/managed-rules/) | Zone | `http_request_firewall_managed` | `zone` | Your zone > **Security** > **Security rules** |
4040

4141
</TabItem> </Tabs>
4242

src/content/docs/waf/tools/lists/create-dashboard.mdx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ sidebar:
55
order: 5
66
---
77

8-
import { Render, Steps } from "~/components";
8+
import { Render, Steps, DashButton } from "~/components";
99

1010
To create a list, follow these steps:
1111

1212
<Steps>
1313

14-
1. Log in to your [Cloudflare account](https://dash.cloudflare.com) and select your account.
15-
2. Go to Account Home > **Manage Account** > **Configurations**, and then select **Lists**.
14+
1. In the Cloudflare dashboard, go to the **Settings** page.
15+
16+
<DashButton url="/?to=/:account/configurations" />
17+
18+
2. Go to **Lists**.
1619
3. Select **Create new list**.
1720
4. Enter a name for your list, observing the [list name guidelines](/waf/tools/lists/#list-names).
1821
5. (Optional) Enter a description for the list, with a maximum length of 500 characters.
@@ -27,8 +30,13 @@ To create a list, follow these steps:
2730
<Steps>
2831

2932
1. (Optional) If you wish to add items to an existing list:
30-
1. Go to Account Home > **Manage Account** > **Configurations** > **Lists**.
31-
2. Select **Edit** next to the list you want to edit.
33+
1. Go to the **Settings** page.
34+
35+
<DashButton url="/?to=/:account/configurations" />
36+
37+
2. Go to **Lists**.
38+
3. Select **Edit** next to the list you want to edit.
39+
3240
2. Select **Add items**.
3341
3. To [add items to the list manually](#add-items-to-a-list-manually), use the available text inputs on the page.
3442
4. To [add items using a CSV file](#add-items-using-a-csv-file), select **Upload CSV**.

0 commit comments

Comments
 (0)