CmdID / az / az network / az network application-gateway / az network application-gateway waf-policy / az network application-gateway waf-policy policy-setting
az network application-gateway waf-policy policy-setting update
Update properties of a web application firewall global configuration. Azure CLI reference
14 options Its page in the Azure CLI reference
Options
--custom-bodyIf the action type is block, customer can override the response body.--custom-status-codeIf the action type is block, customer can override the response status code.--file-upload-enforcement, --file-upload-enforceWhether allow WAF to enforce file upload limits.--file-upload-limit-in-mbMaximum file upload size in Mb for WAF.--js-cookie-exp-timeWeb Application Firewall JavaScript Challenge Cookie Expiration time in minutes.--log-scrubbing-stateState of the log scrubbing config.--max-request-body-size-in-kbMaximum request body size in Kb for WAF.--modeIf it is in detection mode or prevention mode at policy level.--policy-nameName of the web application firewall policy.--request-body-checkSpecified to require WAF to check request body.--request-body-enforcement, --request-body-enforceWhether allow WAF to enforce request body limits.--request-body-inspect-limit-in-kb, --request-limit-in-kbMax inspection limit in KB for request body inspection for WAF.--scrubbing-rulesThe rules that are applied to the logs for scrubbing.--stateIf the policy is in enabled state or disabled state.