Documentation ¶
Overview ¶
The Anti-DDoS traffic cleaning service (Anti-DDoS for short) defends resources (Elastic Cloud Servers (ECSs), Elastic Load Balance (ELB) instances, and Bare Metal Servers (BMSs)) on OpenTelekomCloud against network- and application-layer distributed denial of service (DDoS) attacks and sends alarms immediately when detecting an attack. In addition, Anti-DDoS improves the utilization of bandwidth and ensures the stable running of users' services.
Example to query alarm configuration.
actual, err := alarmreminding.WarnAlert(client.ServiceClient()).Extract() if err != nil { panic(err) }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WarnAlertURL ¶
func WarnAlertURL(c *golangsdk.ServiceClient) string
Types ¶
type WarnAlertResponse ¶
type WarnAlertResponse struct { // Alarm configuration WarnConfig struct { // DDoS attacks AntiDDoS bool `json:"antiDDoS,"` // Brute force cracking (system logins, FTP, and DB) BruceForce bool `json:"bruce_force,omitempty"` // Alarms about remote logins RemoteLogin bool `json:"remote_login,omitempty"` // Weak passwords (system and database) WeakPassword bool `json:"weak_password,omitempty"` // Overly high rights of a database process HighPrivilege bool `json:"high_privilege,omitempty"` // Web page backdoors BackDoors bool `json:"back_doors,omitempty"` // Reserved Waf bool `json:"waf,omitempty"` // Possible values: 0: indicates that alarms are sent once a day. 1: indicates that alarms are sent once every half hour. This parameter is mandatory for the Host Intrusion Detection (HID) service. SendFrequency int `json:"send_frequency,omitempty"` } `json:"warn_config,"` // ID of an alarm group TopicUrn string `json:"topic_urn,"` // Description of an alarm group DisplayName string `json:"display_name,"` }
type WarnAlertResult ¶
type WarnAlertResult struct {
// contains filtered or unexported fields
}
func WarnAlert ¶
func WarnAlert(client *golangsdk.ServiceClient) (r WarnAlertResult)
func (WarnAlertResult) Extract ¶
func (r WarnAlertResult) Extract() (*WarnAlertResponse, error)
Click to show internal directories.
Click to hide internal directories.