Skip to content

Commit 2c209b3

Browse files
authored
[WAF] Improve linking (#21874)
1 parent ff21359 commit 2c209b3

File tree

9 files changed

+30
-2
lines changed

9 files changed

+30
-2
lines changed

src/content/docs/terraform/additional-configurations/rate-limiting-rules.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ import { Details, Render } from "~/components";
1313

1414
This page provides examples of creating [rate limiting rules](/waf/rate-limiting-rules/) in a zone or account using Terraform.
1515

16-
:::note
16+
If you are using the Cloudflare API, refer to the following resources:
17+
18+
- [Create a rate limiting rule via API](/waf/rate-limiting-rules/create-api/)
19+
- [Create a rate limiting ruleset via API](/waf/account/rate-limiting-rulesets/create-api/)
1720

21+
:::note
1822
For more information on configuring the previous version of rate limiting rules in Terraform, refer to the [`cloudflare_rate_limit` resource](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/rate_limit) in the Terraform documentation.
1923
:::
2024

src/content/docs/terraform/additional-configurations/waf-custom-rules.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ This page provides examples of creating [WAF custom rules](/waf/custom-rules/) i
1818

1919
The WAF documentation includes additional Terraform examples — refer to [More resources](#more-resources).
2020

21+
If you are using the Cloudflare API, refer to the following resources in the WAF documentation:
22+
23+
- [Create a custom rule via API](/waf/custom-rules/create-api/)
24+
- [Create a custom ruleset using the API](/waf/account/custom-rulesets/create-api/)
25+
26+
For more information on deploying and configuring custom rulesets using the Rulesets API, refer to [Work with custom rulesets](/ruleset-engine/custom-rulesets/) in the Ruleset Engine documentation.
27+
2128
## Before you start
2229

2330
### Obtain the necessary account or zone IDs

src/content/docs/terraform/additional-configurations/waf-managed-rulesets.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ This page provides examples of deploying and configuring [WAF Managed Rules](/wa
2020
- [Configure overrides](#configure-overrides)
2121
- [Configure the OWASP paranoia level, score threshold, and action](#configure-the-owasp-paranoia-level-score-threshold-and-action)
2222

23-
For more information on deploying and configuring rulesets using the Rulesets API, refer to [Work with managed rulesets](/ruleset-engine/managed-rulesets/) in the Ruleset Engine documentation.
23+
If you are using the Cloudflare API, refer to the following resources:
24+
25+
- [Deploy a WAF managed ruleset via API](/waf/managed-rules/deploy-api/)
26+
- [Deploy a WAF managed ruleset via API (account)](/waf/account/managed-rulesets/deploy-api/)
27+
28+
For more information on deploying and configuring managed rulesets using the Rulesets API, refer to [Work with managed rulesets](/ruleset-engine/managed-rulesets/) in the Ruleset Engine documentation.
2429

2530
## Before you start
2631

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ This feature requires an Enterprise plan with a paid add-on.
1717

1818
To deploy custom rules at the account level, you must create a custom ruleset with one or more rules. Use the [Rulesets API](/ruleset-engine/rulesets-api/) to work with custom rulesets using the API.
1919

20+
If you are using Terraform, refer to [WAF custom rules configuration using Terraform](/terraform/additional-configurations/waf-custom-rules/#create-and-deploy-a-custom-ruleset).
21+
2022
## Procedure
2123

2224
To deploy a custom ruleset in your account, follow these general steps:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Use the [Rulesets API](/ruleset-engine/rulesets-api/) to deploy a WAF managed ru
1919

2020
The [WAF Managed Rules](/waf/managed-rules/#managed-rulesets) page includes the IDs of the different WAF managed rulesets. You will need this information when deploying rulesets via API.
2121

22+
If you are using Terraform, refer to [WAF Managed Rules configuration using Terraform](/terraform/additional-configurations/waf-managed-rulesets/#deploy-managed-rulesets-at-the-account-level).
23+
2224
## Example
2325

2426
<Render file="managed-rulesets/api-account-example" />

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ At the API level, a rate limiting ruleset is a regular [custom ruleset](/waf/acc
1919

2020
Each rate limiting rule contains a `ratelimit` object with the rate limiting configuration. Refer to [Rate limiting parameters](/waf/rate-limiting-rules/parameters/) for more information on this object and its parameters.
2121

22+
If you are using Terraform, refer to [Rate limiting rules configuration using Terraform](/terraform/additional-configurations/rate-limiting-rules/#create-a-rate-limiting-rule-at-the-account-level).
23+
2224
## Procedure
2325

2426
To deploy a rate limiting ruleset in your account, follow these general steps:

src/content/docs/waf/custom-rules/create-api.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Use the [Rulesets API](/ruleset-engine/rulesets-api/) to create a custom rule vi
1616

1717
You must deploy custom rules to the `http_request_firewall_custom` [phase entry point ruleset](/ruleset-engine/about/rulesets/#entry-point-ruleset).
1818

19+
If you are using Terraform, refer to [WAF custom rules configuration using Terraform](/terraform/additional-configurations/waf-custom-rules/).
20+
1921
## Create a custom rule
2022

2123
<Render

src/content/docs/waf/managed-rules/deploy-api.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Deploy WAF managed rulesets to the `http_request_firewall_managed` phase. Other
1717

1818
The [WAF Managed Rules](/waf/managed-rules/#managed-rulesets) page includes the IDs of the different WAF managed rulesets. You will need this information when deploying the rulesets via API.
1919

20+
If you are using Terraform, refer to [WAF Managed Rules configuration using Terraform](/terraform/additional-configurations/waf-managed-rulesets/).
21+
2022
## Example
2123

2224
<Render file="managed-rulesets/api-zone-example" />

src/content/docs/waf/rate-limiting-rules/create-api.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ You must deploy rate limiting rules to the `http_ratelimit` [phase entry point r
1919

2020
Rate limiting rules must appear at the end of the rules list.
2121

22+
If you are using Terraform, refer to [Rate limiting rules configuration using Terraform](/terraform/additional-configurations/rate-limiting-rules/).
23+
2224
## Create a rate limiting rule
2325

2426
<Render

0 commit comments

Comments
 (0)