ddos zone-template http filter¶
HTTP Filter Configuration
filter Specification¶
Parameter Value Type Collection Object Key(s) http-filter-name Collection Name filter-list Collection URI /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter Element Name filter Element URI /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter/{http-filter-name} Element Attributes filter_attributes Partition Visibility shared Schema filter schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter | ||
Create List | POST | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter | ||
Get Object | GET | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter/{http-filter-name} | ||
Get List | GET | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter | ||
Modify Object | POST | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter/{http-filter-name} | ||
Replace Object | PUT | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter/{http-filter-name} | ||
Replace List | PUT | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter | ||
Delete Object | DELETE | /axapi/v3/ddos/zone-template/http/{http-tmpl-name}/filter/{http-filter-name} |
filter-list¶
filter-list is JSON List of filter attributes
filter-list : [
]
filter attributes¶
dst
Description: dst is a JSON Block. Please see below for dst
Type: Object
http-agent-cfg
Description: http-agent-cfg is a JSON Block. Please see below for http-agent-cfg
Type: Object
http-filter-action
Description ‘drop’: Drop packets (Default); ‘ignore’: Take no action; ‘blacklist-src’: Blacklist-src; ‘authenticate-src’: Authenticate-src; ‘reset’: Reset client connection;
Type: string
Supported Values: drop, ignore, blacklist-src, authenticate-src, reset
Mutual Exclusion: http-filter-action and http-filter-action-list-name are mutually exclusive
http-filter-action-list-name
Description Configure action-list to take
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: http-filter-action-list-name and http-filter-action are mutually exclusive
Reference Object: /axapi/v3/ddos/action-list
http-filter-name
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-filter-seq
Description Sequence number
Type: number
Range: 1-200
http-header-cfg
Description: http-header-cfg is a JSON Block. Please see below for http-header-cfg
Type: Object
http-referer-cfg
Description: http-referer-cfg is a JSON Block. Please see below for http-referer-cfg
Type: Object
http-uri-cfg
Description: http-uri-cfg is a JSON Block. Please see below for http-uri-cfg
Type: Object
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
http-uri-cfg¶
Specification Value Type object uri-contains-cfg
Type: Listuri-ends-cfg
Type: Listuri-equal-cfg
Type: Listuri-starts-cfg
Type: List
http-uri-cfg_uri-equal-cfg¶
Specification Value Type list Block object keys http-filter-uri-equals
Description
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
http-uri-cfg_uri-starts-cfg¶
Specification Value Type list Block object keys http-filter-uri-starts-with
Description
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
http-uri-cfg_uri-ends-cfg¶
Specification Value Type list Block object keys http-filter-uri-ends-with
Description
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
http-uri-cfg_uri-contains-cfg¶
Specification Value Type list Block object keys http-filter-uri-contains
Description
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
dst¶
Specification Value Type object http-filter-rate-limit
Description Set rate limit
Type: number
Range: 1-16000000
http-agent-cfg¶
Specification Value Type object agent-contains-cfg
Type: Listagent-ends-cfg
Type: Listagent-equals-cfg
Type: Listagent-starts-cfg
Type: List
http-agent-cfg_agent-contains-cfg¶
Specification Value Type list Block object keys http-filter-agent-contains
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-agent-cfg_agent-ends-cfg¶
Specification Value Type list Block object keys http-filter-agent-ends-with
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-agent-cfg_agent-equals-cfg¶
Specification Value Type list Block object keys http-filter-agent-equals
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-agent-cfg_agent-starts-cfg¶
Specification Value Type list Block object keys http-filter-agent-starts-with
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-header-cfg¶
Specification Value Type object http-filter-header-inverse-match
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
http-filter-header-regex
Description Regex Expression
Type: string
Format: string-rlx
Maximum Length: 1275 characters
Maximum Length: 1 characters
http-referer-cfg¶
Specification Value Type object referer-contains-cfg
Type: Listreferer-ends-cfg
Type: Listreferer-equals-cfg
Type: Listreferer-starts-cfg
Type: List
http-referer-cfg_referer-equals-cfg¶
Specification Value Type list Block object keys http-filter-referer-equals
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-referer-cfg_referer-starts-cfg¶
Specification Value Type list Block object keys http-filter-referer-starts-with
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-referer-cfg_referer-contains-cfg¶
Specification Value Type list Block object keys http-filter-referer-contains
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
http-referer-cfg_referer-ends-cfg¶
Specification Value Type list Block object keys http-filter-referer-ends-with
Description
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters