[Network] Expose WAF rule paranoiaLevel and rule set displayName
维护者通常 1 天内回复
@necusjz 已经在做这个了。
开始于 2026年8月12日。
评估
这个 Issue 还没有评估数据。
描述
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
Related command
az network application-gateway waf-config list-rule-sets
az network application-gateway waf-config list-dynamic-rule-sets
Resource Provider
Microsoft.Network/applicationGateways
Description of Feature or Work Requested
Two new read-only fields in api-version 2026-01-01:
-
paranoiaLevel on each managed rule (ApplicationGatewayFirewallRule). Values PL1 to PL4. It is the OWASP CRS paranoia level of the rule, where PL1 is baseline detection and PL4 is strictest. Set only for DRS and OWASP rule sets. Customers need it to understand why a rule fires and whether to disable it.
-
displayName on the rule set (ApplicationGatewayFirewallRuleSetPropertiesFormat). For example "Default Ruleset 2.2 (Latest, Recommended)" or "Core Ruleset 3.0 (Deprecated)". Today the CLI only shows ruleSetType and ruleSetVersion, for example OWASP 3.0, so customers cannot tell which version is current and which is deprecated.
Both are output only. No new parameters and no behavior change.
Minimum API Version Required
2026-01-01
Swagger PR link / SDK link
https://github.com/Azure/azure-rest-api-specs-pr/pull/29807
Request Example
{
"listRuleSets": {
"command": "az network application-gateway waf-config list-rule-sets",
"operation": "ApplicationGatewayAvailableWafRuleSets",
"response": {
"value": [
{
"name": "Microsoft_DefaultRuleSet_2.1",
"properties": {
"ruleSetType": "Microsoft_DefaultRuleSet",
"ruleSetVersion": "2.1",
"displayName": "Default Ruleset 2.1",
"ruleGroups": [
{
"ruleGroupName": "RFI",
"description": "Remote file inclusion",
"rules": [
{
"ruleId": 931100,
"ruleIdString": "931100",
"description": "Possible Remote File Inclusion (RFI) Attack: URL Parameter using IP Address",
"action": "AnomalyScoring",
"state": "Enabled",
"paranoiaLevel": "PL1"
}
]
}
]
}
}
]
}
},
"listDynamicRuleSets": {
"command": "az network application-gateway waf-config list-dynamic-rule-sets -l westus",
"operation": "ApplicationGatewayWafDynamicManifests_Get",
"response": {
"properties": {
"availableRuleSets": [
{
"ruleSetType": "Microsoft_DefaultRuleSet",
"ruleSetVersion": "2.2",
"displayName": "Default Ruleset 2.2 (Latest, Recommended)",
"status": "GA",
"tiers": [
"WAF_v2"
],
"ruleGroups": [
{
"ruleGroupName": "RFI",
"description": "Remote file inclusion",
"rules": [
{
"ruleId": 931100,
"ruleIdString": "931100",
"description": "Possible Remote File Inclusion (RFI) Attack: URL Parameter using IP Address",
"action": "AnomalyScoring",
"state": "Disabled",
"paranoiaLevel": "PL1"
}
]
}
]
}
],
"defaultRuleSet": {
"ruleSetType": "Microsoft_DefaultRuleSet",
"ruleSetVersion": "2.2",
"_note": "displayName is defined in the spec here but the service does not return it yet"
}
}
}
}
}
Target Date
01.01.2027
PM Contact
yuvalpery
Engineer Contact
shgoldbourt
Additional context
No response
- 主要语言
- Python
- 星标
- 4.7k
- 派生
- 3.5k
- 平均合并
- 4 天 14 小时
- 30 天内合并 PR
- 92
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/azure-cli 的其他 Issue
-
customer-reported MySQL needs-triage Service Attention
难度 1/5 1 小时以内 新手友好度 70/100
Azure/azure-cli#34393 · 5 条评论 ·
维护者通常 1 天内回复
-
customer-reported Service Attention
难度 1/5 1 小时以内 新手友好度 72/100
Azure/azure-cli#34267 · 1 条评论 ·
维护者通常 1 天内回复
-
Add support for cli completion in git bash for windows可能已有人在做 @a0x1ab 于 23 天前认领。 未关闭customer-reported Service Attention
难度 2/5 1-3 小时 新手友好度 68/100
Azure/azure-cli#34150 · 4 条评论 ·
维护者通常 1 天内回复
-
act-observability-squad Auto-Assign ContainerApp Output Service Attention
难度 2/5 1-3 小时 新手友好度 72/100
Azure/azure-cli#33149 · 5 条评论 ·
维护者通常 1 天内回复
-
act-codegen-extensibility-squad Auto-Assign Documentation MySQL Possible-Solution Service Attention Similar-Issue
难度 1/5 1 小时以内 新手友好度 85/100
Azure/azure-cli#33009 · 5 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
Unknown stop ID in slow zone data crashes post formatting and skips the rest of that day's posts未关闭backend bug tm-new-volunteer
难度 2/5 1-3 小时 新手友好度 84/100
transitmatters/mbta-slow-zone-bot#81 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
spacetelescope/rdmt-spire#49 ·
维护者通常 1 天内回复
-
AI bug
难度 2/5 1-3 小时 新手友好度 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
btclib-org/btclib-wallet#872 ·
维护者通常 1 天内回复