You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| validate-revocation | Boolean. Specifies whether certificate is validated against online revocation list. | No |`true`|
56
-
| validate-trust | Boolean. Specifies if validation should fail in case chain cannot be successfully built up to trusted CA. | No |`true`|
57
-
| validate-not-before | Boolean. Validates value against current time. | No |`true`|
58
-
| validate-not-after | Boolean. Validates value against current time. | No |`true`|
59
-
| ignore-error | Boolean. Specifies if policy should proceed to the next handler or jump to on-error upon failed validation. | No |`false`|
60
-
| identity | String. Combination of certificate claim values that make certificate valid. | Yes | N/A |
55
+
| validate-revocation | Boolean. Specifies whether certificate is validated against online revocation list. Policy expressions aren't allowed. | No |`true`|
56
+
| validate-trust | Boolean. Specifies if validation should fail in case chain cannot be successfully built up to trusted CA. Policy expressions aren't allowed. | No |`true`|
57
+
| validate-not-before | Boolean. Validates value against current time. Policy expressions aren't allowed.| No |`true`|
58
+
| validate-not-after | Boolean. Validates value against current time. Policy expressions aren't allowed.| No |`true`|
59
+
| ignore-error | Boolean. Specifies if policy should proceed to the next handler or jump to on-error upon failed validation. Policy expressions aren't allowed. | No |`false`|
| unspecified-content-type-action |[Action](#actions) to perform for requests or responses with a content type that isn’t specified in the API schema. | Yes | N/A |
56
-
| max-size | Maximum length of the body of the request or response in bytes, checked against the `Content-Length` header. If the request body or response body is compressed, this value is the decompressed length. Maximum allowed value: 102,400 bytes (100 KB). (Contact [support](https://azure.microsoft.com/support/options/) if you need to increase this limit.) | Yes | N/A |
57
-
| size-exceeded-action |[Action](#actions) to perform for requests or responses whose body exceeds the size specified in `max-size`. | Yes | N/A |
58
-
| errors-variable-name | Name of the variable in `context.Variables` to log validation errors to. | No | N/A |
55
+
| unspecified-content-type-action |[Action](#actions) to perform for requests or responses with a content type that isn’t specified in the API schema. Policy expressions are allowed. | Yes | N/A |
56
+
| max-size | Maximum length of the body of the request or response in bytes, checked against the `Content-Length` header. If the request body or response body is compressed, this value is the decompressed length. Maximum allowed value: 102,400 bytes (100 KB). (Contact [support](https://azure.microsoft.com/support/options/) if you need to increase this limit.) Policy expressions are allowed. | Yes | N/A |
57
+
| size-exceeded-action |[Action](#actions) to perform for requests or responses whose body exceeds the size specified in `max-size`. Policy expressions are allowed.| Yes | N/A |
58
+
| errors-variable-name | Name of the variable in `context.Variables` to log validation errors to. Policy expressions aren't allowed.| No | N/A |
59
59
60
60
## Elements
61
61
@@ -68,8 +68,8 @@ The policy validates the following content in the request or response against th
| any-content-type-value | Content type used for validation of the body of a request or response, regardless of the incoming content type. | No | N/A |
72
-
| missing-content-type-value | Content type used for validation of the body of a request or response, when the incoming content type is missing or empty. | No | N/A |
71
+
| any-content-type-value | Content type used for validation of the body of a request or response, regardless of the incoming content type. Policy expressions aren't allowed.| No | N/A |
72
+
| missing-content-type-value | Content type used for validation of the body of a request or response, when the incoming content type is missing or empty. Policy expressions aren't allowed.| No | N/A |
| error-variable-name | Name of the variable in `context.Variables` to log validation errors to. | No | N/A |
34
-
| max-size | Maximum size of the request payload in bytes. Maximum allowed value: 102,400 bytes (100 KB). (Contact [support](https://azure.microsoft.com/support/options/) if you need to increase this limit.) | Yes | N/A |
35
-
| max-depth | An integer. Maximum query depth. | No | 6 |
33
+
| error-variable-name | Name of the variable in `context.Variables` to log validation errors to. Policy expressions are allowed.| No | N/A |
34
+
| max-size | Maximum size of the request payload in bytes. Maximum allowed value: 102,400 bytes (100 KB). (Contact [support](https://azure.microsoft.com/support/options/) if you need to increase this limit.) Policy expressions are allowed. | Yes | N/A |
35
+
| max-depth | An integer. Maximum query depth. Policy expressions are allowed. | No | 6 |
| specified-header-action |[Action](#actions) to perform for response headers specified in the API schema. | Yes | N/A |
37
-
| unspecified-header-action |[Action](#actions) to perform for response headers that aren’t specified in the API schema. | Yes | N/A |
38
-
| errors-variable-name | Name of the variable in `context.Variables` to log validation errors to. | No | N/A |
36
+
| specified-header-action |[Action](#actions) to perform for response headers specified in the API schema. Policy expressions are allowed.| Yes | N/A |
37
+
| unspecified-header-action |[Action](#actions) to perform for response headers that aren’t specified in the API schema. Policy expressions are allowed.| Yes | N/A |
38
+
| errors-variable-name | Name of the variable in `context.Variables` to log validation errors to. Policy expressions aren't allowed.| No | N/A |
0 commit comments