我们将应用程序网关中的 WAF 配置为“预防”模式。应用程序中的几个用例需要上传文件。目前,这些文件上传请求正在被 WAF 阻止。防火墙日志:
{
...
"properties": {
"requestUri": "/api/v1/attachments",
"ruleSetType": "OWASP",
"ruleSetVersion": "3.0",
"ruleId": "0",
"message": "",
"action": "Blocked",
"site": "Global",
"details": {
"message": "Request body no files data length is larger than the configured limit (131072).. Deny with code (413)",
"data": "",
"file": "",
"line": ""
},
...
}
}
是否可以停用此规则或更改限制或...?扩大(定价层)有帮助吗?我发现了这一点,但不想相信它。