Skip to content

Commit 9a3866b

Browse files
committed
Add more info about safety
1 parent 210dcce commit 9a3866b

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

content/en/security/application_security/setup/gcp/service-extensions.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,22 @@ To set up the App and API Protection Service Extension in your GCP environment,
8181
1. To send all traffic to the extension, insert `true` in the **Match condition**.
8282
2. For **Programability type**, select `Callouts`.
8383
3. Select the backend service you created in the previous step.
84-
4. Select all **Events** from the list where you want App and API Protection to run detection (Request Headers and Response Headers are **required**).
84+
4. Select only **Events** from the list where you want App and API Protection to run detection (Request Headers and Response Headers are **required**).
85+
5. Optionally, enable the `fail_open` to still allow the traffic to pass through if the service extension fails or times out.
8586

87+
<br>
88+
<div class="alert alert-warning">
89+
<strong>Note:</strong> By default, if the service extension fails or times out, the proxy will return a 500 error. To prevent this, enable the <code>fail_open</code> setting. When enabled, request or response processing continues without error even if the extension fails, ensuring your application remains available.
90+
</div>
91+
92+
<div class="alert alert-info">
93+
<p>
94+
<strong>Note:</strong> Currently, the service extension doesn't process request bodies. This means that even if you select request and response body events in the extension chain events, the service extension will not inspect the request body. See more in the <a href="#limitations">Limitations</a> section.
95+
</p>
96+
<p>
97+
<strong>Note:</strong> If you select the **Request Body** and **Response Body** events, processing time will increase as the service extension needs to transfer and analyze these bodies. <strong>Adjust your timeout settings accordingly to accommodate the additional processing time.</strong>
98+
</p>
99+
</div>
86100
</br>
87101

88102
{{% appsec-getstarted-2-plusrisk %}}

content/en/security/application_security/setup/standalone/gcp-service-extensions.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,22 @@ To set up the App and API Protection Service Extension in your GCP environment,
7979
1. To send all traffic to the extension, insert `true` in the **Match condition**.
8080
2. For **Programability type**, select `Callouts`.
8181
3. Select the backend service you created in the previous step.
82-
4. Select all **Events** from the list where you want App and API Protection to run detection (Request Headers and Response Headers are **required**).
82+
4. Select only **Events** from the list where you want App and API Protection to run detection (Request Headers and Response Headers are **required**).
83+
5. Optionally, enable the `fail_open` to still allow the traffic to pass through if the service extension fails or times out.
8384

85+
<br>
86+
<div class="alert alert-warning">
87+
<strong>Note:</strong> By default, if the service extension fails or times out, the proxy will return a 500 error. To prevent this, enable the <code>fail_open</code> setting. When enabled, request or response processing continues without error even if the extension fails, ensuring your application remains available.
88+
</div>
89+
90+
<div class="alert alert-info">
91+
<p>
92+
<strong>Note:</strong> Currently, the service extension doesn't process request bodies. This means that even if you select request and response body events in the extension chain events, the service extension will not inspect the request body. See more in the <a href="#limitations">Limitations</a> section.
93+
</p>
94+
<p>
95+
<strong>Note:</strong> If you select the **Request Body** and **Response Body** events, processing time will increase as the service extension needs to transfer and analyze these bodies. <strong>Adjust your timeout settings accordingly to accommodate the additional processing time.</strong>
96+
</p>
97+
</div>
8498
</br>
8599

86100
{{% appsec-getstarted-2-plusrisk %}}

0 commit comments

Comments
 (0)