{ "id":"/axapi/v3/ddos/event-filter/{filter-name}", "type":"object", "node-type":"list", "title":"event-filter", "partition-visibility":"shared", "description":"Configure DDOS debug event filter", "properties":{ "filter-name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "optional":false }, "drop":{ "type":"object", "properties":{ "drop-src":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet is dropped because of src" }, "drop-dst":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet is dropped because of dst" }, "drop-black-list":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet is dropped because of black-list" } } }, "black-list":{ "type":"object", "properties":{ "black-list-dst":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Dst entry/port is black-listed" }, "black-list-src":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Src entry/port is black-listed" } } }, "white-list":{ "type":"object", "properties":{ "white-list-dst":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Dst entry/port is white-listed" }, "white-list-src":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Src entry/port is white-listed" } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "l4-type-list":{ "type":"array", "minItems":1, "items":{ "type":"l4-type" }, "uniqueItems":true, "$ref":"/axapi/v3/ddos/event-filter/{filter-name}/l4-type/{protocol}", "array":[ { "properties":{ "protocol":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'tcp': tcp; 'udp': udp; ", "enum":[ "tcp", "udp" ], "optional":false }, "tcp-auth":{ "type":"object", "properties":{ "tcp-auth-init":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet that inits syn-auth/action-on-ack" }, "tcp-auth-pass":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet that passes syn-auth/action-on-ack" }, "tcp-auth-fail":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet that fails syn-auth/action-on-ack" } } }, "retrans-syn-cfg":{ "type":"object", "properties":{ "retrans-syn":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"TCP SYN retransmission" }, "retrans-syn-exceed":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"TCP SYN retransmission exceed" } } }, "out-of-seq":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"TCP out-of-seq pkts", "optional":true }, "zero-window":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"TCP zero window pkts", "optional":true }, "udp-auth":{ "type":"object", "properties":{ "udp-auth-init":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet that inits spoof-detect" }, "udp-auth-pass":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Packet that passes spoof-detect" } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "protocol" ] } ] } }, "object-keys":[ "filter-name" ], "required":[ "filter-name" ] }