testing

package
v0.0.0-...-d823fe1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WarnAlertOutput = `` /* 273-byte string literal not displayed */
View Source
var WarnAlertResponse = alarmreminding.WarnAlertResponse{
	WarnConfig: struct {
		AntiDDoS      bool `json:"antiDDoS,"`
		BruceForce    bool `json:"bruce_force,omitempty"`
		RemoteLogin   bool `json:"remote_login,omitempty"`
		WeakPassword  bool `json:"weak_password,omitempty"`
		HighPrivilege bool `json:"high_privilege,omitempty"`
		BackDoors     bool `json:"back_doors,omitempty"`
		Waf           bool `json:"waf,omitempty"`
		SendFrequency int  `json:"send_frequency,omitempty"`
	}{
		AntiDDoS:      false,
		BruceForce:    true,
		RemoteLogin:   false,
		WeakPassword:  false,
		HighPrivilege: false,
		BackDoors:     false,
		Waf:           true,
		SendFrequency: 1,
	},
	TopicUrn:    "ABC",
	DisplayName: "123",
}

Functions

func HandleWarnAlertSuccessfully

func HandleWarnAlertSuccessfully(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL