Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/content/docs/waf/account/custom-rulesets/create-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,6 @@ Use the different operations in the [Rulesets API](/ruleset-engine/rulesets-api/

## More resources

For instructions on creating a custom rule at the zone level via API, refer to [Create a custom rule via API](/waf/custom-rules/create-api/).

For more information on working with custom rulesets, refer to [Work with custom rulesets](/ruleset-engine/custom-rulesets/) in the Ruleset Engine documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ Exceptions have priority over overrides.

## More resources

For instructions on deploying a managed ruleset at the zone level via API, refer to [Deploy a WAF managed ruleset via API (zone)](/waf/managed-rules/deploy-api/).

For more information on working with managed rulesets via API, refer to [Work with managed rulesets](/ruleset-engine/managed-rulesets/) in the Ruleset Engine documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,6 @@ Use the different operations in the [Rulesets API](/ruleset-engine/rulesets-api/

## More resources

For instructions on deploying a rate limiting rule at the zone level via API, refer to [Create a rate limiting rule via API](/waf/rate-limiting-rules/create-api/).

For more information on the different rate limiting parameters you can configure in your rate limiting rules, refer to [Rate limiting parameters](/waf/rate-limiting-rules/parameters/).
8 changes: 6 additions & 2 deletions src/content/docs/waf/custom-rules/create-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ sidebar:
label: Create via API
head:
- tag: title
content: Create a custom rule via API
content: Create a custom rule via API for a zone
---

import { GlossaryTooltip, Render, APIRequest } from "~/components";

Use the [Rulesets API](/ruleset-engine/rulesets-api/) to create a custom rule via API.
Use the [Rulesets API](/ruleset-engine/rulesets-api/) to create a custom rule via API at the zone level.

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

Expand Down Expand Up @@ -94,3 +94,7 @@ Use the different operations in the [Rulesets API](/ruleset-engine/rulesets-api/
phaseName: "http_request_firewall_custom",
}}
/>

## More resources

For instructions on deploying custom rules at the account level via API, refer to [Create a custom ruleset using the API](/waf/account/custom-rulesets/create-api/).
8 changes: 5 additions & 3 deletions src/content/docs/waf/managed-rules/deploy-api.mdx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
pcx_content_type: configuration
title: Deploy a WAF managed ruleset via API
title: Deploy a WAF managed ruleset via API (zone)
sidebar:
order: 2
label: Deploy via API
head:
- tag: title
content: Deploy a WAF managed ruleset via API
content: Deploy a WAF managed ruleset via API for a zone
---

import { Render } from "~/components";

Use the [Rulesets API](/ruleset-engine/rulesets-api/) to deploy a managed ruleset at the account level or at the zone level.
Use the [Rulesets API](/ruleset-engine/rulesets-api/) to deploy a managed ruleset at the zone level.

Deploy WAF managed rulesets to the `http_request_firewall_managed` phase. Other managed rulesets, like DDoS Attack Protection managed rulesets, must be deployed to a different phase. Refer to the specific managed ruleset documentation for details.

Expand All @@ -33,4 +33,6 @@ Exceptions have priority over overrides.

## More resources

For instructions on deploying a managed ruleset at the account level via API, refer to [Deploy a WAF managed ruleset via API (account)](/waf/account/managed-rulesets/deploy-api/).

For more information on working with managed rulesets via API, refer to [Work with managed rulesets](/ruleset-engine/managed-rulesets/) in the Ruleset Engine documentation.
8 changes: 6 additions & 2 deletions src/content/docs/waf/rate-limiting-rules/create-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ sidebar:
label: Create via API
head:
- tag: title
content: Create a rate limiting rule via API
content: Create a rate limiting rule via API for a zone
---

import { Render, APIRequest } from "~/components";

Use the [Rulesets API](/ruleset-engine/rulesets-api/) to create a rate limiting rule via API.
Use the [Rulesets API](/ruleset-engine/rulesets-api/) to create a rate limiting rule via API at the zone level.

A rate limiting rule is similar to a regular rule handled by the Ruleset Engine, but contains an additional `ratelimit` object with the rate limiting configuration. Refer to [Rate limiting parameters](/waf/rate-limiting-rules/parameters/) for more information on this field and its parameters.

Expand Down Expand Up @@ -175,3 +175,7 @@ Use the different operations in the [Rulesets API](/ruleset-engine/rulesets-api/
product="waf"
params={{ rulesType: "rate limiting rules", phaseName: "http_ratelimit" }}
/>

## More resources

For instructions on deploying rate limiting rules at the account level via API, refer to [Create a rate limiting ruleset via API](/waf/account/rate-limiting-rulesets/create-api/).
Loading