From 4dcc5ee9848f425c4d88e49d3e0896b631871031 Mon Sep 17 00:00:00 2001 From: Pedro Miola Date: Fri, 11 Apr 2025 13:47:31 -0300 Subject: [PATCH 1/2] =?UTF-8?q?(feat):=20add=20explanation=20for=20Add=20R?= =?UTF-8?q?equest=20Header=20parameter=20in=20mTLS=20context=20C=C3=B3digo?= =?UTF-8?q?:=2019693?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../edit-edge-firewall/work-with-rules-engine.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx b/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx index bef0b520f8..cf931cd95d 100644 --- a/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx +++ b/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx @@ -43,6 +43,8 @@ To create a rule: - On **Content Type**, add the content and header description. Example: `application/json`. - On **Content Body**, pass the message you want to present to users. 11. Click the **Save** button. + + -> [TECHWRITER TODO: Explain the purpose of the parameter Add Request Header - client_cn:${ssl_client_s_dn_parsed} in the context of mTLS and secure communication.] @@ -128,5 +130,4 @@ Check the [Azion API documentation](https://api.azion.com/) and the [OpenAPI spe ---- - +--- \ No newline at end of file From 05000b524cc0dc1b521a01bcc95c826076287547 Mon Sep 17 00:00:00 2001 From: "gabriel.alves" Date: Sat, 11 Jul 2026 10:36:40 -0300 Subject: [PATCH 2/2] Refine language and clarity in the Rules Engine documentation --- .../edit-edge-firewall/work-with-rules-engine.mdx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx b/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx index 3e700d4f51..a8a5e0b73c 100644 --- a/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx +++ b/src/content/docs/en/pages/secure-journey/edit-edge-firewall/work-with-rules-engine.mdx @@ -12,9 +12,9 @@ import Tabs from '~/components/tabs/Tabs' import Code from '~/components/Code/Code.astro' -Implementing rules in your firewall using [Rules Engine](/en/documentation/products/secure/firewall/rules-engine/) will allow you to determine the rules it should execute in specific scenarios. +Use [Rules Engine](/en/documentation/products/secure/firewall/rules-engine/) to define the conditions and behaviors your Firewall executes for each incoming request. -This guide demonstrates the process of creating a rule with a practical example of verifying the existence of a certificate and returning a custom response when there isn't one. This behavior is useful in scenarios such as adjusting your policies to comply with BACEN requirements. +This guide walks you through creating a rule using a practical example: verifying whether a client certificate exists and returning a custom response when it doesn't. This is useful for enforcing mTLS policies, such as those required for BACEN compliance. :::note There are different criteria that require different Firewall modules. Make sure you have the [right module](/en/documentation/products/secure/firewall/rules-engine/#criteria) activated to create your rules. @@ -40,11 +40,9 @@ To create a rule: 9. In the **Behaviors** section, select **Set Custom Response**. 10. As arguments: - On **Status Code**, add `401`. - - On **Content Type**, add the content and header description. Example: `application/json`. + - On **Content Type**, define the MIME type of the response body. Example: `application/json`. - On **Content Body**, pass the message you want to present to users. 11. Click the **Save** button. - - -> [TECHWRITER TODO: Explain the purpose of the parameter Add Request Header - client_cn:${ssl_client_s_dn_parsed} in the context of mTLS and secure communication.] @@ -90,7 +88,7 @@ curl --request POST \ | `behaviors` | Array that stores objects that define behaviors | | `criteria` | Array that stores objects that define criteria | -See the [Azion API documentation](https://api.azion.com/) to find out more about criteria and behavior objects. +Refer to the [Azion API documentation](https://api.azion.com/) for details on all available criteria and behavior objects. 2. You'll receive the following response: @@ -129,7 +127,7 @@ See the [Azion API documentation](https://api.azion.com/) to find out more about 3. Wait a few minutes for the changes to propagate. :::tip -Check the [Azion API documentation](https://api.azion.com/) to know more about all features available via API. +Check the [Azion API documentation](https://api.azion.com/) for details on all features available via API. :::