yundun

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Yundun"
	Style   = "RPC"
	Version = "2015-04-16"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) AddCNameWaf

func (api API) AddCNameWaf(Domain, InstanceId string, optional openapi.M) (*AddCNameWafResponse, error)

AddCNameWaf version 2015-04-16

required parameters:

name: Domain, type: string
name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) BruteforceLog

func (api API) BruteforceLog(InstanceId string, optional openapi.M) (*BruteforceLogResponse, error)

BruteforceLog version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: RecordType, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CloseCCProtect

func (api API) CloseCCProtect(InstanceId string, optional openapi.M) (*openapi.Response, error)

CloseCCProtect version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ClosePortScan

func (api API) ClosePortScan(InstanceId string, optional openapi.M) (*openapi.Response, error)

ClosePortScan version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CloseVulScan

func (api API) CloseVulScan(InstanceId string, optional openapi.M) (*openapi.Response, error)

CloseVulScan version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ConfigDdos

func (api API) ConfigDdos(FlowPosition int, InstanceId string, Level, StrategyPosition int, optional openapi.M) (*openapi.Response, error)

ConfigDdos version 2015-04-16

required parameters:

name: FlowPosition, type: int
name: InstanceId, type: string
name: Level, type: int
name: StrategyPosition, type: int

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ConfirmLogin

func (api API) ConfirmLogin(InstanceId, SourceIp, Time string, optional openapi.M) (*openapi.Response, error)

ConfirmLogin version 2015-04-16

required parameters:

name: InstanceId, type: string
name: SourceIp, type: string
name: Time, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DdosFlowGraph

func (api API) DdosFlowGraph(InstanceId string, optional openapi.M) (*DdosFlowGraphResponse, error)

DdosFlowGraph version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DdosLog

func (api API) DdosLog(InstanceId string, optional openapi.M) (*DdosLogResponse, error)

DdosLog version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteBackDoorFile

func (api API) DeleteBackDoorFile(InstanceId, Path string, optional openapi.M) (*openapi.Response, error)

DeleteBackDoorFile version 2015-04-16

required parameters:

name: InstanceId, type: string
name: Path, type: string

optional parameters:

name: JstOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteCNameWaf

func (api API) DeleteCNameWaf(CnameId int, Domain, InstanceId string, optional openapi.M) (*DeleteCNameWafResponse, error)

DeleteCNameWaf version 2015-04-16

required parameters:

name: CnameId, type: int
name: Domain, type: string
name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DetectVulById

func (api API) DetectVulById(InstanceId string, VulId int, optional openapi.M) (*openapi.Response, error)

DetectVulById version 2015-04-16

required parameters:

name: InstanceId, type: string
name: VulId, type: int

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DetectVulByIp

func (api API) DetectVulByIp(InstanceId, VulIp string, optional openapi.M) (*openapi.Response, error)

DetectVulByIp version 2015-04-16

required parameters:

name: InstanceId, type: string
name: VulIp, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) GetDdosConfigOptions

func (api API) GetDdosConfigOptions(optional openapi.M) (*GetDdosConfigOptionsResponse, error)

GetDdosConfigOptions version 2015-04-16

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ListInstanceInfos

func (api API) ListInstanceInfos(optional openapi.M) (*ListInstanceInfosResponse, error)

ListInstanceInfos version 2015-04-16

optional parameters:

name: EventType, type: string
name: InstanceIds, type: string
name: InstanceName, type: string
name: InstanceType, type: string
name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: Region, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) LogineventLog

func (api API) LogineventLog(InstanceId string, optional openapi.M) (*LogineventLogResponse, error)

LogineventLog version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: RecordType, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OpenCCProtect

func (api API) OpenCCProtect(InstanceId string, optional openapi.M) (*openapi.Response, error)

OpenCCProtect version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OpenPortScan

func (api API) OpenPortScan(InstanceId string, optional openapi.M) (*openapi.Response, error)

OpenPortScan version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) OpenVulScan

func (api API) OpenVulScan(InstanceId string, optional openapi.M) (*openapi.Response, error)

OpenVulScan version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) QueryDdosConfig

func (api API) QueryDdosConfig(InstanceId string, optional openapi.M) (*QueryDdosConfigResponse, error)

QueryDdosConfig version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SecureCheck

func (api API) SecureCheck(optional openapi.M) (*SecureCheckResponse, error)

SecureCheck version 2015-04-16

optional parameters:

name: InstanceIds, type: string
name: JstOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ServiceStatus

func (api API) ServiceStatus(InstanceId string, optional openapi.M) (*ServiceStatusResponse, error)

ServiceStatus version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SetDdosAuto

func (api API) SetDdosAuto(InstanceId string, optional openapi.M) (*openapi.Response, error)

SetDdosAuto version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SetDdosQps

func (api API) SetDdosQps(InstanceId string, Level, QpsPosition int, optional openapi.M) (*openapi.Response, error)

SetDdosQps version 2015-04-16

required parameters:

name: InstanceId, type: string
name: Level, type: int
name: QpsPosition, type: int

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) Summary

func (api API) Summary(optional openapi.M) (*SummaryResponse, error)

Summary version 2015-04-16

optional parameters:

name: InstanceIds, type: string
name: JstOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) VulScanLog

func (api API) VulScanLog(InstanceId string, optional openapi.M) (*VulScanLogResponse, error)

VulScanLog version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: VulStatus, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) WafInfo

func (api API) WafInfo(InstanceId string, optional openapi.M) (*WafInfoResponse, error)

WafInfo version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) WafLog

func (api API) WafLog(InstanceId string, optional openapi.M) (*WafLogResponse, error)

WafLog version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: InstanceType, type: string
name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) WebshellLog

func (api API) WebshellLog(InstanceId string, optional openapi.M) (*WebshellLogResponse, error)

WebshellLog version 2015-04-16

required parameters:

name: InstanceId, type: string

optional parameters:

name: JstOwnerId, type: int64
name: PageNumber, type: int
name: PageSize, type: int
name: RecordType, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type AddCNameWafResponse

type AddCNameWafResponse struct {
	WafInfoList struct {
		WafInfo []struct {
			Cname  string
			Domain string
			Id     int
			Status int
		}
	}
}

AddCNameWafResponse represents the response of the api AddCNameWaf.

type BruteforceLogResponse

type BruteforceLogResponse struct {
	EndTime string
	LogList struct {
		BruteforceLog []struct {
			BlockTimes int
			Location   string
			SourceIp   string
			Status     int
			Time       string
		}
	}
	PageNumber int
	PageSize   int
	StartTime  string
	TotalCount int
}

BruteforceLogResponse represents the response of the api BruteforceLog.

type DdosFlowGraphResponse

type DdosFlowGraphResponse struct {
	NormalFlows struct {
		NormalFlow []struct {
			BitRecv int64
			BitSend int64
			PktRecv int64
			PktSend int64
			Time    int64 `json:"time" xml:"time"`
		}
	}
	TotalFlows struct {
		TotalFlow []struct {
			BitRecv int64
			PktRecv int64
			Time    int64 `json:"time" xml:"time"`
		}
	}
}

DdosFlowGraphResponse represents the response of the api DdosFlowGraph.

type DdosLogResponse

type DdosLogResponse struct {
	AttackStatus int
	EndTime      string
	LogList      struct {
		DdosLog []struct {
			AttackIpList string
			AttackType   string
			Bps          int64
			EndTime      string
			Pps          int64
			Qps          int64
			Reason       string
			StartTime    string
			Status       int
			Type         int
		}
	}
	PageNumber int
	PageSize   int
	StartTime  string
	TotalCount int
}

DdosLogResponse represents the response of the api DdosLog.

type DeleteCNameWafResponse

type DeleteCNameWafResponse struct {
	WafInfoList struct {
		WafInfo []struct {
			Cname  string
			Domain string
			Id     int
			Status int
		}
	}
}

DeleteCNameWafResponse represents the response of the api DeleteCNameWaf.

type GetDdosConfigOptionsResponse

type GetDdosConfigOptionsResponse struct {
	ConnectionThresholdOptions struct {
		ConnectionThresholdOption []struct {
			Sipconn int64
			Sipnew  int64
		}
	}
	RequestThresholdOptions1 struct {
		RequestThresholdOption []struct {
			Bps int64
			Pps int64
		}
	}
	RequestThresholdOptions2 struct {
		RequestThresholdOption []struct {
			Bps int64
			Pps int64
		}
	}
}

GetDdosConfigOptionsResponse represents the response of the api GetDdosConfigOptions.

type ListInstanceInfosResponse

type ListInstanceInfosResponse struct {
	InfosList struct {
		InstanceInfo []struct {
			AegisStatus  int
			Ddos         int
			HostEvent    int
			InstanceId   string
			InstanceName string
			InternetIp   string
			IntranetIp   string
			Ip           string
			IsLock       bool
			LockType     string
			Region       string
			RegionEnName string
			RegionName   string
			SecureCheck  int
			TriggerTime  string
			UnLockTimes  int
			Waf          int
		}
	}
	PageNumber int
	PageSize   int
	TotalCount int
}

ListInstanceInfosResponse represents the response of the api ListInstanceInfos.

type LogineventLogResponse

type LogineventLogResponse struct {
	EndTime string
	LogList struct {
		LoginEventLog []struct {
			BlockTimes int
			Location   string
			SourceIp   string
			Status     int
			Time       string
		}
	}
	PageNumber int
	PageSize   int
	StartTime  string
	TotalCount int
}

LogineventLogResponse represents the response of the api LogineventLog.

type QueryDdosConfigResponse

type QueryDdosConfigResponse struct {
	Bps              int64
	ConfigType       string
	FlowPosition     int
	HoleBps          string
	Layer7Config     bool
	Level            int
	Pps              int64
	Qps              int64
	QpsPosition      int
	Sipconn          int64
	Sipnew           int64
	StrategyPosition int
}

QueryDdosConfigResponse represents the response of the api QueryDdosConfig.

type SecureCheckResponse

type SecureCheckResponse struct {
	InnerIpList struct {
		Info []struct {
			InstanceId string
			Ip         string
			Status     string
			VulNum     string
		}
	}
	NoProblemList struct {
		Info []struct {
			InstanceId string
			Ip         string
			Status     string
			VulNum     string
		}
	}
	NoScanList struct {
		Info []struct {
			InstanceId string
			Ip         string
			Status     string
			VulNum     string
		}
	}
	ProblemList struct {
		Info []struct {
			InstanceId string
			Ip         string
			Status     string
			VulNum     string
		}
	}
	RecentInstanceId string
	ScanningList     struct {
		Info []struct {
			InstanceId string
			Ip         string
			Status     string
			VulNum     string
		}
	}
}

SecureCheckResponse represents the response of the api SecureCheck.

type ServiceStatusResponse

type ServiceStatusResponse struct {
	PortScan bool
	VulScan  bool
}

ServiceStatusResponse represents the response of the api ServiceStatus.

type SummaryResponse

type SummaryResponse struct {
	AbnormalHostCount int64
	BruteForce        struct {
		Count     int64
		HostCount int64
	}
	Ddos struct {
		Count     int64
		HostCount int64
	}
	RemoteLogin struct {
		Count     int64
		HostCount int64
	}
	Status    int64
	WebAttack struct {
		Count     int64
		HostCount int64
	}
	WebLeak struct {
		Count     int64
		HostCount int64
	}
	Webshell struct {
		Count     int64
		HostCount int64
	}
}

SummaryResponse represents the response of the api Summary.

type VulScanLogResponse

type VulScanLogResponse struct {
	EndTime string
	LogList struct {
		VulScanLog []struct {
			HelpAddress  string
			Id           int
			Status       int
			Type         string
			Url          string
			VulParameter string
		}
	}
	PageNumber int
	PageSize   int
	StartTime  string
	TotalCount int
}

VulScanLogResponse represents the response of the api VulScanLog.

type WafInfoResponse

type WafInfoResponse struct {
	WafDomainNum int
	WafInfos     struct {
		WafInfo []struct {
			Cname  string
			Domain string
			Id     int
			Status int
		}
	}
}

WafInfoResponse represents the response of the api WafInfo.

type WafLogResponse

type WafLogResponse struct {
	DomainCount int
	EndTime     string
	InWhiteList bool
	LogList     struct {
		WafLog []struct {
			SourceIp string
			Status   int
			Time     string
			Type     string
			Url      string
		}
	}
	NewWafUser bool
	PageNumber int
	PageSize   int
	StartTime  string
	TotalCount int
	WafOpened  bool
	WebAttack  int
}

WafLogResponse represents the response of the api WafLog.

type WebshellLogResponse

type WebshellLogResponse struct {
	LogList struct {
		WebshellLog []struct {
			Id     string
			Path   string
			Status int
			Time   string
		}
	}
	PageNumber int
	PageSize   int
	TotalCount int
}

WebshellLogResponse represents the response of the api WebshellLog.

Jump to

Keyboard shortcuts

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