Skip to content

Examples use a rule priority of 500, while the allowed range is 1-100 #27718

Description

@Valentin-Zitec

Describe the bug

az network application-gateway waf-policy custom-rule create --action Allow --name MyWafPolicyRule --policy-name MyPolicy --priority 500 --resource-group MyResourceGroup --rule-type MatchRule

Related command

az network application-gateway waf-policy custom-rule create --resource-group x --policy-name y --name MyWafPolicyRule --action Allow --rule-type MatchRule --priority 890

Errors

(ApplicationGatewayFirewallCustomRuleInvalidPriority) Custom Rule 'MyWafPolicyRule ' does not have valid priority in context 'properties.customRules[2]'.
Code: ApplicationGatewayFirewallCustomRuleIn@shanselman alidPriority
Message: Custom Rule 'MyWafPolicyRule ' does not have valid priority in context 'properties.customRules[2]'.

Issue script & Debug output

x

Expected behavior

y

Environment Summary

z

Additional context

should be pretty easy to fix

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...act-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions