gpt4 book ai didi

azure - 如何禁用Azure WAF强制规则?

转载 作者:行者123 更新时间:2023-12-03 02:28:43 25 4
gpt4 key购买 nike

{
"timeStamp": "2021-01-29T11:03:40+00:00",
"resourceId": "/SUBSCRIPTIONS/0000000000-0000000-0000000-000/RESOURCEGROUPS/resourcegroup/PROVIDERS/MICROSOFT.NETWORK/APPLICATIONGATEWAYS/WAF-GATEWAY",
"operationName": "ApplicationGatewayFirewall",
"category": "ApplicationGatewayFirewallLog",
"properties": {
"instanceId": "appgw_2",
"clientIp": "103.151.000.00",
"clientPort": "",
"requestUri": "\/api\/auth-processor\/Google",
"ruleSetType": "OWASP_CRS",
"ruleSetVersion": "3.0.0",
"ruleId": "949110",
"message": "Mandatory rule. Cannot be disabled. Inbound Anomaly Score Exceeded (Total Score: 28)",
"action": "Blocked",
"site": "Global",
"details": {
"message": "Access denied with code 403 (phase 2). Operator GE matched 5 at TX:anomaly_score. ",
"data": "",
"file": "rules\/REQUEST-949-BLOCKING-EVALUATION.conf",
"line": "57"
},
"hostname": "www.googoggo.com",
"transactionId": "9b8a3d7023bf1d90b13660c1b788f05f",
"policyId": "default",
"policyScope": "Global",
"policyScopeName": "Global"
}
}

我一直在使用 Azure 应用程序网关 WAF,它阻止我使用 google mail 进行注册,有什么方法可以避免该规则吗?

最佳答案

我们无法直接从 Azure 应用程序网关禁用 WAF 策略,您首先需要使用 Azure PowerShell 迁移 Web 应用程序防火墙策略。下面的文档展示了如何做到这一点。

https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/migrate-policy

waf in gat

迁移 WAF 策略 Azure 应用程序网关后,如上图所示

通过单击 WAF 策略,您可以添加自己的自定义规则,这些规则可以覆盖强制规则集。 enter image description here

关于azure - 如何禁用Azure WAF强制规则?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65954579/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com