Skip to content

Commit 405c6f1

Browse files
committed
update cli example parameter values
1 parent c7f54e1 commit 405c6f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/web-application-firewall/ag/application-gateway-waf-request-size-limits.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides information on Web Application Firewall reque
44
services: web-application-firewall
55
author: vhorne
66
ms.service: web-application-firewall
7-
ms.date: 03/05/2024
7+
ms.date: 07/16/2024
88
ms.author: victorh
99
ms.topic: concept-article
1010
---
@@ -108,14 +108,14 @@ Set-AzApplicationGatewayFirewallPolicy -InputObject $plcy
108108
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).
109109

110110
```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
112112
```
113113

114114
**Output:**
115115
```azurecli-interactive
116116
FileUploadEnforcement FileUploadLimitInMb MaxRequestBodySizeInKb Mode RequestBodyCheck RequestBodyEnforcement RequestBodyInspectLimitInKB State
117117
----------------------- --------------------- ------------------------ --------- ------------------ ------------------------ ----------------------------- -------
118-
True 3500 2000 Detection True True 2000 Enabled
118+
True 100 128 Detection True True 128 Enabled
119119
```
120120

121121
## Next steps

0 commit comments

Comments
 (0)