/
dns_attack.go
25 lines (18 loc) · 1.05 KB
/
dns_attack.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package models
// This file is auto-generated.
// Please contact avi-sdk@avinetworks.com for any change requests.
// DNSAttack Dns attack
// swagger:model DnsAttack
type DNSAttack struct {
// The DNS attack vector. Enum options - DNS_REFLECTION, DNS_NXDOMAIN, DNS_AMPLIFICATION_EGRESS. Field introduced in 18.2.1.
// Required: true
AttackVector *string `json:"attack_vector"`
// Enable or disable the mitigation of the attack vector. Field introduced in 18.2.1.
Enabled *bool `json:"enabled,omitempty"`
// Time in minutes after which mitigation will be deactivated. Allowed values are 1-4294967295. Special values are 0- 'blocked for ever'. Field introduced in 18.2.1. Unit is MIN.
MaxMitigationAge *int32 `json:"max_mitigation_age,omitempty"`
// Mitigation action to perform for this DNS attack vector. Field introduced in 18.2.1.
MitigationAction *AttackMitigationAction `json:"mitigation_action,omitempty"`
// Threshold, in terms of DNS packet per second, for the DNS attack vector. Field introduced in 18.2.3.
Threshold *int64 `json:"threshold,omitempty"`
}