Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11a8f11

Browse files
committedMar 15, 2022
complete adding policy alert
1 parent 73c15f7 commit 11a8f11

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed
 

‎articles/api-management/api-management-access-restriction-policies.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ This policy can be used in the following policy [sections](./api-management-howt
158158
159159
The `rate-limit-by-key` policy prevents API usage spikes on a per key basis by limiting the call rate to a specified number per a specified time period. The key can have an arbitrary string value and is typically provided using a policy expression. Optional increment condition can be added to specify which requests should be counted towards the limit. When this call rate is exceeded, the caller receives a `429 Too Many Requests` response status code.
160160

161+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
162+
161163
For more information and examples of this policy, see [Advanced request throttling with Azure API Management](./api-management-sample-flexible-throttling.md).
162164

163165
> [!CAUTION]
@@ -231,6 +233,8 @@ This policy can be used in the following policy [sections](./api-management-howt
231233

232234
The `ip-filter` policy filters (allows/denies) calls from specific IP addresses and/or address ranges.
233235

236+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
237+
234238
### Policy statement
235239

236240
```xml
@@ -345,6 +349,9 @@ For more information and examples of this policy, see [Advanced request throttli
345349
> [!NOTE]
346350
> To understand the difference between rate limits and quotas, [see Rate limits and quotas.](./api-management-sample-flexible-throttling.md#rate-limits-and-quotas)
347351
352+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
353+
354+
348355
### Policy statement
349356

350357
```xml
@@ -410,6 +417,9 @@ The `validate-jwt` policy enforces existence and validity of a JSON web token (J
410417
> The `validate-jwt` policy supports HS256 and RS256 signing algorithms. For HS256 the key must be provided inline within the policy in the base64 encoded form. For RS256 the key may be provided either via an Open ID configuration endpoint, or by providing the ID of an uploaded certificate that contains the public key or modulus-exponent pair of the public key.
411418
> The `validate-jwt` policy supports tokens encrypted with symmetric keys using the following encryption algorithms: A128CBC-HS256, A192CBC-HS384, A256CBC-HS512.
412419
420+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
421+
422+
413423
### Policy statement
414424

415425
```xml

‎articles/api-management/validation-policies.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ We recommend performing load tests with your expected production workloads to as
6464

6565
The `validate-content` policy validates the size or content of a request or response body against one or more [supported schemas](#schemas-for-content-validation).
6666

67+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
68+
6769
The following table shows the schema formats and request or response content types that the policy supports. Content type values are case insensitive.
6870

6971
| Format | Content types |
@@ -180,6 +182,8 @@ The `validate-parameters` policy validates the header, query, or path parameters
180182
> [!IMPORTANT]
181183
> If you imported an API using a management API version prior to `2021-01-01-preview`, the `validate-parameters` policy might not work. You may need to [reimport your API](/rest/api/apimanagement/current-ga/apis/create-or-update) using management API version `2021-01-01-preview` or later.
182184
185+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
186+
183187

184188
### Policy statement
185189

@@ -247,6 +251,9 @@ The `validate-headers` policy validates the response headers against the API sch
247251
> [!IMPORTANT]
248252
> If you imported an API using a management API version prior to `2021-01-01-preview`, the `validate-headers` policy might not work. You may need to reimport your API using management API version `2021-01-01-preview` or later.
249253
254+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
255+
256+
250257
### Policy statement
251258

252259
```xml
@@ -287,7 +294,9 @@ This policy can be used in the following policy [sections](./api-management-howt
287294

288295
## Validate status code
289296

290-
The `validate-status-code` policy validates the HTTP status codes in responses against the API schema. This policy may be used to prevent leakage of backend errors, which can contain stack traces.
297+
The `validate-status-code` policy validates the HTTP status codes in responses against the API schema. This policy may be used to prevent leakage of backend errors, which can contain stack traces.
298+
299+
[!INCLUDE [api-management-policy-form-alert](../../includes/api-management-policy-form-alert.md)]
291300

292301
### Policy statement
293302

‎includes/api-management-policy-form-alert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ms.date: 03/14/2022
66
ms.author: danlep
77
---
88
> [!TIP]
9-
> To help configure this policy, the portal provides a guided, form-based editor. Learn more about [policy configuration options](../articles/api-management/set-edit-policies.md#configure-policy-in-the-portal).
9+
> To help you configure this policy, the portal provides a guided, form-based editor. Learn more about [policy configuration options](../articles/api-management/set-edit-policies.md#configure-policy-in-the-portal).

0 commit comments

Comments
 (0)
Please sign in to comment.