PolicySettings interface
Defines contents of a web application firewall global configuration.
Properties
custom |
If the action type is block, customer can override the response body. The body must be specified in base64 encoding. |
custom |
If the action type is block, customer can override the response status code. |
file |
Whether allow WAF to enforce file upload limits. |
file |
Maximum file upload size in Mb for WAF. |
js |
Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes. |
log |
To scrub sensitive log fields |
max |
Maximum request body size in Kb for WAF. |
mode | The mode of the policy. |
request |
Whether to allow WAF to check request Body. |
request |
Whether allow WAF to enforce request body limits. |
request |
Max inspection limit in KB for request body inspection for WAF. |
state | The state of the policy. |
Property Details
customBlockResponseBody
If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
customBlockResponseBody?: string
Property Value
string
customBlockResponseStatusCode
If the action type is block, customer can override the response status code.
customBlockResponseStatusCode?: number
Property Value
number
fileUploadEnforcement
Whether allow WAF to enforce file upload limits.
fileUploadEnforcement?: boolean
Property Value
boolean
fileUploadLimitInMb
Maximum file upload size in Mb for WAF.
fileUploadLimitInMb?: number
Property Value
number
jsChallengeCookieExpirationInMins
Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.
jsChallengeCookieExpirationInMins?: number
Property Value
number
logScrubbing
To scrub sensitive log fields
logScrubbing?: PolicySettingsLogScrubbing
Property Value
maxRequestBodySizeInKb
Maximum request body size in Kb for WAF.
maxRequestBodySizeInKb?: number
Property Value
number
mode
The mode of the policy.
mode?: string
Property Value
string
requestBodyCheck
Whether to allow WAF to check request Body.
requestBodyCheck?: boolean
Property Value
boolean
requestBodyEnforcement
Whether allow WAF to enforce request body limits.
requestBodyEnforcement?: boolean
Property Value
boolean
requestBodyInspectLimitInKB
Max inspection limit in KB for request body inspection for WAF.
requestBodyInspectLimitInKB?: number
Property Value
number
state
The state of the policy.
state?: string
Property Value
string