waf template http-protocol-check

New HTTP protocol check

http-protocol-check Specification

   
Type Configuration Resource
Element Name http-protocol-check
Element URI /axapi/v3/waf/template/{name}/http-protocol-check
Element Attributes http-protocol-check_attributes
Schema http-protocol-check schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/waf/template/{name}/http-protocol-check

http-protocol-check attributes

Get Object

GET

/axapi/v3/waf/template/{name}/http-protocol-check

http-protocol-check attributes

Modify Object

POST

/axapi/v3/waf/template/{name}/http-protocol-check

http-protocol-check attributes

Replace Object

PUT

/axapi/v3/waf/template/{name}/http-protocol-check

http-protocol-check attributes

Delete Object

DELETE

/axapi/v3/waf/template/{name}/http-protocol-check

http-protocol-check attributes

http-protocol-check attributes

allowed-headers

Description List of allowed HTTP headers. Default is “”. (List of HTTP headers allowed (default “”))

Type: string

Format: string-rlx

Maximum Length: 1023 characters

Maximum Length: 1 characters

Default:

allowed-methods

Description List of allowed HTTP methods. Default is “GET POST”. (List of HTTP methods allowed (default “GET POST”))

Type: string

Format: string-rlx

Maximum Length: 1023 characters

Maximum Length: 1 characters

Default: GET POST

allowed-versions

Description: allowed-versions is a JSON Block. Please see below for allowed-versions

Type: Object

bad-multipart-request

Description Check for bad multipart/form-data request body

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

get-with-content

Description Check for GET request with Content-Length headers in request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

head-with-content

Description Check for HEAD request with Content-Length headers in request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

host-header-with-ip

Description Check for Host header with IP address

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

invalid-url-encoding

Description Check for invalid URL encoding in request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

malformed-content-length

Description Check for malformed content-length in request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

malformed-header

Description Check for malformed HTTP header

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

malformed-parameter

Description Check for malformed HTTP query/POST parameter

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

malformed-request

Description Check for malformed HTTP request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

malformed-request-line

Description Check for malformed HTTP request line

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

missing-header-value

Description Check for missing header value in request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

missing-host-header

Description Check for missing Host header in HTTP/1.1 request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

multiple-content-length

Description Check for multiple Content-Length headers in request

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

post-with-0-content

Description Check for POST request with Content-Length 0

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

post-without-content

Description Check for POST request without Content-Length/Chunked Encoding headers in request

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

allowed-versions

Specification  
Type object

allowed-versions-09

Description Allow version HTTP/0.9

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

allowed-versions-10

Description Allow version HTTP/1.0

Type: boolean

Supported Values: true, false, 1, 0

Default: 1

allowed-versions-11

Description Allow version HTTP/1.1

Type: boolean

Supported Values: true, false, 1, 0

Default: 1

allowed-versions-2

Description Allow version HTTP/2

Type: boolean

Supported Values: true, false, 1, 0

Default: 1