CmdID / az / az network / az network application-gateway / az network application-gateway waf-policy / az network application-gateway waf-policy custom-rule
az network application-gateway waf-policy custom-rule create
Create an application gateway WAF policy custom rule. Azure CLI reference
10 options Its page in the Azure CLI reference
Options
--actionAction to take.--group-by-user-sessionList of user session identifier group by clauses.--match-conditionsList of match conditions.--name, -nName of the WAF policy rule.--policy-nameName of the application gateway WAF policy.--priorityRule priority.--rate-limit-durationDuration over which Rate Limit policy will be applied.--rate-limit-thresholdRate Limit threshold to apply in case ruleType is RateLimitRule.--rule-typeType of rule.--stateDescribe if the custom rule is in enabled or disabled state.