From 4f91e9f14cb016f44f223fe01aa9a6ef580fe045 Mon Sep 17 00:00:00 2001
From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
Date: Thu, 13 Feb 2025 12:44:53 +0000
Subject: [PATCH] Update custom-response-blocked-requests partial
---
.../account/custom-rulesets/create-dashboard.mdx | 6 +++++-
.../rate-limiting-rulesets/create-dashboard.mdx | 6 +++++-
.../docs/waf/custom-rules/create-dashboard.mdx | 6 +++++-
.../rate-limiting-rules/create-zone-dashboard.mdx | 6 +++++-
.../waf/custom-response-blocked-requests.mdx | 13 +++++++------
5 files changed, 27 insertions(+), 10 deletions(-)
diff --git a/src/content/docs/waf/account/custom-rulesets/create-dashboard.mdx b/src/content/docs/waf/account/custom-rulesets/create-dashboard.mdx
index 146766543f9e5f..edbc9361a00823 100644
--- a/src/content/docs/waf/account/custom-rulesets/create-dashboard.mdx
+++ b/src/content/docs/waf/account/custom-rulesets/create-dashboard.mdx
@@ -84,5 +84,9 @@ Deployed custom rulesets will only apply to incoming traffic of Enterprise domai
diff --git a/src/content/docs/waf/account/rate-limiting-rulesets/create-dashboard.mdx b/src/content/docs/waf/account/rate-limiting-rulesets/create-dashboard.mdx
index f09a01bf227331..6b2127a60bd041 100644
--- a/src/content/docs/waf/account/rate-limiting-rulesets/create-dashboard.mdx
+++ b/src/content/docs/waf/account/rate-limiting-rulesets/create-dashboard.mdx
@@ -85,5 +85,9 @@ The **Deployed custom rate limiting rulesets** list will show a rule for each de
diff --git a/src/content/docs/waf/custom-rules/create-dashboard.mdx b/src/content/docs/waf/custom-rules/create-dashboard.mdx
index 6952168f065316..ba6b7b480f9e50 100644
--- a/src/content/docs/waf/custom-rules/create-dashboard.mdx
+++ b/src/content/docs/waf/custom-rules/create-dashboard.mdx
@@ -34,5 +34,9 @@ import { Render } from "~/components";
diff --git a/src/content/docs/waf/rate-limiting-rules/create-zone-dashboard.mdx b/src/content/docs/waf/rate-limiting-rules/create-zone-dashboard.mdx
index 9473db5215fc50..8a3ffa104f8189 100644
--- a/src/content/docs/waf/rate-limiting-rules/create-zone-dashboard.mdx
+++ b/src/content/docs/waf/rate-limiting-rules/create-zone-dashboard.mdx
@@ -46,5 +46,9 @@ import { Render } from "~/components";
diff --git a/src/content/partials/waf/custom-response-blocked-requests.mdx b/src/content/partials/waf/custom-response-blocked-requests.mdx
index f8a3794630f894..c8502ac5d1eb1d 100644
--- a/src/content/partials/waf/custom-response-blocked-requests.mdx
+++ b/src/content/partials/waf/custom-response-blocked-requests.mdx
@@ -1,14 +1,15 @@
---
-inputParameters: responseType;;defaultStatusCode;maxBodySize
+params:
+ - responseType
+ - defaultStatusCode
+ - maxBodySize
---
-import { Markdown } from "~/components";
-
When you select the _Block_ action in a rule you can optionally define a custom response.
The custom response has three settings:
-- **With response type**: Choose a content type or the default {props.one} response from the list. The available custom response types are the following:
+- **With response type**: Choose a content type or the default {props.responseType} response from the list. The available custom response types are the following:
| Dashboard value | API value |
| --------------- | -------------------- |
@@ -17,6 +18,6 @@ The custom response has three settings:
| Custom JSON | `"application/json"` |
| Custom XML | `"text/xml"` |
-- **With response code**: Choose an HTTP status code for the response, in the range 400-499. The default response code is {props.two}.
+- **With response code**: Choose an HTTP status code for the response, in the range 400-499. The default response code is {props.defaultStatusCode}.
-- **Response body**: The body of the response. Configure a valid body according to the response type you selected. The maximum field size is {props.three}.
+- **Response body**: The body of the response. Configure a valid body according to the response type you selected. The maximum field size is {props.maxBodySize}.