From ec296d4ff0f63a9370dcdba56ecceab2f01370f5 Mon Sep 17 00:00:00 2001 From: Tejas Shah Date: Fri, 26 Mar 2021 15:44:20 -0700 Subject: [PATCH] Remove max file size limit enforcement as it is done in NRP --- .../stable/2021-02-01/examples/WafListAllPolicies.json | 4 ++-- .../stable/2021-02-01/examples/WafListPolicies.json | 4 ++-- .../2021-02-01/examples/WafPolicyCreateOrUpdate.json | 8 ++++---- .../stable/2021-02-01/examples/WafPolicyGet.json | 4 ++-- .../stable/2021-02-01/webapplicationfirewall.json | 2 -- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListAllPolicies.json index e53de813f4de..2e7a3582c529 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListAllPolicies.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListAllPolicies.json @@ -22,8 +22,8 @@ "policySettings": { "state": "Enabled", "mode": "Prevention", - "maxRequestBodySizeInKb": 128, - "fileUploadLimitInMb": 750, + "maxRequestBodySizeInKb": 2000, + "fileUploadLimitInMb": 4000, "requestBodyCheck": true }, "customRules": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListPolicies.json index 257bd6ac95e6..d1bc2811889c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListPolicies.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafListPolicies.json @@ -23,8 +23,8 @@ "policySettings": { "state": "Enabled", "mode": "Detection", - "maxRequestBodySizeInKb": 128, - "fileUploadLimitInMb": 750, + "maxRequestBodySizeInKb": 2000, + "fileUploadLimitInMb": 4000, "requestBodyCheck": true }, "managedRules": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyCreateOrUpdate.json index 6f1b72cf9da9..5c18a4f91ef7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyCreateOrUpdate.json @@ -90,8 +90,8 @@ "policySettings": { "state": "Enabled", "mode": "Detection", - "maxRequestBodySizeInKb": 128, - "fileUploadLimitInMb": 750, + "maxRequestBodySizeInKb": 2000, + "fileUploadLimitInMb": 4000, "requestBodyCheck": true }, "managedRules": { @@ -180,8 +180,8 @@ "policySettings": { "state": "Enabled", "mode": "Detection", - "maxRequestBodySizeInKb": 128, - "fileUploadLimitInMb": 750, + "maxRequestBodySizeInKb": 2000, + "fileUploadLimitInMb": 4000, "requestBodyCheck": true }, "managedRules": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyGet.json index 98819dd8a499..e68cd47bbf8a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/WafPolicyGet.json @@ -22,8 +22,8 @@ "policySettings": { "state": "Enabled", "mode": "Prevention", - "maxRequestBodySizeInKb": 128, - "fileUploadLimitInMb": 750, + "maxRequestBodySizeInKb": 2000, + "fileUploadLimitInMb": 4000, "requestBodyCheck": true }, "customRules": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/webapplicationfirewall.json index 2410255b4c7e..86ad2013e585 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/webapplicationfirewall.json @@ -456,8 +456,6 @@ "maxRequestBodySizeInKb": { "type": "integer", "format": "int32", - "maximum": 128, - "exclusiveMaximum": false, "minimum": 8, "exclusiveMinimum": false, "description": "Maximum request body size in Kb for WAF."