CmdID / az / az network / az network front-door / az network front-door waf-policy
az network front-door waf-policy update
Update policy with specified rule set name within a resource group. Azure CLI extensions reference
15 options Its page in the Azure CLI extensions reference
Options
--captcha-expiration-in-minutesDefines the Captcha cookie validity lifetime in minutes.--custom-block-response-bodyIf the action type is block, customer can override the response body.--custom-block-response-status-codeIf the action type is block, customer can override the response status code.--custom-rulesDescribes custom rules inside the policy.--enabled-stateDescribes if the policy is in enabled or disabled state.--etagGets a unique read-only string that changes whenever the resource is updated.--javascript-challenge-expiration-in-minutes, --js-expirationDefines the JavaScript challenge cookie validity lifetime in minutes.--log-scrubbingDefines rules that scrub sensitive fields in the Web Application Firewall logs.--managed-rulesDescribes managed rules inside the policy.--modeDescribes if it is in detection mode or prevention mode at policy level.--policy-name, --name, -nThe name of the Web Application Firewall Policy.--redirect-urlIf action type is redirect, this field represents redirect URL for the client.--request-body-checkDescribes if policy managed rules will inspect the request body content.--skuName of the pricing tier.--tagsResource tags.