File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/web-application-firewall/ag Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: This article provides information on Web Application Firewall reque
4
4
services : web-application-firewall
5
5
author : vhorne
6
6
ms.service : web-application-firewall
7
- ms.date : 03/05 /2024
7
+ ms.date : 07/16 /2024
8
8
ms.author : victorh
9
9
ms.topic : concept-article
10
10
---
@@ -108,14 +108,14 @@ Set-AzApplicationGatewayFirewallPolicy -InputObject $plcy
108
108
You can use Azure CLI to return the current values for these fields from your Azure policy settings and update the fields to the desired values using [ these commands] ( /cli/azure/network/application-gateway/waf-policy/policy-setting ) .
109
109
110
110
``` azurecli-interactive
111
- az network application-gateway waf-policy update --name <WAF Policy name> --resource-group <WAF policy RG> --set policySettings.request_body_inspect_limit_in_kb='2000 ' policySettings.max_request_body_size_in_kb='2000 ' policySettings.file_upload_limit_in_mb='3500 ' --query policySettings -o table
111
+ az network application-gateway waf-policy update --name <WAF Policy name> --resource-group <WAF policy RG> --set policySettings.request_body_inspect_limit_in_kb='128 ' policySettings.max_request_body_size_in_kb='128 ' policySettings.file_upload_limit_in_mb='100 ' --query policySettings -o table
112
112
```
113
113
114
114
** Output:**
115
115
``` azurecli-interactive
116
116
FileUploadEnforcement FileUploadLimitInMb MaxRequestBodySizeInKb Mode RequestBodyCheck RequestBodyEnforcement RequestBodyInspectLimitInKB State
117
117
----------------------- --------------------- ------------------------ --------- ------------------ ------------------------ ----------------------------- -------
118
- True 3500 2000 Detection True True 2000 Enabled
118
+ True 100 128 Detection True True 128 Enabled
119
119
```
120
120
121
121
## Next steps
You can’t perform that action at this time.
0 commit comments