waf template request-check

Request check

request-check Specification

Parameter Value
Type Configuration Resource
Element Name request-check
Element URI /axapi/v3/waf/template/{name}/request-check
Element Attributes request-check_attributes
Partition Visibility shared
Schema request-check schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/waf/template/{name}/request-check

request-check attributes

Get Object

GET

/axapi/v3/waf/template/{name}/request-check

request-check attributes

Modify Object

POST

/axapi/v3/waf/template/{name}/request-check

request-check attributes

Replace Object

PUT

/axapi/v3/waf/template/{name}/request-check

request-check attributes

Delete Object

DELETE

/axapi/v3/waf/template/{name}/request-check

request-check attributes

request-check attributes

bot-check

Description Check User-Agent for known bots

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

bot-check-policy-file

Description Name of WAF policy list file

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

command-injection-check

Description Check to protect against command injection attacks

Type: string

Format: enum-list

command-injection-check-policy-file

Description Name of WAF policy command injection list file

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

lifetime

Description Session lifetime in minutes (default 10)

Type: number

Range: 1-1440

Default: 10

redirect-whitelist

Description Check Redirect URL against list of previously learned redirects

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

referer-check

Description Check referer to protect against CSRF attacks

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

referer-domain-list

Description List of referer domains allowed

Type: string

Format: string-rlx

Maximum Length: 255 characters

Maximum Length: 1 characters

Mutual Exclusion: referer-domain-list and referer-domain-list-only are mutually exclusive

referer-domain-list-only

Description List of referer domains allowed

Type: string

Format: string-rlx

Maximum Length: 255 characters

Maximum Length: 1 characters

Mutual Exclusion: referer-domain-list-only and referer-domain-list are mutually exclusive

referer-safe-url

Description Safe URL to redirect to if referer is missing

Type: string

Format: string-rlx

Maximum Length: 255 characters

Maximum Length: 1 characters

session-check

Description Enable session checking via session cookie

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

sqlia-check

Description ‘reject’: Reject requests with SQLIA patterns;

Type: string

Supported Values: reject

sqlia-check-policy-file

Description Name of WAF policy list file

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

url-blacklist

Description specify name of WAF policy list file to blacklist

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

url-learned-list

Description Check URL against list of previously learned URLs

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

url-whitelist

Description specify name of WAF policy list file to whitelist

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

waf-blacklist-file

Description Name of WAF policy list file

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

waf-whitelist-file

Description Name of WAF policy list file

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

xss-check

Description ‘reject’: Reject requests with bad cookies;

Type: string

Supported Values: reject

xss-check-policy-file

Description Name of WAF policy list file

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters