{ "id":"/axapi/v3/ddos/violation-actions/{name}", "type":"object", "node-type":"list", "title":"violation-actions", "partition-visibility":"shared", "description":"Violation Actions Configuration", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"DDOS violation-actions name", "optional":false }, "blacklist-src":{ "type":"number", "format":"number", "minimum":1, "maximum":30, "partition-visibility":"shared", "description":"Blacklist-src (in min) (applied only for source action)", "optional":true }, "blackhole":{ "type":"number", "format":"number", "minimum":0, "maximum":30, "partition-visibility":"shared", "description":"Blackhole the zone (in minute, 0 means infinite)", "optional":true }, "execute-script":{ "type":"string", "format":"string", "plat-neg-list":["chassis-duo"], "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify DDOS script to run (applied only for zone action)", "optional":true }, "execute-script-timeout":{ "type":"number", "format":"number", "plat-neg-list":["chassis-duo"], "minimum":5, "maximum":20, "partition-visibility":"shared", "description":"Timeout for script execution (in seconds) (applied only for zone action)", "optional":true }, "send-notification-only":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Forces TPS to only send out notification for the violation-action", "optional":true }, "notification":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "notification-template":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/ddos/notification-template", "description":"Specify the notification template name" } } } ] }, "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 } }, "object-keys":[ "name" ], "required":[ "name" ] }