v20180228

package
v3.0.386+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// The agent is offline.
	FAILEDOPERATION_AGENTOFFLINE = "FailedOperation.AgentOffline"

	// Failed to deactivate CWP Pro.
	FAILEDOPERATION_CLOSEPROVERSION = "FailedOperation.CloseProVersion"

	// Failed to create a port acquisition task.
	FAILEDOPERATION_CREATEOPENPORTTASK = "FailedOperation.CreateOpenPortTask"

	// Failed to create a real-time process acquisition task.
	FAILEDOPERATION_CREATEPROCESSTASK = "FailedOperation.CreateProcessTask"

	// Failed to export.
	FAILEDOPERATION_EXPORT = "FailedOperation.Export"

	// The server was uninstalled.
	FAILEDOPERATION_MACHINEDELETE = "FailedOperation.MachineDelete"

	// The real-time port pulling task does not exist.
	FAILEDOPERATION_OPENPORTTASKNOTFOUND = "FailedOperation.OpenPortTaskNotFound"

	// Failed to activate CWP Pro.
	FAILEDOPERATION_OPENPROVERSION = "FailedOperation.OpenProVersion"

	// Failed to isolate all or part of servers.
	FAILEDOPERATION_PARTSEPARATE = "FailedOperation.PartSeparate"

	// Unable to disable the prepaid Pro edition. Please disable it in Billing Center.
	FAILEDOPERATION_PREPAYMODE = "FailedOperation.PrePayMode"

	// The real-time process pulling task does not exist.
	FAILEDOPERATION_PROCESSTASKNOTFOUND = "FailedOperation.ProcessTaskNotFound"

	// Failed to recover the trojan.
	FAILEDOPERATION_RECOVER = "FailedOperation.Recover"

	// Failed to scan for vulnerabilities again.
	FAILEDOPERATION_RESCANVUL = "FailedOperation.RescanVul"

	// The server already has a rescan task in progress.
	FAILEDOPERATION_RESCANVULPROCESSINUSE = "FailedOperation.RescanVulProcessInUse"

	// Failed to isolate a single server.
	FAILEDOPERATION_SINGLESEPARATE = "FailedOperation.SingleSeparate"

	// Internal error.
	INTERNALERROR = "InternalError"

	// The time range format is incorrect.
	INVALIDPARAMETER_DATERANGE = "InvalidParameter.DateRange"

	// Invalid request.
	INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

	// Incorrect parameter format.
	INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

	// Missing parameter.
	INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"

	// Parameter parsing error.
	INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

	// The tag name cannot contain more than 15 characters.
	INVALIDPARAMETERVALUE_TAGNAMELENGTHLIMIT = "InvalidParameterValue.TagNameLengthLimit"

	// The maximum number of entries to be added in batches is exceeded.
	LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"
)
View Source
const APIVersion = "2018-02-28"

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {

	// Unique ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `Uuid`
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Account name.
	Username *string `json:"Username,omitempty" name:"Username"`

	// Account group.
	Groups *string `json:"Groups,omitempty" name:"Groups"`

	// Account type.
	// <li>ORDINARY: ordinary account</li>
	// <li>SUPPER: super admin account</li>
	Privilege *string `json:"Privilege,omitempty" name:"Privilege"`

	// Account creation time.
	AccountCreateTime *string `json:"AccountCreateTime,omitempty" name:"AccountCreateTime"`

	// Account last login time.
	LastLoginTime *string `json:"LastLoginTime,omitempty" name:"LastLoginTime"`
}

type AccountStatistics

type AccountStatistics struct {

	// Username.
	Username *string `json:"Username,omitempty" name:"Username"`

	// Number of servers.
	MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`
}

type AddLoginWhiteListRequest

type AddLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Whitelist rule
	Rules *LoginWhiteListsRule `json:"Rules,omitempty" name:"Rules"`
}

func NewAddLoginWhiteListRequest

func NewAddLoginWhiteListRequest() (request *AddLoginWhiteListRequest)

func (*AddLoginWhiteListRequest) FromJsonString

func (r *AddLoginWhiteListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddLoginWhiteListRequest) ToJsonString

func (r *AddLoginWhiteListRequest) ToJsonString() string

type AddLoginWhiteListResponse

type AddLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAddLoginWhiteListResponse

func NewAddLoginWhiteListResponse() (response *AddLoginWhiteListResponse)

func (*AddLoginWhiteListResponse) FromJsonString

func (r *AddLoginWhiteListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddLoginWhiteListResponse) ToJsonString

func (r *AddLoginWhiteListResponse) ToJsonString() string

type AddMachineTagRequest

type AddMachineTagRequest struct {
	*tchttp.BaseRequest

	// Server ID
	Quuid *string `json:"Quuid,omitempty" name:"Quuid"`

	// Tag ID
	TagId *uint64 `json:"TagId,omitempty" name:"TagId"`

	// Server region
	MRegion *string `json:"MRegion,omitempty" name:"MRegion"`

	// Server type (`CVM` or `BM`)
	MArea *string `json:"MArea,omitempty" name:"MArea"`
}

func NewAddMachineTagRequest

func NewAddMachineTagRequest() (request *AddMachineTagRequest)

func (*AddMachineTagRequest) FromJsonString

func (r *AddMachineTagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddMachineTagRequest) ToJsonString

func (r *AddMachineTagRequest) ToJsonString() string

type AddMachineTagResponse

type AddMachineTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAddMachineTagResponse

func NewAddMachineTagResponse() (response *AddMachineTagResponse)

func (*AddMachineTagResponse) FromJsonString

func (r *AddMachineTagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddMachineTagResponse) ToJsonString

func (r *AddMachineTagResponse) ToJsonString() string

type AgentVul

type AgentVul struct {

	// Vulnerability ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Vulnerability name.
	VulName *string `json:"VulName,omitempty" name:"VulName"`

	// Vulnerability severity level.
	// <li>HIGH: high</li>
	// <li>MIDDLE: medium</li>
	// <li>LOW: low</li>
	// <li>NOTICE: notice</li>
	VulLevel *string `json:"VulLevel,omitempty" name:"VulLevel"`

	// Last scanned time.
	LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`

	// Vulnerability description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitempty" name:"VulId"`

	// Vulnerability status.
	// <li>UN_OPERATED: to be processed</li>
	// <li>FIXED: fixed</li>
	VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`
}

type BruteAttack

type BruteAttack struct {

	// Event ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Brute force attack event status
	// <li>BRUTEATTACK_FAIL_ACCOUNT: brute force attack event - failure (the account exists)</li>
	// <li>BRUTEATTACK_FAIL_NOACCOUNT: brute force attack event - failure (the account does not exist)</li>
	// <li>BRUTEATTACK_SUCCESS: brute force attack event - success </li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Username.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// City ID.
	City *uint64 `json:"City,omitempty" name:"City"`

	// Country/Region ID.
	Country *uint64 `json:"Country,omitempty" name:"Country"`

	// Province/State ID.
	Province *uint64 `json:"Province,omitempty" name:"Province"`

	// Source IP.
	SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`

	// Number of attempts.
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// Occurrence time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Whether the server enables CWP Pro.
	IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`

	// Whether the server is banned.
	BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`

	// Server `UUID`
	Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddLoginWhiteList

func (c *Client) AddLoginWhiteList(request *AddLoginWhiteListRequest) (response *AddLoginWhiteListResponse, err error)

AddLoginWhiteList This API is used to add a allowlist rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) AddLoginWhiteListWithContext

func (c *Client) AddLoginWhiteListWithContext(ctx context.Context, request *AddLoginWhiteListRequest) (response *AddLoginWhiteListResponse, err error)

AddLoginWhiteList This API is used to add a allowlist rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) AddMachineTag

func (c *Client) AddMachineTag(request *AddMachineTagRequest) (response *AddMachineTagResponse, err error)

AddMachineTag This API is used to add a tag to a server.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) AddMachineTagWithContext

func (c *Client) AddMachineTagWithContext(ctx context.Context, request *AddMachineTagRequest) (response *AddMachineTagResponse, err error)

AddMachineTag This API is used to add a tag to a server.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CloseProVersion

func (c *Client) CloseProVersion(request *CloseProVersionRequest) (response *CloseProVersionResponse, err error)

CloseProVersion This API is used to deactivate CWP Pro.

error code that may be returned:

FAILEDOPERATION_CLOSEPROVERSION = "FailedOperation.CloseProVersion"
FAILEDOPERATION_OPENPROVERSION = "FailedOperation.OpenProVersion"
FAILEDOPERATION_PREPAYMODE = "FailedOperation.PrePayMode"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CloseProVersionWithContext

func (c *Client) CloseProVersionWithContext(ctx context.Context, request *CloseProVersionRequest) (response *CloseProVersionResponse, err error)

CloseProVersion This API is used to deactivate CWP Pro.

error code that may be returned:

FAILEDOPERATION_CLOSEPROVERSION = "FailedOperation.CloseProVersion"
FAILEDOPERATION_OPENPROVERSION = "FailedOperation.OpenProVersion"
FAILEDOPERATION_PREPAYMODE = "FailedOperation.PrePayMode"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CreateOpenPortTask

func (c *Client) CreateOpenPortTask(request *CreateOpenPortTaskRequest) (response *CreateOpenPortTaskResponse, err error)

CreateOpenPortTask This API is used to create a real-time port acquisition task.

error code that may be returned:

FAILEDOPERATION_CREATEOPENPORTTASK = "FailedOperation.CreateOpenPortTask"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateOpenPortTaskWithContext

func (c *Client) CreateOpenPortTaskWithContext(ctx context.Context, request *CreateOpenPortTaskRequest) (response *CreateOpenPortTaskResponse, err error)

CreateOpenPortTask This API is used to create a real-time port acquisition task.

error code that may be returned:

FAILEDOPERATION_CREATEOPENPORTTASK = "FailedOperation.CreateOpenPortTask"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateProcessTask

func (c *Client) CreateProcessTask(request *CreateProcessTaskRequest) (response *CreateProcessTaskResponse, err error)

CreateProcessTask This API is used to create a real-time process pulling task.

error code that may be returned:

FAILEDOPERATION_CREATEPROCESSTASK = "FailedOperation.CreateProcessTask"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateProcessTaskWithContext

func (c *Client) CreateProcessTaskWithContext(ctx context.Context, request *CreateProcessTaskRequest) (response *CreateProcessTaskResponse, err error)

CreateProcessTask This API is used to create a real-time process pulling task.

error code that may be returned:

FAILEDOPERATION_CREATEPROCESSTASK = "FailedOperation.CreateProcessTask"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateUsualLoginPlaces

func (c *Client) CreateUsualLoginPlaces(request *CreateUsualLoginPlacesRequest) (response *CreateUsualLoginPlacesResponse, err error)

CreateUsualLoginPlaces This API is used to add one or more usual login locations.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CreateUsualLoginPlacesWithContext

func (c *Client) CreateUsualLoginPlacesWithContext(ctx context.Context, request *CreateUsualLoginPlacesRequest) (response *CreateUsualLoginPlacesResponse, err error)

CreateUsualLoginPlaces This API is used to add one or more usual login locations.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DeleteBruteAttacks

func (c *Client) DeleteBruteAttacks(request *DeleteBruteAttacksRequest) (response *DeleteBruteAttacksResponse, err error)

DeleteBruteAttacks This API is used to delete brute force attack records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteBruteAttacksWithContext

func (c *Client) DeleteBruteAttacksWithContext(ctx context.Context, request *DeleteBruteAttacksRequest) (response *DeleteBruteAttacksResponse, err error)

DeleteBruteAttacks This API is used to delete brute force attack records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteLoginWhiteList

func (c *Client) DeleteLoginWhiteList(request *DeleteLoginWhiteListRequest) (response *DeleteLoginWhiteListResponse, err error)

DeleteLoginWhiteList This API is used to delete a allowlist rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteLoginWhiteListWithContext

func (c *Client) DeleteLoginWhiteListWithContext(ctx context.Context, request *DeleteLoginWhiteListRequest) (response *DeleteLoginWhiteListResponse, err error)

DeleteLoginWhiteList This API is used to delete a allowlist rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteMachine

func (c *Client) DeleteMachine(request *DeleteMachineRequest) (response *DeleteMachineResponse, err error)

DeleteMachine This API is used to uninstall the CWP agent.

error code that may be returned:

FAILEDOPERATION_MACHINEDELETE = "FailedOperation.MachineDelete"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteMachineTag

func (c *Client) DeleteMachineTag(request *DeleteMachineTagRequest) (response *DeleteMachineTagResponse, err error)

DeleteMachineTag This API is used to remove a tag from a server.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteMachineTagWithContext

func (c *Client) DeleteMachineTagWithContext(ctx context.Context, request *DeleteMachineTagRequest) (response *DeleteMachineTagResponse, err error)

DeleteMachineTag This API is used to remove a tag from a server.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteMachineWithContext

func (c *Client) DeleteMachineWithContext(ctx context.Context, request *DeleteMachineRequest) (response *DeleteMachineResponse, err error)

DeleteMachine This API is used to uninstall the CWP agent.

error code that may be returned:

FAILEDOPERATION_MACHINEDELETE = "FailedOperation.MachineDelete"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteMaliciousRequests

func (c *Client) DeleteMaliciousRequests(request *DeleteMaliciousRequestsRequest) (response *DeleteMaliciousRequestsResponse, err error)

DeleteMaliciousRequests This API is used to delete malicious request records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteMaliciousRequestsWithContext

func (c *Client) DeleteMaliciousRequestsWithContext(ctx context.Context, request *DeleteMaliciousRequestsRequest) (response *DeleteMaliciousRequestsResponse, err error)

DeleteMaliciousRequests This API is used to delete malicious request records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteMalwares

func (c *Client) DeleteMalwares(request *DeleteMalwaresRequest) (response *DeleteMalwaresResponse, err error)

DeleteMalwares This API is used to delete trojan records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteMalwaresWithContext

func (c *Client) DeleteMalwaresWithContext(ctx context.Context, request *DeleteMalwaresRequest) (response *DeleteMalwaresResponse, err error)

DeleteMalwares This API is used to delete trojan records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteNonlocalLoginPlaces

func (c *Client) DeleteNonlocalLoginPlaces(request *DeleteNonlocalLoginPlacesRequest) (response *DeleteNonlocalLoginPlacesResponse, err error)

DeleteNonlocalLoginPlaces This API is used to delete unusual login location records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteNonlocalLoginPlacesWithContext

func (c *Client) DeleteNonlocalLoginPlacesWithContext(ctx context.Context, request *DeleteNonlocalLoginPlacesRequest) (response *DeleteNonlocalLoginPlacesResponse, err error)

DeleteNonlocalLoginPlaces This API is used to delete unusual login location records.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DeleteUsualLoginPlaces

func (c *Client) DeleteUsualLoginPlaces(request *DeleteUsualLoginPlacesRequest) (response *DeleteUsualLoginPlacesResponse, err error)

DeleteUsualLoginPlaces This API is used to delete one or more usual login locations.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DeleteUsualLoginPlacesWithContext

func (c *Client) DeleteUsualLoginPlacesWithContext(ctx context.Context, request *DeleteUsualLoginPlacesRequest) (response *DeleteUsualLoginPlacesResponse, err error)

DeleteUsualLoginPlaces This API is used to delete one or more usual login locations.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAccountStatistics

func (c *Client) DescribeAccountStatistics(request *DescribeAccountStatisticsRequest) (response *DescribeAccountStatisticsResponse, err error)

DescribeAccountStatistics This API is used to get the account statistics list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAccountStatisticsWithContext

func (c *Client) DescribeAccountStatisticsWithContext(ctx context.Context, request *DescribeAccountStatisticsRequest) (response *DescribeAccountStatisticsResponse, err error)

DescribeAccountStatistics This API is used to get the account statistics list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAccounts

func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)

DescribeAccounts This API is used to get the account list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAccountsWithContext

func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)

DescribeAccounts This API is used to get the account list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAgentVuls

func (c *Client) DescribeAgentVuls(request *DescribeAgentVulsRequest) (response *DescribeAgentVulsResponse, err error)

DescribeAgentVuls This API is used to get the list of vulnerabilities on a single server.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAgentVulsWithContext

func (c *Client) DescribeAgentVulsWithContext(ctx context.Context, request *DescribeAgentVulsRequest) (response *DescribeAgentVulsResponse, err error)

DescribeAgentVuls This API is used to get the list of vulnerabilities on a single server.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeAlarmAttribute

func (c *Client) DescribeAlarmAttribute(request *DescribeAlarmAttributeRequest) (response *DescribeAlarmAttributeResponse, err error)

DescribeAlarmAttribute This API is used to get the alarm settings.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeAlarmAttributeWithContext

func (c *Client) DescribeAlarmAttributeWithContext(ctx context.Context, request *DescribeAlarmAttributeRequest) (response *DescribeAlarmAttributeResponse, err error)

DescribeAlarmAttribute This API is used to get the alarm settings.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeBruteAttacks

func (c *Client) DescribeBruteAttacks(request *DescribeBruteAttacksRequest) (response *DescribeBruteAttacksResponse, err error)

DescribeBruteAttacks This API is used to get the brute force attack event list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeBruteAttacksWithContext

func (c *Client) DescribeBruteAttacksWithContext(ctx context.Context, request *DescribeBruteAttacksRequest) (response *DescribeBruteAttacksResponse, err error)

DescribeBruteAttacks This API is used to get the brute force attack event list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeComponentInfo

func (c *Client) DescribeComponentInfo(request *DescribeComponentInfoRequest) (response *DescribeComponentInfoResponse, err error)

DescribeComponentInfo This API is used to get the component information.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeComponentInfoWithContext

func (c *Client) DescribeComponentInfoWithContext(ctx context.Context, request *DescribeComponentInfoRequest) (response *DescribeComponentInfoResponse, err error)

DescribeComponentInfo This API is used to get the component information.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeComponentStatistics

func (c *Client) DescribeComponentStatistics(request *DescribeComponentStatisticsRequest) (response *DescribeComponentStatisticsResponse, err error)

DescribeComponentStatistics This API is used to get the component statistics list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeComponentStatisticsWithContext

func (c *Client) DescribeComponentStatisticsWithContext(ctx context.Context, request *DescribeComponentStatisticsRequest) (response *DescribeComponentStatisticsResponse, err error)

DescribeComponentStatistics This API is used to get the component statistics list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeComponents

func (c *Client) DescribeComponents(request *DescribeComponentsRequest) (response *DescribeComponentsResponse, err error)

DescribeComponents This API is used to get the component list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeComponentsWithContext

func (c *Client) DescribeComponentsWithContext(ctx context.Context, request *DescribeComponentsRequest) (response *DescribeComponentsResponse, err error)

DescribeComponents This API is used to get the component list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeHistoryAccounts

func (c *Client) DescribeHistoryAccounts(request *DescribeHistoryAccountsRequest) (response *DescribeHistoryAccountsResponse, err error)

DescribeHistoryAccounts This API is used to get the account change history list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeHistoryAccountsWithContext

func (c *Client) DescribeHistoryAccountsWithContext(ctx context.Context, request *DescribeHistoryAccountsRequest) (response *DescribeHistoryAccountsResponse, err error)

DescribeHistoryAccounts This API is used to get the account change history list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeImpactedHosts

func (c *Client) DescribeImpactedHosts(request *DescribeImpactedHostsRequest) (response *DescribeImpactedHostsResponse, err error)

DescribeImpactedHosts This API is used to get the list of servers affected by a vulnerability.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeImpactedHostsWithContext

func (c *Client) DescribeImpactedHostsWithContext(ctx context.Context, request *DescribeImpactedHostsRequest) (response *DescribeImpactedHostsResponse, err error)

DescribeImpactedHosts This API is used to get the list of servers affected by a vulnerability.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeLoginWhiteList

func (c *Client) DescribeLoginWhiteList(request *DescribeLoginWhiteListRequest) (response *DescribeLoginWhiteListResponse, err error)

DescribeLoginWhiteList This API is used to get the list of login allowlist entries.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeLoginWhiteListWithContext

func (c *Client) DescribeLoginWhiteListWithContext(ctx context.Context, request *DescribeLoginWhiteListRequest) (response *DescribeLoginWhiteListResponse, err error)

DescribeLoginWhiteList This API is used to get the list of login allowlist entries.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeMachineInfo

func (c *Client) DescribeMachineInfo(request *DescribeMachineInfoRequest) (response *DescribeMachineInfoResponse, err error)

DescribeMachineInfo This API is used to get server details.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeMachineInfoWithContext

func (c *Client) DescribeMachineInfoWithContext(ctx context.Context, request *DescribeMachineInfoRequest) (response *DescribeMachineInfoResponse, err error)

DescribeMachineInfo This API is used to get server details.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeMachines

func (c *Client) DescribeMachines(request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)

DescribeMachines This API is used to get the list of servers in a specified region.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeMachinesWithContext

func (c *Client) DescribeMachinesWithContext(ctx context.Context, request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)

DescribeMachines This API is used to get the list of servers in a specified region.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeMaliciousRequests

func (c *Client) DescribeMaliciousRequests(request *DescribeMaliciousRequestsRequest) (response *DescribeMaliciousRequestsResponse, err error)

DescribeMaliciousRequests This API is used to get malicious request data.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

func (*Client) DescribeMaliciousRequestsWithContext

func (c *Client) DescribeMaliciousRequestsWithContext(ctx context.Context, request *DescribeMaliciousRequestsRequest) (response *DescribeMaliciousRequestsResponse, err error)

DescribeMaliciousRequests This API is used to get malicious request data.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

func (*Client) DescribeMalwares

func (c *Client) DescribeMalwares(request *DescribeMalwaresRequest) (response *DescribeMalwaresResponse, err error)

DescribeMalwares This API is used to get the list of trojan events.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeMalwaresWithContext

func (c *Client) DescribeMalwaresWithContext(ctx context.Context, request *DescribeMalwaresRequest) (response *DescribeMalwaresResponse, err error)

DescribeMalwares This API is used to get the list of trojan events.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeNonlocalLoginPlaces

func (c *Client) DescribeNonlocalLoginPlaces(request *DescribeNonlocalLoginPlacesRequest) (response *DescribeNonlocalLoginPlacesResponse, err error)

DescribeNonlocalLoginPlaces This API is used to get unusual login events.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeNonlocalLoginPlacesWithContext

func (c *Client) DescribeNonlocalLoginPlacesWithContext(ctx context.Context, request *DescribeNonlocalLoginPlacesRequest) (response *DescribeNonlocalLoginPlacesResponse, err error)

DescribeNonlocalLoginPlaces This API is used to get unusual login events.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) DescribeOpenPortStatistics

func (c *Client) DescribeOpenPortStatistics(request *DescribeOpenPortStatisticsRequest) (response *DescribeOpenPortStatisticsResponse, err error)

DescribeOpenPortStatistics This API is used to get the statistics on port usage

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeOpenPortStatisticsWithContext

func (c *Client) DescribeOpenPortStatisticsWithContext(ctx context.Context, request *DescribeOpenPortStatisticsRequest) (response *DescribeOpenPortStatisticsResponse, err error)

DescribeOpenPortStatistics This API is used to get the statistics on port usage

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeOpenPortTaskStatus

func (c *Client) DescribeOpenPortTaskStatus(request *DescribeOpenPortTaskStatusRequest) (response *DescribeOpenPortTaskStatusResponse, err error)

DescribeOpenPortTaskStatus This API is used to get the status of a real-time port pulling task.

error code that may be returned:

FAILEDOPERATION_AGENTOFFLINE = "FailedOperation.AgentOffline"
FAILEDOPERATION_OPENPORTTASKNOTFOUND = "FailedOperation.OpenPortTaskNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOpenPortTaskStatusWithContext

func (c *Client) DescribeOpenPortTaskStatusWithContext(ctx context.Context, request *DescribeOpenPortTaskStatusRequest) (response *DescribeOpenPortTaskStatusResponse, err error)

DescribeOpenPortTaskStatus This API is used to get the status of a real-time port pulling task.

error code that may be returned:

FAILEDOPERATION_AGENTOFFLINE = "FailedOperation.AgentOffline"
FAILEDOPERATION_OPENPORTTASKNOTFOUND = "FailedOperation.OpenPortTaskNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOpenPorts

func (c *Client) DescribeOpenPorts(request *DescribeOpenPortsRequest) (response *DescribeOpenPortsResponse, err error)

DescribeOpenPorts This API is used to get the port list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeOpenPortsWithContext

func (c *Client) DescribeOpenPortsWithContext(ctx context.Context, request *DescribeOpenPortsRequest) (response *DescribeOpenPortsResponse, err error)

DescribeOpenPorts This API is used to get the port list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeOverviewStatistics

func (c *Client) DescribeOverviewStatistics(request *DescribeOverviewStatisticsRequest) (response *DescribeOverviewStatisticsResponse, err error)

DescribeOverviewStatistics This API is used to get the overview statistics of CWP under the current account.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeOverviewStatisticsWithContext

func (c *Client) DescribeOverviewStatisticsWithContext(ctx context.Context, request *DescribeOverviewStatisticsRequest) (response *DescribeOverviewStatisticsResponse, err error)

DescribeOverviewStatistics This API is used to get the overview statistics of CWP under the current account.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeProVersionInfo

func (c *Client) DescribeProVersionInfo(request *DescribeProVersionInfoRequest) (response *DescribeProVersionInfoResponse, err error)

DescribeProVersionInfo This API is used to get the CWP Pro information.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeProVersionInfoWithContext

func (c *Client) DescribeProVersionInfoWithContext(ctx context.Context, request *DescribeProVersionInfoRequest) (response *DescribeProVersionInfoResponse, err error)

DescribeProVersionInfo This API is used to get the CWP Pro information.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeProcessStatistics

func (c *Client) DescribeProcessStatistics(request *DescribeProcessStatisticsRequest) (response *DescribeProcessStatisticsResponse, err error)

DescribeProcessStatistics This API is used to get the process statistics list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeProcessStatisticsWithContext

func (c *Client) DescribeProcessStatisticsWithContext(ctx context.Context, request *DescribeProcessStatisticsRequest) (response *DescribeProcessStatisticsResponse, err error)

DescribeProcessStatistics This API is used to get the process statistics list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeProcessTaskStatus

func (c *Client) DescribeProcessTaskStatus(request *DescribeProcessTaskStatusRequest) (response *DescribeProcessTaskStatusResponse, err error)

DescribeProcessTaskStatus This API is used to get the status of a real-time process pulling task.

error code that may be returned:

FAILEDOPERATION_PROCESSTASKNOTFOUND = "FailedOperation.ProcessTaskNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeProcessTaskStatusWithContext

func (c *Client) DescribeProcessTaskStatusWithContext(ctx context.Context, request *DescribeProcessTaskStatusRequest) (response *DescribeProcessTaskStatusResponse, err error)

DescribeProcessTaskStatus This API is used to get the status of a real-time process pulling task.

error code that may be returned:

FAILEDOPERATION_PROCESSTASKNOTFOUND = "FailedOperation.ProcessTaskNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeProcesses

func (c *Client) DescribeProcesses(request *DescribeProcessesRequest) (response *DescribeProcessesResponse, err error)

DescribeProcesses This API is used to get the process list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeProcessesWithContext

func (c *Client) DescribeProcessesWithContext(ctx context.Context, request *DescribeProcessesRequest) (response *DescribeProcessesResponse, err error)

DescribeProcesses This API is used to get the process list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeSecurityDynamics

func (c *Client) DescribeSecurityDynamics(request *DescribeSecurityDynamicsRequest) (response *DescribeSecurityDynamicsResponse, err error)

DescribeSecurityDynamics This API is used to get the security event message data.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeSecurityDynamicsWithContext

func (c *Client) DescribeSecurityDynamicsWithContext(ctx context.Context, request *DescribeSecurityDynamicsRequest) (response *DescribeSecurityDynamicsResponse, err error)

DescribeSecurityDynamics This API is used to get the security event message data.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeSecurityTrends

func (c *Client) DescribeSecurityTrends(request *DescribeSecurityTrendsRequest) (response *DescribeSecurityTrendsResponse, err error)

DescribeSecurityTrends This API is used to get the security event statistics.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_DATERANGE = "InvalidParameter.DateRange"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeSecurityTrendsWithContext

func (c *Client) DescribeSecurityTrendsWithContext(ctx context.Context, request *DescribeSecurityTrendsRequest) (response *DescribeSecurityTrendsResponse, err error)

DescribeSecurityTrends This API is used to get the security event statistics.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_DATERANGE = "InvalidParameter.DateRange"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeTagMachines

func (c *Client) DescribeTagMachines(request *DescribeTagMachinesRequest) (response *DescribeTagMachinesResponse, err error)

DescribeTagMachines This API is used to get the information of servers associated with a specified tag.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTagMachinesWithContext

func (c *Client) DescribeTagMachinesWithContext(ctx context.Context, request *DescribeTagMachinesRequest) (response *DescribeTagMachinesResponse, err error)

DescribeTagMachines This API is used to get the information of servers associated with a specified tag.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTags

func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)

DescribeTags This API is used to get all server tags.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTagsWithContext

func (c *Client) DescribeTagsWithContext(ctx context.Context, request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)

DescribeTags This API is used to get all server tags.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeUsualLoginPlaces

func (c *Client) DescribeUsualLoginPlaces(request *DescribeUsualLoginPlacesRequest) (response *DescribeUsualLoginPlacesResponse, err error)

DescribeUsualLoginPlaces This API is used to query usual login locations.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeUsualLoginPlacesWithContext

func (c *Client) DescribeUsualLoginPlacesWithContext(ctx context.Context, request *DescribeUsualLoginPlacesRequest) (response *DescribeUsualLoginPlacesResponse, err error)

DescribeUsualLoginPlaces This API is used to query usual login locations.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeVulInfo

func (c *Client) DescribeVulInfo(request *DescribeVulInfoRequest) (response *DescribeVulInfoResponse, err error)

DescribeVulInfo This API is used to get vulnerability details.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeVulInfoWithContext

func (c *Client) DescribeVulInfoWithContext(ctx context.Context, request *DescribeVulInfoRequest) (response *DescribeVulInfoResponse, err error)

DescribeVulInfo This API is used to get vulnerability details.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeVulScanResult

func (c *Client) DescribeVulScanResult(request *DescribeVulScanResultRequest) (response *DescribeVulScanResultResponse, err error)

DescribeVulScanResult This API is used to get the vulnerability detection result.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeVulScanResultWithContext

func (c *Client) DescribeVulScanResultWithContext(ctx context.Context, request *DescribeVulScanResultRequest) (response *DescribeVulScanResultResponse, err error)

DescribeVulScanResult This API is used to get the vulnerability detection result.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeVuls

func (c *Client) DescribeVuls(request *DescribeVulsRequest) (response *DescribeVulsResponse, err error)

DescribeVuls This API is used to get the vulnerability list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeVulsWithContext

func (c *Client) DescribeVulsWithContext(ctx context.Context, request *DescribeVulsRequest) (response *DescribeVulsResponse, err error)

DescribeVuls This API is used to get the vulnerability list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeWeeklyReportBruteAttacks

func (c *Client) DescribeWeeklyReportBruteAttacks(request *DescribeWeeklyReportBruteAttacksRequest) (response *DescribeWeeklyReportBruteAttacksResponse, err error)

DescribeWeeklyReportBruteAttacks This API is used to get the brute force attack data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportBruteAttacksWithContext

func (c *Client) DescribeWeeklyReportBruteAttacksWithContext(ctx context.Context, request *DescribeWeeklyReportBruteAttacksRequest) (response *DescribeWeeklyReportBruteAttacksResponse, err error)

DescribeWeeklyReportBruteAttacks This API is used to get the brute force attack data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportInfo

func (c *Client) DescribeWeeklyReportInfo(request *DescribeWeeklyReportInfoRequest) (response *DescribeWeeklyReportInfoResponse, err error)

DescribeWeeklyReportInfo This API is used to get the details in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

func (*Client) DescribeWeeklyReportInfoWithContext

func (c *Client) DescribeWeeklyReportInfoWithContext(ctx context.Context, request *DescribeWeeklyReportInfoRequest) (response *DescribeWeeklyReportInfoResponse, err error)

DescribeWeeklyReportInfo This API is used to get the details in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

func (*Client) DescribeWeeklyReportMalwares

func (c *Client) DescribeWeeklyReportMalwares(request *DescribeWeeklyReportMalwaresRequest) (response *DescribeWeeklyReportMalwaresResponse, err error)

DescribeWeeklyReportMalwares This API is used to get the trojan data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportMalwaresWithContext

func (c *Client) DescribeWeeklyReportMalwaresWithContext(ctx context.Context, request *DescribeWeeklyReportMalwaresRequest) (response *DescribeWeeklyReportMalwaresResponse, err error)

DescribeWeeklyReportMalwares This API is used to get the trojan data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportNonlocalLoginPlaces

func (c *Client) DescribeWeeklyReportNonlocalLoginPlaces(request *DescribeWeeklyReportNonlocalLoginPlacesRequest) (response *DescribeWeeklyReportNonlocalLoginPlacesResponse, err error)

DescribeWeeklyReportNonlocalLoginPlaces This API is used to get the unusual login location data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportNonlocalLoginPlacesWithContext

func (c *Client) DescribeWeeklyReportNonlocalLoginPlacesWithContext(ctx context.Context, request *DescribeWeeklyReportNonlocalLoginPlacesRequest) (response *DescribeWeeklyReportNonlocalLoginPlacesResponse, err error)

DescribeWeeklyReportNonlocalLoginPlaces This API is used to get the unusual login location data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportVuls

func (c *Client) DescribeWeeklyReportVuls(request *DescribeWeeklyReportVulsRequest) (response *DescribeWeeklyReportVulsResponse, err error)

DescribeWeeklyReportVuls This API is used to get the vulnerability data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReportVulsWithContext

func (c *Client) DescribeWeeklyReportVulsWithContext(ctx context.Context, request *DescribeWeeklyReportVulsRequest) (response *DescribeWeeklyReportVulsResponse, err error)

DescribeWeeklyReportVuls This API is used to get the vulnerability data in the weekly CWP Pro report.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"

func (*Client) DescribeWeeklyReports

func (c *Client) DescribeWeeklyReports(request *DescribeWeeklyReportsRequest) (response *DescribeWeeklyReportsResponse, err error)

DescribeWeeklyReports This API is used to get the weekly report list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

func (*Client) DescribeWeeklyReportsWithContext

func (c *Client) DescribeWeeklyReportsWithContext(ctx context.Context, request *DescribeWeeklyReportsRequest) (response *DescribeWeeklyReportsResponse, err error)

DescribeWeeklyReports This API is used to get the weekly report list.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"

func (*Client) EditTags

func (c *Client) EditTags(request *EditTagsRequest) (response *EditTagsResponse, err error)

EditTags This API is used to add or edit tags.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
INVALIDPARAMETERVALUE_TAGNAMELENGTHLIMIT = "InvalidParameterValue.TagNameLengthLimit"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EditTagsWithContext

func (c *Client) EditTagsWithContext(ctx context.Context, request *EditTagsRequest) (response *EditTagsResponse, err error)

EditTags This API is used to add or edit tags.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
INVALIDPARAMETERVALUE_TAGNAMELENGTHLIMIT = "InvalidParameterValue.TagNameLengthLimit"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ExportBruteAttacks

func (c *Client) ExportBruteAttacks(request *ExportBruteAttacksRequest) (response *ExportBruteAttacksResponse, err error)

ExportBruteAttacks This API is used to export brute force attack records into a CSV file.

error code that may be returned:

FAILEDOPERATION_EXPORT = "FailedOperation.Export"
INTERNALERROR = "InternalError"

func (*Client) ExportBruteAttacksWithContext

func (c *Client) ExportBruteAttacksWithContext(ctx context.Context, request *ExportBruteAttacksRequest) (response *ExportBruteAttacksResponse, err error)

ExportBruteAttacks This API is used to export brute force attack records into a CSV file.

error code that may be returned:

FAILEDOPERATION_EXPORT = "FailedOperation.Export"
INTERNALERROR = "InternalError"

func (*Client) ExportMaliciousRequests

func (c *Client) ExportMaliciousRequests(request *ExportMaliciousRequestsRequest) (response *ExportMaliciousRequestsResponse, err error)

ExportMaliciousRequests This API is used to export the malicious request file into a CSV file for download.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) ExportMaliciousRequestsWithContext

func (c *Client) ExportMaliciousRequestsWithContext(ctx context.Context, request *ExportMaliciousRequestsRequest) (response *ExportMaliciousRequestsResponse, err error)

ExportMaliciousRequests This API is used to export the malicious request file into a CSV file for download.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) ExportMalwares

func (c *Client) ExportMalwares(request *ExportMalwaresRequest) (response *ExportMalwaresResponse, err error)

ExportMalwares This API is used to export trojan records into a CSV file.

error code that may be returned:

FAILEDOPERATION_EXPORT = "FailedOperation.Export"
INTERNALERROR = "InternalError"

func (*Client) ExportMalwaresWithContext

func (c *Client) ExportMalwaresWithContext(ctx context.Context, request *ExportMalwaresRequest) (response *ExportMalwaresResponse, err error)

ExportMalwares This API is used to export trojan records into a CSV file.

error code that may be returned:

FAILEDOPERATION_EXPORT = "FailedOperation.Export"
INTERNALERROR = "InternalError"

func (*Client) ExportNonlocalLoginPlaces

func (c *Client) ExportNonlocalLoginPlaces(request *ExportNonlocalLoginPlacesRequest) (response *ExportNonlocalLoginPlacesResponse, err error)

ExportNonlocalLoginPlaces This API is used to export unusual login location events into a CSV file.

error code that may be returned:

FAILEDOPERATION_EXPORT = "FailedOperation.Export"
INTERNALERROR = "InternalError"

func (*Client) ExportNonlocalLoginPlacesWithContext

func (c *Client) ExportNonlocalLoginPlacesWithContext(ctx context.Context, request *ExportNonlocalLoginPlacesRequest) (response *ExportNonlocalLoginPlacesResponse, err error)

ExportNonlocalLoginPlaces This API is used to export unusual login location events into a CSV file.

error code that may be returned:

FAILEDOPERATION_EXPORT = "FailedOperation.Export"
INTERNALERROR = "InternalError"

func (*Client) IgnoreImpactedHosts

func (c *Client) IgnoreImpactedHosts(request *IgnoreImpactedHostsRequest) (response *IgnoreImpactedHostsResponse, err error)

IgnoreImpactedHosts This API is used to ignore one or more vulnerabilities.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) IgnoreImpactedHostsWithContext

func (c *Client) IgnoreImpactedHostsWithContext(ctx context.Context, request *IgnoreImpactedHostsRequest) (response *IgnoreImpactedHostsResponse, err error)

IgnoreImpactedHosts This API is used to ignore one or more vulnerabilities.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) MisAlarmNonlocalLoginPlaces

func (c *Client) MisAlarmNonlocalLoginPlaces(request *MisAlarmNonlocalLoginPlacesRequest) (response *MisAlarmNonlocalLoginPlacesResponse, err error)

MisAlarmNonlocalLoginPlaces This API is used to set the current location as the usual login location.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) MisAlarmNonlocalLoginPlacesWithContext

func (c *Client) MisAlarmNonlocalLoginPlacesWithContext(ctx context.Context, request *MisAlarmNonlocalLoginPlacesRequest) (response *MisAlarmNonlocalLoginPlacesResponse, err error)

MisAlarmNonlocalLoginPlaces This API is used to set the current location as the usual login location.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) ModifyAlarmAttribute

func (c *Client) ModifyAlarmAttribute(request *ModifyAlarmAttributeRequest) (response *ModifyAlarmAttributeResponse, err error)

ModifyAlarmAttribute This API is used to modify alarm settings.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) ModifyAlarmAttributeWithContext

func (c *Client) ModifyAlarmAttributeWithContext(ctx context.Context, request *ModifyAlarmAttributeRequest) (response *ModifyAlarmAttributeResponse, err error)

ModifyAlarmAttribute This API is used to modify alarm settings.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"

func (*Client) ModifyAutoOpenProVersionConfig

func (c *Client) ModifyAutoOpenProVersionConfig(request *ModifyAutoOpenProVersionConfigRequest) (response *ModifyAutoOpenProVersionConfigResponse, err error)

ModifyAutoOpenProVersionConfig This API is used to set whether to automatically activate CWP Pro for newly added servers.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) ModifyAutoOpenProVersionConfigWithContext

func (c *Client) ModifyAutoOpenProVersionConfigWithContext(ctx context.Context, request *ModifyAutoOpenProVersionConfigRequest) (response *ModifyAutoOpenProVersionConfigResponse, err error)

ModifyAutoOpenProVersionConfig This API is used to set whether to automatically activate CWP Pro for newly added servers.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) ModifyLoginWhiteList

func (c *Client) ModifyLoginWhiteList(request *ModifyLoginWhiteListRequest) (response *ModifyLoginWhiteListResponse, err error)

ModifyLoginWhiteList This API is used to edit a allowlist rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) ModifyLoginWhiteListWithContext

func (c *Client) ModifyLoginWhiteListWithContext(ctx context.Context, request *ModifyLoginWhiteListRequest) (response *ModifyLoginWhiteListResponse, err error)

ModifyLoginWhiteList This API is used to edit a allowlist rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) ModifyProVersionRenewFlag

func (c *Client) ModifyProVersionRenewFlag(request *ModifyProVersionRenewFlagRequest) (response *ModifyProVersionRenewFlagResponse, err error)

ModifyProVersionRenewFlag This API is used to modify the renewal flag of CWP Pro.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyProVersionRenewFlagWithContext

func (c *Client) ModifyProVersionRenewFlagWithContext(ctx context.Context, request *ModifyProVersionRenewFlagRequest) (response *ModifyProVersionRenewFlagResponse, err error)

ModifyProVersionRenewFlag This API is used to modify the renewal flag of CWP Pro.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) OpenProVersion

func (c *Client) OpenProVersion(request *OpenProVersionRequest) (response *OpenProVersionResponse, err error)

OpenProVersion This API is used to activate CWP Pro.

error code that may be returned:

FAILEDOPERATION_OPENPROVERSION = "FailedOperation.OpenProVersion"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) OpenProVersionWithContext

func (c *Client) OpenProVersionWithContext(ctx context.Context, request *OpenProVersionRequest) (response *OpenProVersionResponse, err error)

OpenProVersion This API is used to activate CWP Pro.

error code that may be returned:

FAILEDOPERATION_OPENPROVERSION = "FailedOperation.OpenProVersion"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALREQUEST = "InvalidParameter.IllegalRequest"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) RecoverMalwares

func (c *Client) RecoverMalwares(request *RecoverMalwaresRequest) (response *RecoverMalwaresResponse, err error)

RecoverMalwares This API is used to recover isolated trojan files in a batch.

error code that may be returned:

FAILEDOPERATION_RECOVER = "FailedOperation.Recover"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) RecoverMalwaresWithContext

func (c *Client) RecoverMalwaresWithContext(ctx context.Context, request *RecoverMalwaresRequest) (response *RecoverMalwaresResponse, err error)

RecoverMalwares This API is used to recover isolated trojan files in a batch.

error code that may be returned:

FAILEDOPERATION_RECOVER = "FailedOperation.Recover"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) RescanImpactedHost

func (c *Client) RescanImpactedHost(request *RescanImpactedHostRequest) (response *RescanImpactedHostResponse, err error)

RescanImpactedHost This API is used to re-scan for vulnerabilities.

error code that may be returned:

FAILEDOPERATION_AGENTOFFLINE = "FailedOperation.AgentOffline"
FAILEDOPERATION_RESCANVUL = "FailedOperation.RescanVul"
FAILEDOPERATION_RESCANVULPROCESSINUSE = "FailedOperation.RescanVulProcessInUse"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RescanImpactedHostWithContext

func (c *Client) RescanImpactedHostWithContext(ctx context.Context, request *RescanImpactedHostRequest) (response *RescanImpactedHostResponse, err error)

RescanImpactedHost This API is used to re-scan for vulnerabilities.

error code that may be returned:

FAILEDOPERATION_AGENTOFFLINE = "FailedOperation.AgentOffline"
FAILEDOPERATION_RESCANVUL = "FailedOperation.RescanVul"
FAILEDOPERATION_RESCANVULPROCESSINUSE = "FailedOperation.RescanVulProcessInUse"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SeparateMalwares

func (c *Client) SeparateMalwares(request *SeparateMalwaresRequest) (response *SeparateMalwaresResponse, err error)

SeparateMalwares This API is used to isolate trojans.

error code that may be returned:

FAILEDOPERATION_PARTSEPARATE = "FailedOperation.PartSeparate"
FAILEDOPERATION_SINGLESEPARATE = "FailedOperation.SingleSeparate"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) SeparateMalwaresWithContext

func (c *Client) SeparateMalwaresWithContext(ctx context.Context, request *SeparateMalwaresRequest) (response *SeparateMalwaresResponse, err error)

SeparateMalwares This API is used to isolate trojans.

error code that may be returned:

FAILEDOPERATION_PARTSEPARATE = "FailedOperation.PartSeparate"
FAILEDOPERATION_SINGLESEPARATE = "FailedOperation.SingleSeparate"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) TrustMaliciousRequest

func (c *Client) TrustMaliciousRequest(request *TrustMaliciousRequestRequest) (response *TrustMaliciousRequestResponse, err error)

TrustMaliciousRequest This API is used to trust a malicious request.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) TrustMaliciousRequestWithContext

func (c *Client) TrustMaliciousRequestWithContext(ctx context.Context, request *TrustMaliciousRequestRequest) (response *TrustMaliciousRequestResponse, err error)

TrustMaliciousRequest This API is used to trust a malicious request.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) TrustMalwares

func (c *Client) TrustMalwares(request *TrustMalwaresRequest) (response *TrustMalwaresResponse, err error)

TrustMalwares This API is used to trust an identified trojan file.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) TrustMalwaresWithContext

func (c *Client) TrustMalwaresWithContext(ctx context.Context, request *TrustMalwaresRequest) (response *TrustMalwaresResponse, err error)

TrustMalwares This API is used to trust an identified trojan file.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
LIMITEXCEEDED_AREAQUOTA = "LimitExceeded.AreaQuota"
MISSINGPARAMETER = "MissingParameter"

func (*Client) UntrustMaliciousRequest

func (c *Client) UntrustMaliciousRequest(request *UntrustMaliciousRequestRequest) (response *UntrustMaliciousRequestResponse, err error)

UntrustMaliciousRequest This API is used to untrust a malicious request.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UntrustMaliciousRequestWithContext

func (c *Client) UntrustMaliciousRequestWithContext(ctx context.Context, request *UntrustMaliciousRequestRequest) (response *UntrustMaliciousRequestResponse, err error)

UntrustMaliciousRequest This API is used to untrust a malicious request.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UntrustMalwares

func (c *Client) UntrustMalwares(request *UntrustMalwaresRequest) (response *UntrustMalwaresResponse, err error)

UntrustMalwares This API is used to untrust a trojan file.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

func (*Client) UntrustMalwaresWithContext

func (c *Client) UntrustMalwaresWithContext(ctx context.Context, request *UntrustMalwaresRequest) (response *UntrustMalwaresResponse, err error)

UntrustMalwares This API is used to untrust a trojan file.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDFORMAT = "InvalidParameter.InvalidFormat"
INVALIDPARAMETER_MISSINGPARAMETER = "InvalidParameter.MissingParameter"
INVALIDPARAMETER_PARSINGERROR = "InvalidParameter.ParsingError"

type CloseProVersionRequest

type CloseProVersionRequest struct {
	*tchttp.BaseRequest

	// Server `Uuid`.
	// `InstanceId` for BM or `Uuid` for CVM
	Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}

func NewCloseProVersionRequest

func NewCloseProVersionRequest() (request *CloseProVersionRequest)

func (*CloseProVersionRequest) FromJsonString

func (r *CloseProVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseProVersionRequest) ToJsonString

func (r *CloseProVersionRequest) ToJsonString() string

type CloseProVersionResponse

type CloseProVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCloseProVersionResponse

func NewCloseProVersionResponse() (response *CloseProVersionResponse)

func (*CloseProVersionResponse) FromJsonString

func (r *CloseProVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseProVersionResponse) ToJsonString

func (r *CloseProVersionResponse) ToJsonString() string

type Component

type Component struct {

	// Unique ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Component version number.
	ComponentVersion *string `json:"ComponentVersion,omitempty" name:"ComponentVersion"`

	// Component type.
	// <li>SYSTEM: system component</li>
	// <li>WEB: web component</li>
	ComponentType *string `json:"ComponentType,omitempty" name:"ComponentType"`

	// Component name.
	ComponentName *string `json:"ComponentName,omitempty" name:"ComponentName"`

	// Component detection update time.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type ComponentStatistics

type ComponentStatistics struct {

	// Component ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Number of servers.
	MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`

	// Component name.
	ComponentName *string `json:"ComponentName,omitempty" name:"ComponentName"`

	// Component type.
	// <li>WEB: web component</li>
	// <li>SYSTEM: system component</li>
	ComponentType *string `json:"ComponentType,omitempty" name:"ComponentType"`

	// Component description.
	Description *string `json:"Description,omitempty" name:"Description"`
}

type CreateOpenPortTaskRequest

type CreateOpenPortTaskRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewCreateOpenPortTaskRequest

func NewCreateOpenPortTaskRequest() (request *CreateOpenPortTaskRequest)

func (*CreateOpenPortTaskRequest) FromJsonString

func (r *CreateOpenPortTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateOpenPortTaskRequest) ToJsonString

func (r *CreateOpenPortTaskRequest) ToJsonString() string

type CreateOpenPortTaskResponse

type CreateOpenPortTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateOpenPortTaskResponse

func NewCreateOpenPortTaskResponse() (response *CreateOpenPortTaskResponse)

func (*CreateOpenPortTaskResponse) FromJsonString

func (r *CreateOpenPortTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateOpenPortTaskResponse) ToJsonString

func (r *CreateOpenPortTaskResponse) ToJsonString() string

type CreateProcessTaskRequest

type CreateProcessTaskRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewCreateProcessTaskRequest

func NewCreateProcessTaskRequest() (request *CreateProcessTaskRequest)

func (*CreateProcessTaskRequest) FromJsonString

func (r *CreateProcessTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProcessTaskRequest) ToJsonString

func (r *CreateProcessTaskRequest) ToJsonString() string

type CreateProcessTaskResponse

type CreateProcessTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateProcessTaskResponse

func NewCreateProcessTaskResponse() (response *CreateProcessTaskResponse)

func (*CreateProcessTaskResponse) FromJsonString

func (r *CreateProcessTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProcessTaskResponse) ToJsonString

func (r *CreateProcessTaskResponse) ToJsonString() string

type CreateUsualLoginPlacesRequest

type CreateUsualLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// CWP agent `UUID` array.
	Uuids []*string `json:"Uuids,omitempty" name:"Uuids"`

	// Login region information array.
	Places []*Place `json:"Places,omitempty" name:"Places"`
}

func NewCreateUsualLoginPlacesRequest

func NewCreateUsualLoginPlacesRequest() (request *CreateUsualLoginPlacesRequest)

func (*CreateUsualLoginPlacesRequest) FromJsonString

func (r *CreateUsualLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUsualLoginPlacesRequest) ToJsonString

func (r *CreateUsualLoginPlacesRequest) ToJsonString() string

type CreateUsualLoginPlacesResponse

type CreateUsualLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateUsualLoginPlacesResponse

func NewCreateUsualLoginPlacesResponse() (response *CreateUsualLoginPlacesResponse)

func (*CreateUsualLoginPlacesResponse) FromJsonString

func (r *CreateUsualLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUsualLoginPlacesResponse) ToJsonString

func (r *CreateUsualLoginPlacesResponse) ToJsonString() string

type DeleteBruteAttacksRequest

type DeleteBruteAttacksRequest struct {
	*tchttp.BaseRequest

	// Brute force attack event ID array.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteBruteAttacksRequest

func NewDeleteBruteAttacksRequest() (request *DeleteBruteAttacksRequest)

func (*DeleteBruteAttacksRequest) FromJsonString

func (r *DeleteBruteAttacksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBruteAttacksRequest) ToJsonString

func (r *DeleteBruteAttacksRequest) ToJsonString() string

type DeleteBruteAttacksResponse

type DeleteBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteBruteAttacksResponse

func NewDeleteBruteAttacksResponse() (response *DeleteBruteAttacksResponse)

func (*DeleteBruteAttacksResponse) FromJsonString

func (r *DeleteBruteAttacksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBruteAttacksResponse) ToJsonString

func (r *DeleteBruteAttacksResponse) ToJsonString() string

type DeleteLoginWhiteListRequest

type DeleteLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Whitelist ID
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteLoginWhiteListRequest

func NewDeleteLoginWhiteListRequest() (request *DeleteLoginWhiteListRequest)

func (*DeleteLoginWhiteListRequest) FromJsonString

func (r *DeleteLoginWhiteListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLoginWhiteListRequest) ToJsonString

func (r *DeleteLoginWhiteListRequest) ToJsonString() string

type DeleteLoginWhiteListResponse

type DeleteLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteLoginWhiteListResponse

func NewDeleteLoginWhiteListResponse() (response *DeleteLoginWhiteListResponse)

func (*DeleteLoginWhiteListResponse) FromJsonString

func (r *DeleteLoginWhiteListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLoginWhiteListResponse) ToJsonString

func (r *DeleteLoginWhiteListResponse) ToJsonString() string

type DeleteMachineRequest

type DeleteMachineRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewDeleteMachineRequest

func NewDeleteMachineRequest() (request *DeleteMachineRequest)

func (*DeleteMachineRequest) FromJsonString

func (r *DeleteMachineRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineRequest) ToJsonString

func (r *DeleteMachineRequest) ToJsonString() string

type DeleteMachineResponse

type DeleteMachineResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMachineResponse

func NewDeleteMachineResponse() (response *DeleteMachineResponse)

func (*DeleteMachineResponse) FromJsonString

func (r *DeleteMachineResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineResponse) ToJsonString

func (r *DeleteMachineResponse) ToJsonString() string

type DeleteMachineTagRequest

type DeleteMachineTagRequest struct {
	*tchttp.BaseRequest

	// Associated tag ID
	Rid *uint64 `json:"Rid,omitempty" name:"Rid"`
}

func NewDeleteMachineTagRequest

func NewDeleteMachineTagRequest() (request *DeleteMachineTagRequest)

func (*DeleteMachineTagRequest) FromJsonString

func (r *DeleteMachineTagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineTagRequest) ToJsonString

func (r *DeleteMachineTagRequest) ToJsonString() string

type DeleteMachineTagResponse

type DeleteMachineTagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMachineTagResponse

func NewDeleteMachineTagResponse() (response *DeleteMachineTagResponse)

func (*DeleteMachineTagResponse) FromJsonString

func (r *DeleteMachineTagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMachineTagResponse) ToJsonString

func (r *DeleteMachineTagResponse) ToJsonString() string

type DeleteMaliciousRequestsRequest

type DeleteMaliciousRequestsRequest struct {
	*tchttp.BaseRequest

	// Malicious request record ID array. Maximum value: 100 entries.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteMaliciousRequestsRequest

func NewDeleteMaliciousRequestsRequest() (request *DeleteMaliciousRequestsRequest)

func (*DeleteMaliciousRequestsRequest) FromJsonString

func (r *DeleteMaliciousRequestsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMaliciousRequestsRequest) ToJsonString

func (r *DeleteMaliciousRequestsRequest) ToJsonString() string

type DeleteMaliciousRequestsResponse

type DeleteMaliciousRequestsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMaliciousRequestsResponse

func NewDeleteMaliciousRequestsResponse() (response *DeleteMaliciousRequestsResponse)

func (*DeleteMaliciousRequestsResponse) FromJsonString

func (r *DeleteMaliciousRequestsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMaliciousRequestsResponse) ToJsonString

func (r *DeleteMaliciousRequestsResponse) ToJsonString() string

type DeleteMalwaresRequest

type DeleteMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan record ID array
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteMalwaresRequest

func NewDeleteMalwaresRequest() (request *DeleteMalwaresRequest)

func (*DeleteMalwaresRequest) FromJsonString

func (r *DeleteMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMalwaresRequest) ToJsonString

func (r *DeleteMalwaresRequest) ToJsonString() string

type DeleteMalwaresResponse

type DeleteMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMalwaresResponse

func NewDeleteMalwaresResponse() (response *DeleteMalwaresResponse)

func (*DeleteMalwaresResponse) FromJsonString

func (r *DeleteMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMalwaresResponse) ToJsonString

func (r *DeleteMalwaresResponse) ToJsonString() string

type DeleteNonlocalLoginPlacesRequest

type DeleteNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Unusual login location event ID array.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteNonlocalLoginPlacesRequest

func NewDeleteNonlocalLoginPlacesRequest() (request *DeleteNonlocalLoginPlacesRequest)

func (*DeleteNonlocalLoginPlacesRequest) FromJsonString

func (r *DeleteNonlocalLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteNonlocalLoginPlacesRequest) ToJsonString

func (r *DeleteNonlocalLoginPlacesRequest) ToJsonString() string

type DeleteNonlocalLoginPlacesResponse

type DeleteNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteNonlocalLoginPlacesResponse

func NewDeleteNonlocalLoginPlacesResponse() (response *DeleteNonlocalLoginPlacesResponse)

func (*DeleteNonlocalLoginPlacesResponse) FromJsonString

func (r *DeleteNonlocalLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteNonlocalLoginPlacesResponse) ToJsonString

func (r *DeleteNonlocalLoginPlacesResponse) ToJsonString() string

type DeleteUsualLoginPlacesRequest

type DeleteUsualLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Added usual login city ID array
	CityIds []*uint64 `json:"CityIds,omitempty" name:"CityIds"`
}

func NewDeleteUsualLoginPlacesRequest

func NewDeleteUsualLoginPlacesRequest() (request *DeleteUsualLoginPlacesRequest)

func (*DeleteUsualLoginPlacesRequest) FromJsonString

func (r *DeleteUsualLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsualLoginPlacesRequest) ToJsonString

func (r *DeleteUsualLoginPlacesRequest) ToJsonString() string

type DeleteUsualLoginPlacesResponse

type DeleteUsualLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteUsualLoginPlacesResponse

func NewDeleteUsualLoginPlacesResponse() (response *DeleteUsualLoginPlacesResponse)

func (*DeleteUsualLoginPlacesResponse) FromJsonString

func (r *DeleteUsualLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsualLoginPlacesResponse) ToJsonString

func (r *DeleteUsualLoginPlacesResponse) ToJsonString() string

type DescribeAccountStatisticsRequest

type DescribeAccountStatisticsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Username - String - Required: No - Account username</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeAccountStatisticsRequest

func NewDescribeAccountStatisticsRequest() (request *DescribeAccountStatisticsRequest)

func (*DescribeAccountStatisticsRequest) FromJsonString

func (r *DescribeAccountStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountStatisticsRequest) ToJsonString

func (r *DescribeAccountStatisticsRequest) ToJsonString() string

type DescribeAccountStatisticsResponse

type DescribeAccountStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in account statistics list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Account statistics list.
		AccountStatistics []*AccountStatistics `json:"AccountStatistics,omitempty" name:"AccountStatistics"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccountStatisticsResponse

func NewDescribeAccountStatisticsResponse() (response *DescribeAccountStatisticsResponse)

func (*DescribeAccountStatisticsResponse) FromJsonString

func (r *DescribeAccountStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountStatisticsResponse) ToJsonString

func (r *DescribeAccountStatisticsResponse) ToJsonString() string

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`. Either `Username` or `Uuid` must be specified. If `Uuid` is specified, it indicates to query the information list under the specified server.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// CWP agent `Uuid`. Either `Username` or `Uuid` must be specified. If `Username` is specified, it indicates to query the information list under the specified username.
	Username *string `json:"Username,omitempty" name:"Username"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Username - String - Required: No - Account name</li>
	// <li>Privilege - String - Required: No - Account name (ORDINARY: ordinary account, SUPPER: super admin account)</li>
	// <li>MachineIp - String - Required: No - Private IP of server</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeAccountsRequest

func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)

func (*DescribeAccountsRequest) FromJsonString

func (r *DescribeAccountsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountsRequest) ToJsonString

func (r *DescribeAccountsRequest) ToJsonString() string

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in account list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Account data list.
		Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccountsResponse

func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)

func (*DescribeAccountsResponse) FromJsonString

func (r *DescribeAccountsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountsResponse) ToJsonString

func (r *DescribeAccountsResponse) ToJsonString() string

type DescribeAgentVulsRequest

type DescribeAgentVulsRequest struct {
	*tchttp.BaseRequest

	// Vulnerability type.
	// <li>WEB: web application vulnerability</li>
	// <li>SYSTEM: system component vulnerability</li>
	// <li>BASELINE: security baseline</li>
	VulType *string `json:"VulType,omitempty" name:"VulType"`

	// Agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Status - String - Required: No - Filter by status (UN_OPERATED: to be processed, FIXED: fixed)
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeAgentVulsRequest

func NewDescribeAgentVulsRequest() (request *DescribeAgentVulsRequest)

func (*DescribeAgentVulsRequest) FromJsonString

func (r *DescribeAgentVulsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAgentVulsRequest) ToJsonString

func (r *DescribeAgentVulsRequest) ToJsonString() string

type DescribeAgentVulsResponse

type DescribeAgentVulsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Server vulnerability information
		AgentVuls []*AgentVul `json:"AgentVuls,omitempty" name:"AgentVuls"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAgentVulsResponse

func NewDescribeAgentVulsResponse() (response *DescribeAgentVulsResponse)

func (*DescribeAgentVulsResponse) FromJsonString

func (r *DescribeAgentVulsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAgentVulsResponse) ToJsonString

func (r *DescribeAgentVulsResponse) ToJsonString() string

type DescribeAlarmAttributeRequest

type DescribeAlarmAttributeRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeAlarmAttributeRequest

func NewDescribeAlarmAttributeRequest() (request *DescribeAlarmAttributeRequest)

func (*DescribeAlarmAttributeRequest) FromJsonString

func (r *DescribeAlarmAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlarmAttributeRequest) ToJsonString

func (r *DescribeAlarmAttributeRequest) ToJsonString() string

type DescribeAlarmAttributeResponse

type DescribeAlarmAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// CWP deactivation alarm status:
		// <li>OPEN: alarm enabled</li>
		// <li>CLOSE: alarm disabled</li>
		Offline *string `json:"Offline,omitempty" name:"Offline"`

		// Trojan discovery alarm status:
		// <li>OPEN: alarm enabled</li>
		// <li>CLOSE: alarm disabled</li>
		Malware *string `json:"Malware,omitempty" name:"Malware"`

		// Unusual login location discovery alarm status:
		// <li>OPEN: alarm enabled</li>
		// <li>CLOSE: alarm disabled</li>
		NonlocalLogin *string `json:"NonlocalLogin,omitempty" name:"NonlocalLogin"`

		// Brute force attack success alarm status:
		// <li>OPEN: alarm enabled</li>
		// <li>CLOSE: alarm disabled</li>
		CrackSuccess *string `json:"CrackSuccess,omitempty" name:"CrackSuccess"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAlarmAttributeResponse

func NewDescribeAlarmAttributeResponse() (response *DescribeAlarmAttributeResponse)

func (*DescribeAlarmAttributeResponse) FromJsonString

func (r *DescribeAlarmAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAlarmAttributeResponse) ToJsonString

func (r *DescribeAlarmAttributeResponse) ToJsonString() string

type DescribeBruteAttacksRequest

type DescribeBruteAttacksRequest struct {
	*tchttp.BaseRequest

	// Agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Keywords - String - Required: No - Query keywords</li>
	// <li>Status - String - Required: No - Query status (FAILED: brute force attack failed, SUCCESS: brute force attack succeeded)</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeBruteAttacksRequest

func NewDescribeBruteAttacksRequest() (request *DescribeBruteAttacksRequest)

func (*DescribeBruteAttacksRequest) FromJsonString

func (r *DescribeBruteAttacksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBruteAttacksRequest) ToJsonString

func (r *DescribeBruteAttacksRequest) ToJsonString() string

type DescribeBruteAttacksResponse

type DescribeBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of events
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Brute force attack event list
		BruteAttacks []*BruteAttack `json:"BruteAttacks,omitempty" name:"BruteAttacks"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeBruteAttacksResponse

func NewDescribeBruteAttacksResponse() (response *DescribeBruteAttacksResponse)

func (*DescribeBruteAttacksResponse) FromJsonString

func (r *DescribeBruteAttacksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBruteAttacksResponse) ToJsonString

func (r *DescribeBruteAttacksResponse) ToJsonString() string

type DescribeComponentInfoRequest

type DescribeComponentInfoRequest struct {
	*tchttp.BaseRequest

	// Component ID.
	ComponentId *uint64 `json:"ComponentId,omitempty" name:"ComponentId"`
}

func NewDescribeComponentInfoRequest

func NewDescribeComponentInfoRequest() (request *DescribeComponentInfoRequest)

func (*DescribeComponentInfoRequest) FromJsonString

func (r *DescribeComponentInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeComponentInfoRequest) ToJsonString

func (r *DescribeComponentInfoRequest) ToJsonString() string

type DescribeComponentInfoResponse

type DescribeComponentInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Component ID.
		Id *uint64 `json:"Id,omitempty" name:"Id"`

		// Component name.
		ComponentName *string `json:"ComponentName,omitempty" name:"ComponentName"`

		// Component type.
		// <li>WEB: web component</li>
		// <li>SYSTEM: system component</li>
		ComponentType *string `json:"ComponentType,omitempty" name:"ComponentType"`

		// Component's official website.
		Homepage *string `json:"Homepage,omitempty" name:"Homepage"`

		// Component description.
		Description *string `json:"Description,omitempty" name:"Description"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeComponentInfoResponse

func NewDescribeComponentInfoResponse() (response *DescribeComponentInfoResponse)

func (*DescribeComponentInfoResponse) FromJsonString

func (r *DescribeComponentInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeComponentInfoResponse) ToJsonString

func (r *DescribeComponentInfoResponse) ToJsonString() string

type DescribeComponentStatisticsRequest

type DescribeComponentStatisticsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// ComponentName - String - Required: No - Component name
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeComponentStatisticsRequest

func NewDescribeComponentStatisticsRequest() (request *DescribeComponentStatisticsRequest)

func (*DescribeComponentStatisticsRequest) FromJsonString

func (r *DescribeComponentStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeComponentStatisticsRequest) ToJsonString

func (r *DescribeComponentStatisticsRequest) ToJsonString() string

type DescribeComponentStatisticsResponse

type DescribeComponentStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in component statistics list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Component statistics list data array.
		ComponentStatistics []*ComponentStatistics `json:"ComponentStatistics,omitempty" name:"ComponentStatistics"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeComponentStatisticsResponse

func NewDescribeComponentStatisticsResponse() (response *DescribeComponentStatisticsResponse)

func (*DescribeComponentStatisticsResponse) FromJsonString

func (r *DescribeComponentStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeComponentStatisticsResponse) ToJsonString

func (r *DescribeComponentStatisticsResponse) ToJsonString() string

type DescribeComponentsRequest

type DescribeComponentsRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`. Either `Uuid` or `ComponentId` must be specified. If `Uuid` is specified, it indicates to query the information list under the specified server.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Component ID. Either `Uuid` or `ComponentId` must be specified. If `ComponentId` is specified, it indicates to query the information list under the specified component.
	ComponentId *uint64 `json:"ComponentId,omitempty" name:"ComponentId"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>ComponentVersion - String - Required: No - Component version number</li>
	// <li>MachineIp - String - Required: No - Private IP of server</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeComponentsRequest

func NewDescribeComponentsRequest() (request *DescribeComponentsRequest)

func (*DescribeComponentsRequest) FromJsonString

func (r *DescribeComponentsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeComponentsRequest) ToJsonString

func (r *DescribeComponentsRequest) ToJsonString() string

type DescribeComponentsResponse

type DescribeComponentsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in component list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Component list data.
		Components []*Component `json:"Components,omitempty" name:"Components"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeComponentsResponse

func NewDescribeComponentsResponse() (response *DescribeComponentsResponse)

func (*DescribeComponentsResponse) FromJsonString

func (r *DescribeComponentsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeComponentsResponse) ToJsonString

func (r *DescribeComponentsResponse) ToJsonString() string

type DescribeHistoryAccountsRequest

type DescribeHistoryAccountsRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Username - String - Required: No - Account name</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeHistoryAccountsRequest

func NewDescribeHistoryAccountsRequest() (request *DescribeHistoryAccountsRequest)

func (*DescribeHistoryAccountsRequest) FromJsonString

func (r *DescribeHistoryAccountsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHistoryAccountsRequest) ToJsonString

func (r *DescribeHistoryAccountsRequest) ToJsonString() string

type DescribeHistoryAccountsResponse

type DescribeHistoryAccountsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in account change history list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Account change history data array.
		HistoryAccounts []*HistoryAccount `json:"HistoryAccounts,omitempty" name:"HistoryAccounts"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeHistoryAccountsResponse

func NewDescribeHistoryAccountsResponse() (response *DescribeHistoryAccountsResponse)

func (*DescribeHistoryAccountsResponse) FromJsonString

func (r *DescribeHistoryAccountsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHistoryAccountsResponse) ToJsonString

func (r *DescribeHistoryAccountsResponse) ToJsonString() string

type DescribeImpactedHostsRequest

type DescribeImpactedHostsRequest struct {
	*tchttp.BaseRequest

	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitempty" name:"VulId"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Status - String - Required: No - Filter by status (UN_OPERATED: to be processed, FIXED: fixed)</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeImpactedHostsRequest

func NewDescribeImpactedHostsRequest() (request *DescribeImpactedHostsRequest)

func (*DescribeImpactedHostsRequest) FromJsonString

func (r *DescribeImpactedHostsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImpactedHostsRequest) ToJsonString

func (r *DescribeImpactedHostsRequest) ToJsonString() string

type DescribeImpactedHostsResponse

type DescribeImpactedHostsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Affected server list array
		ImpactedHosts []*ImpactedHost `json:"ImpactedHosts,omitempty" name:"ImpactedHosts"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeImpactedHostsResponse

func NewDescribeImpactedHostsResponse() (response *DescribeImpactedHostsResponse)

func (*DescribeImpactedHostsResponse) FromJsonString

func (r *DescribeImpactedHostsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImpactedHostsResponse) ToJsonString

func (r *DescribeImpactedHostsResponse) ToJsonString() string

type DescribeLoginWhiteListRequest

type DescribeLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Keywords - String - Required: No - Query keywords</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeLoginWhiteListRequest

func NewDescribeLoginWhiteListRequest() (request *DescribeLoginWhiteListRequest)

func (*DescribeLoginWhiteListRequest) FromJsonString

func (r *DescribeLoginWhiteListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLoginWhiteListRequest) ToJsonString

func (r *DescribeLoginWhiteListRequest) ToJsonString() string

type DescribeLoginWhiteListResponse

type DescribeLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Login allowlist array
		LoginWhiteLists []*LoginWhiteLists `json:"LoginWhiteLists,omitempty" name:"LoginWhiteLists"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeLoginWhiteListResponse

func NewDescribeLoginWhiteListResponse() (response *DescribeLoginWhiteListResponse)

func (*DescribeLoginWhiteListResponse) FromJsonString

func (r *DescribeLoginWhiteListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLoginWhiteListResponse) ToJsonString

func (r *DescribeLoginWhiteListResponse) ToJsonString() string

type DescribeMachineInfoRequest

type DescribeMachineInfoRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewDescribeMachineInfoRequest

func NewDescribeMachineInfoRequest() (request *DescribeMachineInfoRequest)

func (*DescribeMachineInfoRequest) FromJsonString

func (r *DescribeMachineInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachineInfoRequest) ToJsonString

func (r *DescribeMachineInfoRequest) ToJsonString() string

type DescribeMachineInfoResponse

type DescribeMachineInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Server IP.
		MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

		// Days under protection by CWP
		ProtectDays *uint64 `json:"ProtectDays,omitempty" name:"ProtectDays"`

		// OS.
		MachineOs *string `json:"MachineOs,omitempty" name:"MachineOs"`

		// Server name.
		MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

		// Status.
		// <li>ONLINE: online</li>
		// <li>OFFLINE: offline</li>
		MachineStatus *string `json:"MachineStatus,omitempty" name:"MachineStatus"`

		// Unique ID of CVM or BM instance.
		InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

		// Public IP of server.
		MachineWanIp *string `json:"MachineWanIp,omitempty" name:"MachineWanIp"`

		// CVM or BM instance `Uuid`.
		Quuid *string `json:"Quuid,omitempty" name:"Quuid"`

		// CWP agent `Uuid`.
		Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

		// Whether CWP Pro is activated.
		// <li>true: yes</li>
		// <li>false: no</li>
		IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`

		// CWP Pro activation time.
		ProVersionOpenDate *string `json:"ProVersionOpenDate,omitempty" name:"ProVersionOpenDate"`

		// Server type.
		// <li>CVM: CVM</li>
		// <li>BM: BM</li>
		MachineType *string `json:"MachineType,omitempty" name:"MachineType"`

		// Server region, such as ap-guangzhou or ap-shanghai
		MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`

		// Server status.
		// <li>POSTPAY: post-paid, i.e., pay-as-you-go </li>
		PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

		// Number of trojans left for free scan.
		FreeMalwaresLeft *uint64 `json:"FreeMalwaresLeft,omitempty" name:"FreeMalwaresLeft"`

		// Number of vulnerability left for free scan.
		FreeVulsLeft *uint64 `json:"FreeVulsLeft,omitempty" name:"FreeVulsLeft"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMachineInfoResponse

func NewDescribeMachineInfoResponse() (response *DescribeMachineInfoResponse)

func (*DescribeMachineInfoResponse) FromJsonString

func (r *DescribeMachineInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachineInfoResponse) ToJsonString

func (r *DescribeMachineInfoResponse) ToJsonString() string

type DescribeMachinesRequest

type DescribeMachinesRequest struct {
	*tchttp.BaseRequest

	// Server type.
	// <li>CVM: CVM</li>
	// <li>BM: BM</li>
	MachineType *string `json:"MachineType,omitempty" name:"MachineType"`

	// Server region, such as ap-guangzhou or ap-shanghai
	MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Keywords - String - Required: no - Query keywords </li>
	// <li>Status - String - Required: no - CWP client status (valid values: OFFLINE, ONLINE, UNINSTALLED)</li>
	// <li>Version - String - Required: no - Current CWP version (valid values: PRO_VERSION, BASIC_VERSION)</li>
	// Each filter can have only one value but does not support "OR" queries with multiple values
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeMachinesRequest

func NewDescribeMachinesRequest() (request *DescribeMachinesRequest)

func (*DescribeMachinesRequest) FromJsonString

func (r *DescribeMachinesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachinesRequest) ToJsonString

func (r *DescribeMachinesRequest) ToJsonString() string

type DescribeMachinesResponse

type DescribeMachinesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Server list
		Machines []*Machine `json:"Machines,omitempty" name:"Machines"`

		// Number of servers
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMachinesResponse

func NewDescribeMachinesResponse() (response *DescribeMachinesResponse)

func (*DescribeMachinesResponse) FromJsonString

func (r *DescribeMachinesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMachinesResponse) ToJsonString

func (r *DescribeMachinesResponse) ToJsonString() string

type DescribeMaliciousRequestsRequest

type DescribeMaliciousRequestsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Status - String - Required: No - Filter by status (UN_OPERATED: to be processed, TRUSTED: trusted, UN_TRUSTED: untrusted)</li>
	// <li>Domain - String - Required: No - Malicious request domain name</li>
	// <li>MachineIp - String - Required: No - Private IP of server</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewDescribeMaliciousRequestsRequest

func NewDescribeMaliciousRequestsRequest() (request *DescribeMaliciousRequestsRequest)

func (*DescribeMaliciousRequestsRequest) FromJsonString

func (r *DescribeMaliciousRequestsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMaliciousRequestsRequest) ToJsonString

func (r *DescribeMaliciousRequestsRequest) ToJsonString() string

type DescribeMaliciousRequestsResponse

type DescribeMaliciousRequestsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Malicious request record array.
		MaliciousRequests []*MaliciousRequest `json:"MaliciousRequests,omitempty" name:"MaliciousRequests"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMaliciousRequestsResponse

func NewDescribeMaliciousRequestsResponse() (response *DescribeMaliciousRequestsResponse)

func (*DescribeMaliciousRequestsResponse) FromJsonString

func (r *DescribeMaliciousRequestsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMaliciousRequestsResponse) ToJsonString

func (r *DescribeMaliciousRequestsResponse) ToJsonString() string

type DescribeMalwaresRequest

type DescribeMalwaresRequest struct {
	*tchttp.BaseRequest

	// Agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Keywords - String - Required: No - Query keywords</li>
	// <li>Status - String - Required: No - Trojan status (UN_OPERATED: not processed, SEGREGATED: isolated, TRUSTED: trusted)</li>
	// Each filter supports only one value. Query with multiple values in "OR" relationship is not supported for the time being.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeMalwaresRequest

func NewDescribeMalwaresRequest() (request *DescribeMalwaresRequest)

func (*DescribeMalwaresRequest) FromJsonString

func (r *DescribeMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMalwaresRequest) ToJsonString

func (r *DescribeMalwaresRequest) ToJsonString() string

type DescribeMalwaresResponse

type DescribeMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of trojans.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Malware array.
		Malwares []*Malware `json:"Malwares,omitempty" name:"Malwares"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMalwaresResponse

func NewDescribeMalwaresResponse() (response *DescribeMalwaresResponse)

func (*DescribeMalwaresResponse) FromJsonString

func (r *DescribeMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMalwaresResponse) ToJsonString

func (r *DescribeMalwaresResponse) ToJsonString() string

type DescribeNonlocalLoginPlacesRequest

type DescribeNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Keywords - String - Required: No - Query keywords</li>
	// <li>Status - String - Required: No - Login status (NON_LOCAL_LOGIN: unusual login location, NORMAL_LOGIN: intended login)</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeNonlocalLoginPlacesRequest

func NewDescribeNonlocalLoginPlacesRequest() (request *DescribeNonlocalLoginPlacesRequest)

func (*DescribeNonlocalLoginPlacesRequest) FromJsonString

func (r *DescribeNonlocalLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNonlocalLoginPlacesRequest) ToJsonString

func (r *DescribeNonlocalLoginPlacesRequest) ToJsonString() string

type DescribeNonlocalLoginPlacesResponse

type DescribeNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Unusual login location information array.
		NonLocalLoginPlaces []*NonLocalLoginPlace `json:"NonLocalLoginPlaces,omitempty" name:"NonLocalLoginPlaces"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeNonlocalLoginPlacesResponse

func NewDescribeNonlocalLoginPlacesResponse() (response *DescribeNonlocalLoginPlacesResponse)

func (*DescribeNonlocalLoginPlacesResponse) FromJsonString

func (r *DescribeNonlocalLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeNonlocalLoginPlacesResponse) ToJsonString

func (r *DescribeNonlocalLoginPlacesResponse) ToJsonString() string

type DescribeOpenPortStatisticsRequest

type DescribeOpenPortStatisticsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Port - Uint64 - Required: No - Port number</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeOpenPortStatisticsRequest

func NewDescribeOpenPortStatisticsRequest() (request *DescribeOpenPortStatisticsRequest)

func (*DescribeOpenPortStatisticsRequest) FromJsonString

func (r *DescribeOpenPortStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOpenPortStatisticsRequest) ToJsonString

func (r *DescribeOpenPortStatisticsRequest) ToJsonString() string

type DescribeOpenPortStatisticsResponse

type DescribeOpenPortStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in port statistics list
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Port statistics list
		OpenPortStatistics []*OpenPortStatistics `json:"OpenPortStatistics,omitempty" name:"OpenPortStatistics"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeOpenPortStatisticsResponse

func NewDescribeOpenPortStatisticsResponse() (response *DescribeOpenPortStatisticsResponse)

func (*DescribeOpenPortStatisticsResponse) FromJsonString

func (r *DescribeOpenPortStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOpenPortStatisticsResponse) ToJsonString

func (r *DescribeOpenPortStatisticsResponse) ToJsonString() string

type DescribeOpenPortTaskStatusRequest

type DescribeOpenPortTaskStatusRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewDescribeOpenPortTaskStatusRequest

func NewDescribeOpenPortTaskStatusRequest() (request *DescribeOpenPortTaskStatusRequest)

func (*DescribeOpenPortTaskStatusRequest) FromJsonString

func (r *DescribeOpenPortTaskStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOpenPortTaskStatusRequest) ToJsonString

func (r *DescribeOpenPortTaskStatusRequest) ToJsonString() string

type DescribeOpenPortTaskStatusResponse

type DescribeOpenPortTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task status.
		// <li>COMPLETE: completed (at this point, you can call the `DescribeOpenPorts` API to get the list of real-time processes) </li>
		// <li>AGENT_OFFLINE: CWP agent is offline</li>
		// <li>COLLECTING: getting port</li>
		// <li>FAILED: failed to get processes</li>
		Status *string `json:"Status,omitempty" name:"Status"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeOpenPortTaskStatusResponse

func NewDescribeOpenPortTaskStatusResponse() (response *DescribeOpenPortTaskStatusResponse)

func (*DescribeOpenPortTaskStatusResponse) FromJsonString

func (r *DescribeOpenPortTaskStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOpenPortTaskStatusResponse) ToJsonString

func (r *DescribeOpenPortTaskStatusResponse) ToJsonString() string

type DescribeOpenPortsRequest

type DescribeOpenPortsRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`. Either `Port` or `Uuid` must be specified. If `Uuid` is specified, it indicates to query the information list under the specified server.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Open port number. Either `Port` or `Uuid` must be specified. If `Port` is specified, it indicates to query the information list under the specified port.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Port - Uint64 - Required: No - Port number</li>
	// <li>ProcessName - String - Required: No - Process name</li>
	// <li>MachineIp - String - Required: No - Private IP of server</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeOpenPortsRequest

func NewDescribeOpenPortsRequest() (request *DescribeOpenPortsRequest)

func (*DescribeOpenPortsRequest) FromJsonString

func (r *DescribeOpenPortsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOpenPortsRequest) ToJsonString

func (r *DescribeOpenPortsRequest) ToJsonString() string

type DescribeOpenPortsResponse

type DescribeOpenPortsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in port list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Port list.
		OpenPorts []*OpenPort `json:"OpenPorts,omitempty" name:"OpenPorts"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeOpenPortsResponse

func NewDescribeOpenPortsResponse() (response *DescribeOpenPortsResponse)

func (*DescribeOpenPortsResponse) FromJsonString

func (r *DescribeOpenPortsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOpenPortsResponse) ToJsonString

func (r *DescribeOpenPortsResponse) ToJsonString() string

type DescribeOverviewStatisticsRequest

type DescribeOverviewStatisticsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeOverviewStatisticsRequest

func NewDescribeOverviewStatisticsRequest() (request *DescribeOverviewStatisticsRequest)

func (*DescribeOverviewStatisticsRequest) FromJsonString

func (r *DescribeOverviewStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOverviewStatisticsRequest) ToJsonString

func (r *DescribeOverviewStatisticsRequest) ToJsonString() string

type DescribeOverviewStatisticsResponse

type DescribeOverviewStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of online servers.
		OnlineMachineNum *uint64 `json:"OnlineMachineNum,omitempty" name:"OnlineMachineNum"`

		// Number of servers activated CWP Pro.
		ProVersionMachineNum *uint64 `json:"ProVersionMachineNum,omitempty" name:"ProVersionMachineNum"`

		// Number of trojan files.
		MalwareNum *uint64 `json:"MalwareNum,omitempty" name:"MalwareNum"`

		// Number of unusual login locations.
		NonlocalLoginNum *uint64 `json:"NonlocalLoginNum,omitempty" name:"NonlocalLoginNum"`

		// Number of successful brute force attacks.
		BruteAttackSuccessNum *uint64 `json:"BruteAttackSuccessNum,omitempty" name:"BruteAttackSuccessNum"`

		// Number of vulnerabilities.
		VulNum *uint64 `json:"VulNum,omitempty" name:"VulNum"`

		// Security baseline number
		BaseLineNum *uint64 `json:"BaseLineNum,omitempty" name:"BaseLineNum"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeOverviewStatisticsResponse

func NewDescribeOverviewStatisticsResponse() (response *DescribeOverviewStatisticsResponse)

func (*DescribeOverviewStatisticsResponse) FromJsonString

func (r *DescribeOverviewStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOverviewStatisticsResponse) ToJsonString

func (r *DescribeOverviewStatisticsResponse) ToJsonString() string

type DescribeProVersionInfoRequest

type DescribeProVersionInfoRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeProVersionInfoRequest

func NewDescribeProVersionInfoRequest() (request *DescribeProVersionInfoRequest)

func (*DescribeProVersionInfoRequest) FromJsonString

func (r *DescribeProVersionInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProVersionInfoRequest) ToJsonString

func (r *DescribeProVersionInfoRequest) ToJsonString() string

type DescribeProVersionInfoResponse

type DescribeProVersionInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Fee on yesterday (pay-as-you-go)
		PostPayCost *uint64 `json:"PostPayCost,omitempty" name:"PostPayCost"`

		// Whether CWP Pro is activated for new servers
		IsAutoOpenProVersion *bool `json:"IsAutoOpenProVersion,omitempty" name:"IsAutoOpenProVersion"`

		// Number of servers on CWP Pro
		ProVersionNum *uint64 `json:"ProVersionNum,omitempty" name:"ProVersionNum"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProVersionInfoResponse

func NewDescribeProVersionInfoResponse() (response *DescribeProVersionInfoResponse)

func (*DescribeProVersionInfoResponse) FromJsonString

func (r *DescribeProVersionInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProVersionInfoResponse) ToJsonString

func (r *DescribeProVersionInfoResponse) ToJsonString() string

type DescribeProcessStatisticsRequest

type DescribeProcessStatisticsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>ProcessName - String - Required: No - Process name</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeProcessStatisticsRequest

func NewDescribeProcessStatisticsRequest() (request *DescribeProcessStatisticsRequest)

func (*DescribeProcessStatisticsRequest) FromJsonString

func (r *DescribeProcessStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcessStatisticsRequest) ToJsonString

func (r *DescribeProcessStatisticsRequest) ToJsonString() string

type DescribeProcessStatisticsResponse

type DescribeProcessStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in process statistics list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Process statistics list array.
		ProcessStatistics []*ProcessStatistics `json:"ProcessStatistics,omitempty" name:"ProcessStatistics"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProcessStatisticsResponse

func NewDescribeProcessStatisticsResponse() (response *DescribeProcessStatisticsResponse)

func (*DescribeProcessStatisticsResponse) FromJsonString

func (r *DescribeProcessStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcessStatisticsResponse) ToJsonString

func (r *DescribeProcessStatisticsResponse) ToJsonString() string

type DescribeProcessTaskStatusRequest

type DescribeProcessTaskStatusRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewDescribeProcessTaskStatusRequest

func NewDescribeProcessTaskStatusRequest() (request *DescribeProcessTaskStatusRequest)

func (*DescribeProcessTaskStatusRequest) FromJsonString

func (r *DescribeProcessTaskStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcessTaskStatusRequest) ToJsonString

func (r *DescribeProcessTaskStatusRequest) ToJsonString() string

type DescribeProcessTaskStatusResponse

type DescribeProcessTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task status.
		// <li>COMPLETE: completed (at this point, you can call the `DescribeProcesses` API to get the list of real-time processes)</li>
		// <li>AGENT_OFFLINE: CWP agent is offline</li>
		// <li>COLLECTING: getting process</li>
		// <li>FAILED: failed to get processes</li>
		Status *string `json:"Status,omitempty" name:"Status"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProcessTaskStatusResponse

func NewDescribeProcessTaskStatusResponse() (response *DescribeProcessTaskStatusResponse)

func (*DescribeProcessTaskStatusResponse) FromJsonString

func (r *DescribeProcessTaskStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcessTaskStatusResponse) ToJsonString

func (r *DescribeProcessTaskStatusResponse) ToJsonString() string

type DescribeProcessesRequest

type DescribeProcessesRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`. Either `Uuid` or `ProcessName` must be specified. If `Uuid` is specified, it indicates to query the information list under the specified server.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Process name. Either `Uuid` or `ProcessName` must be specified. If `ProcessName` is specified, it indicates to query the information list under the specified process.
	ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>ProcessName - String - Required: No - Process name</li>
	// <li>MachineIp - String - Required: No - Private IP of server</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeProcessesRequest

func NewDescribeProcessesRequest() (request *DescribeProcessesRequest)

func (*DescribeProcessesRequest) FromJsonString

func (r *DescribeProcessesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcessesRequest) ToJsonString

func (r *DescribeProcessesRequest) ToJsonString() string

type DescribeProcessesResponse

type DescribeProcessesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of records in process list.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Process list data array.
		Processes []*Process `json:"Processes,omitempty" name:"Processes"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProcessesResponse

func NewDescribeProcessesResponse() (response *DescribeProcessesResponse)

func (*DescribeProcessesResponse) FromJsonString

func (r *DescribeProcessesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProcessesResponse) ToJsonString

func (r *DescribeProcessesResponse) ToJsonString() string

type DescribeSecurityDynamicsRequest

type DescribeSecurityDynamicsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeSecurityDynamicsRequest

func NewDescribeSecurityDynamicsRequest() (request *DescribeSecurityDynamicsRequest)

func (*DescribeSecurityDynamicsRequest) FromJsonString

func (r *DescribeSecurityDynamicsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityDynamicsRequest) ToJsonString

func (r *DescribeSecurityDynamicsRequest) ToJsonString() string

type DescribeSecurityDynamicsResponse

type DescribeSecurityDynamicsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Security event message array.
		SecurityDynamics []*SecurityDynamic `json:"SecurityDynamics,omitempty" name:"SecurityDynamics"`

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityDynamicsResponse

func NewDescribeSecurityDynamicsResponse() (response *DescribeSecurityDynamicsResponse)

func (*DescribeSecurityDynamicsResponse) FromJsonString

func (r *DescribeSecurityDynamicsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityDynamicsResponse) ToJsonString

func (r *DescribeSecurityDynamicsResponse) ToJsonString() string

type DescribeSecurityTrendsRequest

type DescribeSecurityTrendsRequest struct {
	*tchttp.BaseRequest

	// Start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// End time.
	EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}

func NewDescribeSecurityTrendsRequest

func NewDescribeSecurityTrendsRequest() (request *DescribeSecurityTrendsRequest)

func (*DescribeSecurityTrendsRequest) FromJsonString

func (r *DescribeSecurityTrendsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityTrendsRequest) ToJsonString

func (r *DescribeSecurityTrendsRequest) ToJsonString() string

type DescribeSecurityTrendsResponse

type DescribeSecurityTrendsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Trojan event statistics array.
		Malwares []*SecurityTrend `json:"Malwares,omitempty" name:"Malwares"`

		// Unusual login location event statistics array.
		NonLocalLoginPlaces []*SecurityTrend `json:"NonLocalLoginPlaces,omitempty" name:"NonLocalLoginPlaces"`

		// Brute force attack event statistics array.
		BruteAttacks []*SecurityTrend `json:"BruteAttacks,omitempty" name:"BruteAttacks"`

		// Vulnerability statistics array.
		Vuls []*SecurityTrend `json:"Vuls,omitempty" name:"Vuls"`

		// Baseline statistics array.
		BaseLines []*SecurityTrend `json:"BaseLines,omitempty" name:"BaseLines"`

		// Statistics array of malicious requests.
		MaliciousRequests []*SecurityTrend `json:"MaliciousRequests,omitempty" name:"MaliciousRequests"`

		// Statistics array of high-risk commands.
		HighRiskBashs []*SecurityTrend `json:"HighRiskBashs,omitempty" name:"HighRiskBashs"`

		// Statistics array of reverse shells.
		ReverseShells []*SecurityTrend `json:"ReverseShells,omitempty" name:"ReverseShells"`

		// Statistics array of local privilege escalations.
		PrivilegeEscalations []*SecurityTrend `json:"PrivilegeEscalations,omitempty" name:"PrivilegeEscalations"`

		// Statistics array of network attacks.
		CyberAttacks []*SecurityTrend `json:"CyberAttacks,omitempty" name:"CyberAttacks"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityTrendsResponse

func NewDescribeSecurityTrendsResponse() (response *DescribeSecurityTrendsResponse)

func (*DescribeSecurityTrendsResponse) FromJsonString

func (r *DescribeSecurityTrendsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityTrendsResponse) ToJsonString

func (r *DescribeSecurityTrendsResponse) ToJsonString() string

type DescribeTagMachinesRequest

type DescribeTagMachinesRequest struct {
	*tchttp.BaseRequest

	// Tag ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewDescribeTagMachinesRequest

func NewDescribeTagMachinesRequest() (request *DescribeTagMachinesRequest)

func (*DescribeTagMachinesRequest) FromJsonString

func (r *DescribeTagMachinesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagMachinesRequest) ToJsonString

func (r *DescribeTagMachinesRequest) ToJsonString() string

type DescribeTagMachinesResponse

type DescribeTagMachinesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List data
		List []*TagMachine `json:"List,omitempty" name:"List"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTagMachinesResponse

func NewDescribeTagMachinesResponse() (response *DescribeTagMachinesResponse)

func (*DescribeTagMachinesResponse) FromJsonString

func (r *DescribeTagMachinesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagMachinesResponse) ToJsonString

func (r *DescribeTagMachinesResponse) ToJsonString() string

type DescribeTagsRequest

type DescribeTagsRequest struct {
	*tchttp.BaseRequest

	// CVM instance type.
	// <li>CVM: CVM</li>
	// <li>BM: CPM</li>
	MachineType *string `json:"MachineType,omitempty" name:"MachineType"`

	// Server region, such as `ap-guangzhou` and `ap-shanghai`
	MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`
}

func NewDescribeTagsRequest

func NewDescribeTagsRequest() (request *DescribeTagsRequest)

func (*DescribeTagsRequest) FromJsonString

func (r *DescribeTagsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagsRequest) ToJsonString

func (r *DescribeTagsRequest) ToJsonString() string

type DescribeTagsResponse

type DescribeTagsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List information
		List []*Tag `json:"List,omitempty" name:"List"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTagsResponse

func NewDescribeTagsResponse() (response *DescribeTagsResponse)

func (*DescribeTagsResponse) FromJsonString

func (r *DescribeTagsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTagsResponse) ToJsonString

func (r *DescribeTagsResponse) ToJsonString() string

type DescribeUsualLoginPlacesRequest

type DescribeUsualLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// CWP agent `UUID`
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

func NewDescribeUsualLoginPlacesRequest

func NewDescribeUsualLoginPlacesRequest() (request *DescribeUsualLoginPlacesRequest)

func (*DescribeUsualLoginPlacesRequest) FromJsonString

func (r *DescribeUsualLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsualLoginPlacesRequest) ToJsonString

func (r *DescribeUsualLoginPlacesRequest) ToJsonString() string

type DescribeUsualLoginPlacesResponse

type DescribeUsualLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Usual login location array
		UsualLoginPlaces []*UsualPlace `json:"UsualLoginPlaces,omitempty" name:"UsualLoginPlaces"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeUsualLoginPlacesResponse

func NewDescribeUsualLoginPlacesResponse() (response *DescribeUsualLoginPlacesResponse)

func (*DescribeUsualLoginPlacesResponse) FromJsonString

func (r *DescribeUsualLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsualLoginPlacesResponse) ToJsonString

func (r *DescribeUsualLoginPlacesResponse) ToJsonString() string

type DescribeVulInfoRequest

type DescribeVulInfoRequest struct {
	*tchttp.BaseRequest

	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
}

func NewDescribeVulInfoRequest

func NewDescribeVulInfoRequest() (request *DescribeVulInfoRequest)

func (*DescribeVulInfoRequest) FromJsonString

func (r *DescribeVulInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVulInfoRequest) ToJsonString

func (r *DescribeVulInfoRequest) ToJsonString() string

type DescribeVulInfoResponse

type DescribeVulInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Vulnerability category ID.
		VulId *uint64 `json:"VulId,omitempty" name:"VulId"`

		// Vulnerability name.
		VulName *string `json:"VulName,omitempty" name:"VulName"`

		// Vulnerability level.
		VulLevel *string `json:"VulLevel,omitempty" name:"VulLevel"`

		// Vulnerability type.
		VulType *string `json:"VulType,omitempty" name:"VulType"`

		// Vulnerability description.
		Description *string `json:"Description,omitempty" name:"Description"`

		// Repair plan.
		RepairPlan *string `json:"RepairPlan,omitempty" name:"RepairPlan"`

		// Vulnerability CVE.
		CveId *string `json:"CveId,omitempty" name:"CveId"`

		// Reference link.
		Reference *string `json:"Reference,omitempty" name:"Reference"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeVulInfoResponse

func NewDescribeVulInfoResponse() (response *DescribeVulInfoResponse)

func (*DescribeVulInfoResponse) FromJsonString

func (r *DescribeVulInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVulInfoResponse) ToJsonString

func (r *DescribeVulInfoResponse) ToJsonString() string

type DescribeVulScanResultRequest

type DescribeVulScanResultRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeVulScanResultRequest

func NewDescribeVulScanResultRequest() (request *DescribeVulScanResultRequest)

func (*DescribeVulScanResultRequest) FromJsonString

func (r *DescribeVulScanResultRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVulScanResultRequest) ToJsonString

func (r *DescribeVulScanResultRequest) ToJsonString() string

type DescribeVulScanResultResponse

type DescribeVulScanResultResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of vulnerabilities.
		VulNum *uint64 `json:"VulNum,omitempty" name:"VulNum"`

		// Number of servers activated CWP Pro
		ProVersionNum *uint64 `json:"ProVersionNum,omitempty" name:"ProVersionNum"`

		// Number of affected activated CWP Pro.
		ImpactedHostNum *uint64 `json:"ImpactedHostNum,omitempty" name:"ImpactedHostNum"`

		// Total number of servers.
		HostNum *uint64 `json:"HostNum,omitempty" name:"HostNum"`

		// Number of servers on CWP Basic.
		BasicVersionNum *uint64 `json:"BasicVersionNum,omitempty" name:"BasicVersionNum"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeVulScanResultResponse

func NewDescribeVulScanResultResponse() (response *DescribeVulScanResultResponse)

func (*DescribeVulScanResultResponse) FromJsonString

func (r *DescribeVulScanResultResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVulScanResultResponse) ToJsonString

func (r *DescribeVulScanResultResponse) ToJsonString() string

type DescribeVulsRequest

type DescribeVulsRequest struct {
	*tchttp.BaseRequest

	// Vulnerability type.
	// <li>WEB: web application vulnerability</li>
	// <li>SYSTEM: system component vulnerability</li>
	// <li>BASELINE: security baseline</li>
	VulType *string `json:"VulType,omitempty" name:"VulType"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Filter.
	// <li>Status - String - Required: No - Filter by status (UN_OPERATED: to be processed, FIXED: fixed)
	//
	// Only one value is allowed for the `Status` filter, and "OR" logic is not supported.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeVulsRequest

func NewDescribeVulsRequest() (request *DescribeVulsRequest)

func (*DescribeVulsRequest) FromJsonString

func (r *DescribeVulsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVulsRequest) ToJsonString

func (r *DescribeVulsRequest) ToJsonString() string

type DescribeVulsResponse

type DescribeVulsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of vulnerabilities.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Vulnerability list array.
		Vuls []*Vul `json:"Vuls,omitempty" name:"Vuls"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeVulsResponse

func NewDescribeVulsResponse() (response *DescribeVulsResponse)

func (*DescribeVulsResponse) FromJsonString

func (r *DescribeVulsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVulsResponse) ToJsonString

func (r *DescribeVulsResponse) ToJsonString() string

type DescribeWeeklyReportBruteAttacksRequest

type DescribeWeeklyReportBruteAttacksRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeWeeklyReportBruteAttacksRequest

func NewDescribeWeeklyReportBruteAttacksRequest() (request *DescribeWeeklyReportBruteAttacksRequest)

func (*DescribeWeeklyReportBruteAttacksRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportBruteAttacksRequest) ToJsonString

type DescribeWeeklyReportBruteAttacksResponse

type DescribeWeeklyReportBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Brute force attack array in weekly CWP Pro report.
		WeeklyReportBruteAttacks []*WeeklyReportBruteAttack `json:"WeeklyReportBruteAttacks,omitempty" name:"WeeklyReportBruteAttacks"`

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWeeklyReportBruteAttacksResponse

func NewDescribeWeeklyReportBruteAttacksResponse() (response *DescribeWeeklyReportBruteAttacksResponse)

func (*DescribeWeeklyReportBruteAttacksResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportBruteAttacksResponse) ToJsonString

type DescribeWeeklyReportInfoRequest

type DescribeWeeklyReportInfoRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
}

func NewDescribeWeeklyReportInfoRequest

func NewDescribeWeeklyReportInfoRequest() (request *DescribeWeeklyReportInfoRequest)

func (*DescribeWeeklyReportInfoRequest) FromJsonString

func (r *DescribeWeeklyReportInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportInfoRequest) ToJsonString

func (r *DescribeWeeklyReportInfoRequest) ToJsonString() string

type DescribeWeeklyReportInfoResponse

type DescribeWeeklyReportInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Account owner name.
		CompanyName *string `json:"CompanyName,omitempty" name:"CompanyName"`

		// Total number of servers.
		MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`

		// Number of online CWP agents
		OnlineMachineNum *uint64 `json:"OnlineMachineNum,omitempty" name:"OnlineMachineNum"`

		// Number of offline CWP agents.
		OfflineMachineNum *uint64 `json:"OfflineMachineNum,omitempty" name:"OfflineMachineNum"`

		// Number of servers on CWP Pro.
		ProVersionMachineNum *uint64 `json:"ProVersionMachineNum,omitempty" name:"ProVersionMachineNum"`

		// Weekly report start time
		BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

		// Weekly report end time
		EndDate *string `json:"EndDate,omitempty" name:"EndDate"`

		// Security level
		// <li>HIGH: high</li>
		// <li>MIDDLE: medium</li>
		// <li>LOW: low</li>
		Level *string `json:"Level,omitempty" name:"Level"`

		// Number of trojan records.
		MalwareNum *uint64 `json:"MalwareNum,omitempty" name:"MalwareNum"`

		// Number of unusual login locations.
		NonlocalLoginNum *uint64 `json:"NonlocalLoginNum,omitempty" name:"NonlocalLoginNum"`

		// Number of successful brute force attacks.
		BruteAttackSuccessNum *uint64 `json:"BruteAttackSuccessNum,omitempty" name:"BruteAttackSuccessNum"`

		// Number of vulnerabilities.
		VulNum *uint64 `json:"VulNum,omitempty" name:"VulNum"`

		// Download address for exported file.
		DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWeeklyReportInfoResponse

func NewDescribeWeeklyReportInfoResponse() (response *DescribeWeeklyReportInfoResponse)

func (*DescribeWeeklyReportInfoResponse) FromJsonString

func (r *DescribeWeeklyReportInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportInfoResponse) ToJsonString

func (r *DescribeWeeklyReportInfoResponse) ToJsonString() string

type DescribeWeeklyReportMalwaresRequest

type DescribeWeeklyReportMalwaresRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeWeeklyReportMalwaresRequest

func NewDescribeWeeklyReportMalwaresRequest() (request *DescribeWeeklyReportMalwaresRequest)

func (*DescribeWeeklyReportMalwaresRequest) FromJsonString

func (r *DescribeWeeklyReportMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportMalwaresRequest) ToJsonString

func (r *DescribeWeeklyReportMalwaresRequest) ToJsonString() string

type DescribeWeeklyReportMalwaresResponse

type DescribeWeeklyReportMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Trojan data in weekly CWP Pro report.
		WeeklyReportMalwares []*WeeklyReportMalware `json:"WeeklyReportMalwares,omitempty" name:"WeeklyReportMalwares"`

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWeeklyReportMalwaresResponse

func NewDescribeWeeklyReportMalwaresResponse() (response *DescribeWeeklyReportMalwaresResponse)

func (*DescribeWeeklyReportMalwaresResponse) FromJsonString

func (r *DescribeWeeklyReportMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportMalwaresResponse) ToJsonString

func (r *DescribeWeeklyReportMalwaresResponse) ToJsonString() string

type DescribeWeeklyReportNonlocalLoginPlacesRequest

type DescribeWeeklyReportNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeWeeklyReportNonlocalLoginPlacesRequest

func NewDescribeWeeklyReportNonlocalLoginPlacesRequest() (request *DescribeWeeklyReportNonlocalLoginPlacesRequest)

func (*DescribeWeeklyReportNonlocalLoginPlacesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportNonlocalLoginPlacesRequest) ToJsonString

type DescribeWeeklyReportNonlocalLoginPlacesResponse

type DescribeWeeklyReportNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unusual login location data in weekly CWP Pro report
		WeeklyReportNonlocalLoginPlaces []*WeeklyReportNonlocalLoginPlace `json:"WeeklyReportNonlocalLoginPlaces,omitempty" name:"WeeklyReportNonlocalLoginPlaces"`

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWeeklyReportNonlocalLoginPlacesResponse

func NewDescribeWeeklyReportNonlocalLoginPlacesResponse() (response *DescribeWeeklyReportNonlocalLoginPlacesResponse)

func (*DescribeWeeklyReportNonlocalLoginPlacesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportNonlocalLoginPlacesResponse) ToJsonString

type DescribeWeeklyReportVulsRequest

type DescribeWeeklyReportVulsRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeWeeklyReportVulsRequest

func NewDescribeWeeklyReportVulsRequest() (request *DescribeWeeklyReportVulsRequest)

func (*DescribeWeeklyReportVulsRequest) FromJsonString

func (r *DescribeWeeklyReportVulsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportVulsRequest) ToJsonString

func (r *DescribeWeeklyReportVulsRequest) ToJsonString() string

type DescribeWeeklyReportVulsResponse

type DescribeWeeklyReportVulsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Vulnerability data array in weekly CWP Pro report.
		WeeklyReportVuls []*WeeklyReportVul `json:"WeeklyReportVuls,omitempty" name:"WeeklyReportVuls"`

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWeeklyReportVulsResponse

func NewDescribeWeeklyReportVulsResponse() (response *DescribeWeeklyReportVulsResponse)

func (*DescribeWeeklyReportVulsResponse) FromJsonString

func (r *DescribeWeeklyReportVulsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportVulsResponse) ToJsonString

func (r *DescribeWeeklyReportVulsResponse) ToJsonString() string

type DescribeWeeklyReportsRequest

type DescribeWeeklyReportsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeWeeklyReportsRequest

func NewDescribeWeeklyReportsRequest() (request *DescribeWeeklyReportsRequest)

func (*DescribeWeeklyReportsRequest) FromJsonString

func (r *DescribeWeeklyReportsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportsRequest) ToJsonString

func (r *DescribeWeeklyReportsRequest) ToJsonString() string

type DescribeWeeklyReportsResponse

type DescribeWeeklyReportsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Weekly CWP Pro report list array.
		WeeklyReports []*WeeklyReport `json:"WeeklyReports,omitempty" name:"WeeklyReports"`

		// Total number of records.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWeeklyReportsResponse

func NewDescribeWeeklyReportsResponse() (response *DescribeWeeklyReportsResponse)

func (*DescribeWeeklyReportsResponse) FromJsonString

func (r *DescribeWeeklyReportsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWeeklyReportsResponse) ToJsonString

func (r *DescribeWeeklyReportsResponse) ToJsonString() string

type EditTagsRequest

type EditTagsRequest struct {
	*tchttp.BaseRequest

	// Tag name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Tag ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CVM instance ID
	Quuids []*string `json:"Quuids,omitempty" name:"Quuids"`
}

func NewEditTagsRequest

func NewEditTagsRequest() (request *EditTagsRequest)

func (*EditTagsRequest) FromJsonString

func (r *EditTagsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EditTagsRequest) ToJsonString

func (r *EditTagsRequest) ToJsonString() string

type EditTagsResponse

type EditTagsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewEditTagsResponse

func NewEditTagsResponse() (response *EditTagsResponse)

func (*EditTagsResponse) FromJsonString

func (r *EditTagsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EditTagsResponse) ToJsonString

func (r *EditTagsResponse) ToJsonString() string

type ExportBruteAttacksRequest

type ExportBruteAttacksRequest struct {
	*tchttp.BaseRequest
}

func NewExportBruteAttacksRequest

func NewExportBruteAttacksRequest() (request *ExportBruteAttacksRequest)

func (*ExportBruteAttacksRequest) FromJsonString

func (r *ExportBruteAttacksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportBruteAttacksRequest) ToJsonString

func (r *ExportBruteAttacksRequest) ToJsonString() string

type ExportBruteAttacksResponse

type ExportBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Download address for exported file.
		DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExportBruteAttacksResponse

func NewExportBruteAttacksResponse() (response *ExportBruteAttacksResponse)

func (*ExportBruteAttacksResponse) FromJsonString

func (r *ExportBruteAttacksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportBruteAttacksResponse) ToJsonString

func (r *ExportBruteAttacksResponse) ToJsonString() string

type ExportMaliciousRequestsRequest

type ExportMaliciousRequestsRequest struct {
	*tchttp.BaseRequest
}

func NewExportMaliciousRequestsRequest

func NewExportMaliciousRequestsRequest() (request *ExportMaliciousRequestsRequest)

func (*ExportMaliciousRequestsRequest) FromJsonString

func (r *ExportMaliciousRequestsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportMaliciousRequestsRequest) ToJsonString

func (r *ExportMaliciousRequestsRequest) ToJsonString() string

type ExportMaliciousRequestsResponse

type ExportMaliciousRequestsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Download address for exported file.
		DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExportMaliciousRequestsResponse

func NewExportMaliciousRequestsResponse() (response *ExportMaliciousRequestsResponse)

func (*ExportMaliciousRequestsResponse) FromJsonString

func (r *ExportMaliciousRequestsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportMaliciousRequestsResponse) ToJsonString

func (r *ExportMaliciousRequestsResponse) ToJsonString() string

type ExportMalwaresRequest

type ExportMalwaresRequest struct {
	*tchttp.BaseRequest
}

func NewExportMalwaresRequest

func NewExportMalwaresRequest() (request *ExportMalwaresRequest)

func (*ExportMalwaresRequest) FromJsonString

func (r *ExportMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportMalwaresRequest) ToJsonString

func (r *ExportMalwaresRequest) ToJsonString() string

type ExportMalwaresResponse

type ExportMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Download address for exported file.
		DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExportMalwaresResponse

func NewExportMalwaresResponse() (response *ExportMalwaresResponse)

func (*ExportMalwaresResponse) FromJsonString

func (r *ExportMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportMalwaresResponse) ToJsonString

func (r *ExportMalwaresResponse) ToJsonString() string

type ExportNonlocalLoginPlacesRequest

type ExportNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest
}

func NewExportNonlocalLoginPlacesRequest

func NewExportNonlocalLoginPlacesRequest() (request *ExportNonlocalLoginPlacesRequest)

func (*ExportNonlocalLoginPlacesRequest) FromJsonString

func (r *ExportNonlocalLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportNonlocalLoginPlacesRequest) ToJsonString

func (r *ExportNonlocalLoginPlacesRequest) ToJsonString() string

type ExportNonlocalLoginPlacesResponse

type ExportNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Download address for exported file.
		DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`

		// Export task ID
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewExportNonlocalLoginPlacesResponse

func NewExportNonlocalLoginPlacesResponse() (response *ExportNonlocalLoginPlacesResponse)

func (*ExportNonlocalLoginPlacesResponse) FromJsonString

func (r *ExportNonlocalLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExportNonlocalLoginPlacesResponse) ToJsonString

func (r *ExportNonlocalLoginPlacesResponse) ToJsonString() string

type Filter

type Filter struct {

	// Filter key name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// One or more filter values.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type HistoryAccount

type HistoryAccount struct {

	// Unique ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Account name.
	Username *string `json:"Username,omitempty" name:"Username"`

	// Account change type.
	// <li>CREATE: creates account</li>
	// <li>MODIFY: modifies account</li>
	// <li>DELETE: deletes account</li>
	ModifyType *string `json:"ModifyType,omitempty" name:"ModifyType"`

	// Change time.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type IgnoreImpactedHostsRequest

type IgnoreImpactedHostsRequest struct {
	*tchttp.BaseRequest

	// Vulnerability ID array.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewIgnoreImpactedHostsRequest

func NewIgnoreImpactedHostsRequest() (request *IgnoreImpactedHostsRequest)

func (*IgnoreImpactedHostsRequest) FromJsonString

func (r *IgnoreImpactedHostsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IgnoreImpactedHostsRequest) ToJsonString

func (r *IgnoreImpactedHostsRequest) ToJsonString() string

type IgnoreImpactedHostsResponse

type IgnoreImpactedHostsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewIgnoreImpactedHostsResponse

func NewIgnoreImpactedHostsResponse() (response *IgnoreImpactedHostsResponse)

func (*IgnoreImpactedHostsResponse) FromJsonString

func (r *IgnoreImpactedHostsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IgnoreImpactedHostsResponse) ToJsonString

func (r *IgnoreImpactedHostsResponse) ToJsonString() string

type ImpactedHost

type ImpactedHost struct {

	// Vulnerability ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Last detection time.
	LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`

	// Vulnerability status.
	// <li>UN_OPERATED: to be processed</li>
	// <li>SCANING: scanning</li>
	// <li>FIXED: fixed</li>
	VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Vulnerability description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitempty" name:"VulId"`

	// Whether it is the CWP Pro.
	IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`
}

type LoginWhiteLists

type LoginWhiteLists struct {

	// Record ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent ID
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Whitelisted location
	Places []*Place `json:"Places,omitempty" name:"Places"`

	// Whitelisted users (separated by commas)
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Whitelisted IPs (separated by commas)
	SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`

	// Whether this rule is applied to all servers under the current account
	IsGlobal *bool `json:"IsGlobal,omitempty" name:"IsGlobal"`

	// Whitelist creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Whitelist modification time
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`

	// Server name
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Server IP
	HostIp *string `json:"HostIp,omitempty" name:"HostIp"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type LoginWhiteListsRule

type LoginWhiteListsRule struct {

	// Whitelisted location
	Places []*Place `json:"Places,omitempty" name:"Places"`

	// Whitelisted IPs (separated by commas). This parameter can be an IP range.
	SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`

	// Whitelisted usernames (separated by commas)
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Whether this rule is applied to all servers under the current account
	IsGlobal *bool `json:"IsGlobal,omitempty" name:"IsGlobal"`

	// Server for which the allowlist takes effect
	HostIp *string `json:"HostIp,omitempty" name:"HostIp"`

	// Rule ID, used for rule updating
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type Machine

type Machine struct {

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Server OS.
	MachineOs *string `json:"MachineOs,omitempty" name:"MachineOs"`

	// Server status.
	// <li>OFFLINE: offline</li>
	// <li>ONLINE: online</li>
	// <li>MACHINE_STOPPED: shut down</li>
	MachineStatus *string `json:"MachineStatus,omitempty" name:"MachineStatus"`

	// CWP agent `Uuid`. If the agent is offline for a long time, a null character will be returned.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// CVM or BM instance `Uuid`.
	Quuid *string `json:"Quuid,omitempty" name:"Quuid"`

	// Number of vulnerabilities.
	VulNum *int64 `json:"VulNum,omitempty" name:"VulNum"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Whether the server has enabled CWP Pro.
	// <li>true: yes</li>
	// <li>false: no</li>
	IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`

	// Public IP of server.
	MachineWanIp *string `json:"MachineWanIp,omitempty" name:"MachineWanIp"`

	// Server status.
	// <li>POSTPAY: post-paid, i.e., pay-as-you-go </li>
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// Number of trojans.
	MalwareNum *int64 `json:"MalwareNum,omitempty" name:"MalwareNum"`

	// Tag information
	Tag []*MachineTag `json:"Tag,omitempty" name:"Tag"`

	// Number of baseline risks.
	BaselineNum *int64 `json:"BaselineNum,omitempty" name:"BaselineNum"`

	// Number of network risks.
	CyberAttackNum *int64 `json:"CyberAttackNum,omitempty" name:"CyberAttackNum"`

	// Risk status.
	// <li>SAFE: safe</li>
	// <li>RISK: at risk</li>
	// <li>UNKNOWN: unknown</li>
	SecurityStatus *string `json:"SecurityStatus,omitempty" name:"SecurityStatus"`

	// Number of intrusions
	InvasionNum *int64 `json:"InvasionNum,omitempty" name:"InvasionNum"`

	// Region information
	RegionInfo *RegionInfo `json:"RegionInfo,omitempty" name:"RegionInfo"`
}

type MachineTag

type MachineTag struct {

	// Associated tag ID
	Rid *int64 `json:"Rid,omitempty" name:"Rid"`

	// Tag name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Tag ID
	TagId *uint64 `json:"TagId,omitempty" name:"TagId"`
}

type MaliciousRequest

type MaliciousRequest struct {

	// Record ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Malicious request domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Number of malicious requests.
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// Process name.
	ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`

	// Record status.
	// <li>UN_OPERATED: to be processed</li>
	// <li>TRUSTED: trusted</li>
	// <li>UN_TRUSTED: untrusted</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Malicious request domain name description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Reference address.
	Reference *string `json:"Reference,omitempty" name:"Reference"`

	// Discovery time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Record merge time.
	MergeTime *string `json:"MergeTime,omitempty" name:"MergeTime"`

	// Process MD5
	// Value.
	ProcessMd5 *string `json:"ProcessMd5,omitempty" name:"ProcessMd5"`

	// Executed command line.
	CmdLine *string `json:"CmdLine,omitempty" name:"CmdLine"`

	// Process `PID`.
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`
}

type Malware

type Malware struct {

	// Event ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Current trojan status.
	// <li>UN_OPERATED: not processed</li><li>SEGREGATED: isolated</li><li>TRUSTED: trusted</li>
	// <li>SEPARATING: isolating</li><li>RECOVERING: recovering</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Trojan path.
	FilePath *string `json:"FilePath,omitempty" name:"FilePath"`

	// Trojan description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Trojan file creation time.
	FileCreateTime *string `json:"FileCreateTime,omitempty" name:"FileCreateTime"`

	// Trojan file modification time.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

type MisAlarmNonlocalLoginPlacesRequest

type MisAlarmNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Unusual login location event ID array.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewMisAlarmNonlocalLoginPlacesRequest

func NewMisAlarmNonlocalLoginPlacesRequest() (request *MisAlarmNonlocalLoginPlacesRequest)

func (*MisAlarmNonlocalLoginPlacesRequest) FromJsonString

func (r *MisAlarmNonlocalLoginPlacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*MisAlarmNonlocalLoginPlacesRequest) ToJsonString

func (r *MisAlarmNonlocalLoginPlacesRequest) ToJsonString() string

type MisAlarmNonlocalLoginPlacesResponse

type MisAlarmNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMisAlarmNonlocalLoginPlacesResponse

func NewMisAlarmNonlocalLoginPlacesResponse() (response *MisAlarmNonlocalLoginPlacesResponse)

func (*MisAlarmNonlocalLoginPlacesResponse) FromJsonString

func (r *MisAlarmNonlocalLoginPlacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*MisAlarmNonlocalLoginPlacesResponse) ToJsonString

func (r *MisAlarmNonlocalLoginPlacesResponse) ToJsonString() string

type ModifyAlarmAttributeRequest

type ModifyAlarmAttributeRequest struct {
	*tchttp.BaseRequest

	// Alarm item.
	// <li>Offline: CWP is offline</li>
	// <li>Malware: trojan event</li>
	// <li>NonlocalLogin: unusual login location discovered</li>
	// <li>CrackSuccess: brute force attack succeeded</li>
	Attribute *string `json:"Attribute,omitempty" name:"Attribute"`

	// Alarm item attributes.
	// <li>CLOSE: disabled</li>
	// <li>OPEN: enabled</li>
	Value *string `json:"Value,omitempty" name:"Value"`
}

func NewModifyAlarmAttributeRequest

func NewModifyAlarmAttributeRequest() (request *ModifyAlarmAttributeRequest)

func (*ModifyAlarmAttributeRequest) FromJsonString

func (r *ModifyAlarmAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmAttributeRequest) ToJsonString

func (r *ModifyAlarmAttributeRequest) ToJsonString() string

type ModifyAlarmAttributeResponse

type ModifyAlarmAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAlarmAttributeResponse

func NewModifyAlarmAttributeResponse() (response *ModifyAlarmAttributeResponse)

func (*ModifyAlarmAttributeResponse) FromJsonString

func (r *ModifyAlarmAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmAttributeResponse) ToJsonString

func (r *ModifyAlarmAttributeResponse) ToJsonString() string

type ModifyAutoOpenProVersionConfigRequest

type ModifyAutoOpenProVersionConfigRequest struct {
	*tchttp.BaseRequest

	// Auto-Activation status.
	// <li>CLOSE: disabled</li>
	// <li>OPEN: enabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyAutoOpenProVersionConfigRequest

func NewModifyAutoOpenProVersionConfigRequest() (request *ModifyAutoOpenProVersionConfigRequest)

func (*ModifyAutoOpenProVersionConfigRequest) FromJsonString

func (r *ModifyAutoOpenProVersionConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAutoOpenProVersionConfigRequest) ToJsonString

type ModifyAutoOpenProVersionConfigResponse

type ModifyAutoOpenProVersionConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAutoOpenProVersionConfigResponse

func NewModifyAutoOpenProVersionConfigResponse() (response *ModifyAutoOpenProVersionConfigResponse)

func (*ModifyAutoOpenProVersionConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAutoOpenProVersionConfigResponse) ToJsonString

type ModifyLoginWhiteListRequest

type ModifyLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Whitelist rule
	Rules *LoginWhiteListsRule `json:"Rules,omitempty" name:"Rules"`
}

func NewModifyLoginWhiteListRequest

func NewModifyLoginWhiteListRequest() (request *ModifyLoginWhiteListRequest)

func (*ModifyLoginWhiteListRequest) FromJsonString

func (r *ModifyLoginWhiteListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLoginWhiteListRequest) ToJsonString

func (r *ModifyLoginWhiteListRequest) ToJsonString() string

type ModifyLoginWhiteListResponse

type ModifyLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyLoginWhiteListResponse

func NewModifyLoginWhiteListResponse() (response *ModifyLoginWhiteListResponse)

func (*ModifyLoginWhiteListResponse) FromJsonString

func (r *ModifyLoginWhiteListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLoginWhiteListResponse) ToJsonString

func (r *ModifyLoginWhiteListResponse) ToJsonString() string

type ModifyProVersionRenewFlagRequest

type ModifyProVersionRenewFlagRequest struct {
	*tchttp.BaseRequest

	// Auto-renewal flag. Valid values:
	// <li>NOTIFY_AND_AUTO_RENEW: notifies of expiration and auto-renews</li>
	// <li>NOTIFY_AND_MANUAL_RENEW: notifies of expiration but does not auto-renew</li>
	// <li>DISABLE_NOTIFY_AND_MANUAL_RENEW: does not notify of expiration or auto-renew</li>
	RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"`

	// Unique server ID, corresponding to `uuid` for CVM or `instanceId` for BM.
	Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}

func NewModifyProVersionRenewFlagRequest

func NewModifyProVersionRenewFlagRequest() (request *ModifyProVersionRenewFlagRequest)

func (*ModifyProVersionRenewFlagRequest) FromJsonString

func (r *ModifyProVersionRenewFlagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProVersionRenewFlagRequest) ToJsonString

func (r *ModifyProVersionRenewFlagRequest) ToJsonString() string

type ModifyProVersionRenewFlagResponse

type ModifyProVersionRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyProVersionRenewFlagResponse

func NewModifyProVersionRenewFlagResponse() (response *ModifyProVersionRenewFlagResponse)

func (*ModifyProVersionRenewFlagResponse) FromJsonString

func (r *ModifyProVersionRenewFlagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProVersionRenewFlagResponse) ToJsonString

func (r *ModifyProVersionRenewFlagResponse) ToJsonString() string

type NonLocalLoginPlace

type NonLocalLoginPlace struct {

	// Event ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Login status
	// <li>NON_LOCAL_LOGIN: unusual login location</li>
	// <li>NORMAL_LOGIN: intended login</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Username.
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// City ID.
	City *uint64 `json:"City,omitempty" name:"City"`

	// Country/Region ID.
	Country *uint64 `json:"Country,omitempty" name:"Country"`

	// Province/State ID.
	Province *uint64 `json:"Province,omitempty" name:"Province"`

	// Login IP.
	SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Login time.
	LoginTime *string `json:"LoginTime,omitempty" name:"LoginTime"`

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}

type OpenPort

type OpenPort struct {

	// Unique ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Open port number.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Process name corresponding to port.
	ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`

	// Process `Pid` corresponding to port.
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Record creation time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Record update time.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type OpenPortStatistics

type OpenPortStatistics struct {

	// Port number
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Number of servers
	MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`
}

type OpenProVersionRequest

type OpenProVersionRequest struct {
	*tchttp.BaseRequest

	// Server type.
	// <li>CVM: CVM</li>
	// <li>BM: BM</li>
	MachineType *string `json:"MachineType,omitempty" name:"MachineType"`

	// Server region
	// Examples: ap-guangzhou, ap-shanghai
	MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`

	// Server `Uuid` array.
	// `InstanceId` for BM or `Uuid` for CVM
	Quuids []*string `json:"Quuids,omitempty" name:"Quuids"`

	// Event ID.
	ActivityId *uint64 `json:"ActivityId,omitempty" name:"ActivityId"`
}

func NewOpenProVersionRequest

func NewOpenProVersionRequest() (request *OpenProVersionRequest)

func (*OpenProVersionRequest) FromJsonString

func (r *OpenProVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenProVersionRequest) ToJsonString

func (r *OpenProVersionRequest) ToJsonString() string

type OpenProVersionResponse

type OpenProVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewOpenProVersionResponse

func NewOpenProVersionResponse() (response *OpenProVersionResponse)

func (*OpenProVersionResponse) FromJsonString

func (r *OpenProVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenProVersionResponse) ToJsonString

func (r *OpenProVersionResponse) ToJsonString() string

type Place

type Place struct {

	// City ID.
	CityId *uint64 `json:"CityId,omitempty" name:"CityId"`

	// Province/State ID.
	ProvinceId *uint64 `json:"ProvinceId,omitempty" name:"ProvinceId"`

	// Country/Region ID. Currently, only `1` (Mainland China) is supported.
	CountryId *uint64 `json:"CountryId,omitempty" name:"CountryId"`
}

type Process

type Process struct {

	// Unique ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Server name.
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Process `Pid`.
	Pid *uint64 `json:"Pid,omitempty" name:"Pid"`

	// Process `Ppid`.
	Ppid *uint64 `json:"Ppid,omitempty" name:"Ppid"`

	// Process name.
	ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`

	// Process username.
	Username *string `json:"Username,omitempty" name:"Username"`

	// OS.
	// <li>WIN32: Windows 32-bit</li>
	// <li>WIN64: Windows 64-bit</li>
	// <li>LINUX32: Linux 32-bit</li>
	// <li>LINUX64: Linux 64-bit</li>
	Platform *string `json:"Platform,omitempty" name:"Platform"`

	// Process path.
	FullPath *string `json:"FullPath,omitempty" name:"FullPath"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type ProcessStatistics

type ProcessStatistics struct {

	// Process name.
	ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`

	// Number of servers.
	MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`
}

type RecoverMalwaresRequest

type RecoverMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan ID array. Up to 200 IDs can be deleted at a time
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewRecoverMalwaresRequest

func NewRecoverMalwaresRequest() (request *RecoverMalwaresRequest)

func (*RecoverMalwaresRequest) FromJsonString

func (r *RecoverMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RecoverMalwaresRequest) ToJsonString

func (r *RecoverMalwaresRequest) ToJsonString() string

type RecoverMalwaresResponse

type RecoverMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Array of IDs of successfully recovered trojans.
		SuccessIds []*uint64 `json:"SuccessIds,omitempty" name:"SuccessIds"`

		// Array of IDs of trojans failed to be recovered.
		FailedIds []*uint64 `json:"FailedIds,omitempty" name:"FailedIds"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRecoverMalwaresResponse

func NewRecoverMalwaresResponse() (response *RecoverMalwaresResponse)

func (*RecoverMalwaresResponse) FromJsonString

func (r *RecoverMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RecoverMalwaresResponse) ToJsonString

func (r *RecoverMalwaresResponse) ToJsonString() string

type RegionInfo

type RegionInfo struct {

	// Region, such as `ap-guangzhou`, `ap-shanghai` and `ap-beijing`
	Region *string `json:"Region,omitempty" name:"Region"`

	// Region name, such as `South China (Guangzhou)`, `East China (Shanghai)`, and `North China (Beijing)`
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// Region ID
	RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"`

	// Region code, such as `gz`, `sh`, and `bj`
	RegionCode *string `json:"RegionCode,omitempty" name:"RegionCode"`
}

type RescanImpactedHostRequest

type RescanImpactedHostRequest struct {
	*tchttp.BaseRequest

	// Vulnerability ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewRescanImpactedHostRequest

func NewRescanImpactedHostRequest() (request *RescanImpactedHostRequest)

func (*RescanImpactedHostRequest) FromJsonString

func (r *RescanImpactedHostRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RescanImpactedHostRequest) ToJsonString

func (r *RescanImpactedHostRequest) ToJsonString() string

type RescanImpactedHostResponse

type RescanImpactedHostResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRescanImpactedHostResponse

func NewRescanImpactedHostResponse() (response *RescanImpactedHostResponse)

func (*RescanImpactedHostResponse) FromJsonString

func (r *RescanImpactedHostResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RescanImpactedHostResponse) ToJsonString

func (r *RescanImpactedHostResponse) ToJsonString() string

type SecurityDynamic

type SecurityDynamic struct {

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Security event occurrence time.
	EventTime *string `json:"EventTime,omitempty" name:"EventTime"`

	// Security event type.
	// <li>MALWARE: trojan event</li>
	// <li>NON_LOCAL_LOGIN: unusual login location</li>
	// <li>BRUTEATTACK_SUCCESS: brute force attack succeeded</li>
	// <li>VUL: vulnerability</li>
	// <li>BASELINE: security baseline</li>
	EventType *string `json:"EventType,omitempty" name:"EventType"`

	// Security event message.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Security event level.
	// <li>RISK: severe</li>
	// <li>HIGH: high</li>
	// <li>NORMAL: medium</li>
	// <li>LOW: low</li>
	SecurityLevel *string `json:"SecurityLevel,omitempty" name:"SecurityLevel"`
}

type SecurityTrend

type SecurityTrend struct {

	// Event time.
	Date *string `json:"Date,omitempty" name:"Date"`

	// Number of events.
	EventNum *uint64 `json:"EventNum,omitempty" name:"EventNum"`
}

type SeparateMalwaresRequest

type SeparateMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan event ID array.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewSeparateMalwaresRequest

func NewSeparateMalwaresRequest() (request *SeparateMalwaresRequest)

func (*SeparateMalwaresRequest) FromJsonString

func (r *SeparateMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SeparateMalwaresRequest) ToJsonString

func (r *SeparateMalwaresRequest) ToJsonString() string

type SeparateMalwaresResponse

type SeparateMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Array of IDs of successfully isolated trojans.
		SuccessIds []*uint64 `json:"SuccessIds,omitempty" name:"SuccessIds"`

		// Array of IDs of trojans failed to be isolated.
		FailedIds []*uint64 `json:"FailedIds,omitempty" name:"FailedIds"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSeparateMalwaresResponse

func NewSeparateMalwaresResponse() (response *SeparateMalwaresResponse)

func (*SeparateMalwaresResponse) FromJsonString

func (r *SeparateMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SeparateMalwaresResponse) ToJsonString

func (r *SeparateMalwaresResponse) ToJsonString() string

type Tag

type Tag struct {

	// Tag ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Tag name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Number of servers
	Count *uint64 `json:"Count,omitempty" name:"Count"`
}

type TagMachine

type TagMachine struct {

	// ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Server ID
	Quuid *string `json:"Quuid,omitempty" name:"Quuid"`

	// Server name
	MachineName *string `json:"MachineName,omitempty" name:"MachineName"`

	// Private IP of server
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Public IP of server
	MachineWanIp *string `json:"MachineWanIp,omitempty" name:"MachineWanIp"`

	// Server region
	MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`

	// Server region type
	MachineType *string `json:"MachineType,omitempty" name:"MachineType"`
}

type TrustMaliciousRequestRequest

type TrustMaliciousRequestRequest struct {
	*tchttp.BaseRequest

	// Malicious request record ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewTrustMaliciousRequestRequest

func NewTrustMaliciousRequestRequest() (request *TrustMaliciousRequestRequest)

func (*TrustMaliciousRequestRequest) FromJsonString

func (r *TrustMaliciousRequestRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TrustMaliciousRequestRequest) ToJsonString

func (r *TrustMaliciousRequestRequest) ToJsonString() string

type TrustMaliciousRequestResponse

type TrustMaliciousRequestResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewTrustMaliciousRequestResponse

func NewTrustMaliciousRequestResponse() (response *TrustMaliciousRequestResponse)

func (*TrustMaliciousRequestResponse) FromJsonString

func (r *TrustMaliciousRequestResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TrustMaliciousRequestResponse) ToJsonString

func (r *TrustMaliciousRequestResponse) ToJsonString() string

type TrustMalwaresRequest

type TrustMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan ID array.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewTrustMalwaresRequest

func NewTrustMalwaresRequest() (request *TrustMalwaresRequest)

func (*TrustMalwaresRequest) FromJsonString

func (r *TrustMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TrustMalwaresRequest) ToJsonString

func (r *TrustMalwaresRequest) ToJsonString() string

type TrustMalwaresResponse

type TrustMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewTrustMalwaresResponse

func NewTrustMalwaresResponse() (response *TrustMalwaresResponse)

func (*TrustMalwaresResponse) FromJsonString

func (r *TrustMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TrustMalwaresResponse) ToJsonString

func (r *TrustMalwaresResponse) ToJsonString() string

type UntrustMaliciousRequestRequest

type UntrustMaliciousRequestRequest struct {
	*tchttp.BaseRequest

	// Trusted record ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`
}

func NewUntrustMaliciousRequestRequest

func NewUntrustMaliciousRequestRequest() (request *UntrustMaliciousRequestRequest)

func (*UntrustMaliciousRequestRequest) FromJsonString

func (r *UntrustMaliciousRequestRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UntrustMaliciousRequestRequest) ToJsonString

func (r *UntrustMaliciousRequestRequest) ToJsonString() string

type UntrustMaliciousRequestResponse

type UntrustMaliciousRequestResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUntrustMaliciousRequestResponse

func NewUntrustMaliciousRequestResponse() (response *UntrustMaliciousRequestResponse)

func (*UntrustMaliciousRequestResponse) FromJsonString

func (r *UntrustMaliciousRequestResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UntrustMaliciousRequestResponse) ToJsonString

func (r *UntrustMaliciousRequestResponse) ToJsonString() string

type UntrustMalwaresRequest

type UntrustMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan event ID array. Up to 200 IDs can be processed at a time.
	Ids []*uint64 `json:"Ids,omitempty" name:"Ids"`
}

func NewUntrustMalwaresRequest

func NewUntrustMalwaresRequest() (request *UntrustMalwaresRequest)

func (*UntrustMalwaresRequest) FromJsonString

func (r *UntrustMalwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UntrustMalwaresRequest) ToJsonString

func (r *UntrustMalwaresRequest) ToJsonString() string

type UntrustMalwaresResponse

type UntrustMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUntrustMalwaresResponse

func NewUntrustMalwaresResponse() (response *UntrustMalwaresResponse)

func (*UntrustMalwaresResponse) FromJsonString

func (r *UntrustMalwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UntrustMalwaresResponse) ToJsonString

func (r *UntrustMalwaresResponse) ToJsonString() string

type UsualPlace

type UsualPlace struct {

	// ID.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitempty" name:"Uuid"`

	// Country/Region ID.
	CountryId *uint64 `json:"CountryId,omitempty" name:"CountryId"`

	// Province/State ID.
	ProvinceId *uint64 `json:"ProvinceId,omitempty" name:"ProvinceId"`

	// City ID.
	CityId *uint64 `json:"CityId,omitempty" name:"CityId"`
}

type Vul

type Vul struct {

	// Vulnerability category ID
	VulId *uint64 `json:"VulId,omitempty" name:"VulId"`

	// Vulnerability name
	VulName *string `json:"VulName,omitempty" name:"VulName"`

	// Vulnerability severity level:
	// HIGH: high
	// MIDDLE: medium
	// LOW: low
	// NOTICE: notice
	VulLevel *string `json:"VulLevel,omitempty" name:"VulLevel"`

	// Last scanned time
	LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`

	// Number of affected servers
	ImpactedHostNum *uint64 `json:"ImpactedHostNum,omitempty" name:"ImpactedHostNum"`

	// Vulnerability status
	// * UN_OPERATED: to be processed
	// * FIXED: fixed
	VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`
}

type WeeklyReport

type WeeklyReport struct {

	// Weekly report start time.
	BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`

	// Weekly report end time.
	EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}

type WeeklyReportBruteAttack

type WeeklyReportBruteAttack struct {

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Hacked username.
	Username *string `json:"Username,omitempty" name:"Username"`

	// Source IP.
	SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`

	// Number of attempts.
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// Attack time.
	AttackTime *string `json:"AttackTime,omitempty" name:"AttackTime"`
}

type WeeklyReportMalware

type WeeklyReportMalware struct {

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Trojan file path.
	FilePath *string `json:"FilePath,omitempty" name:"FilePath"`

	// Trojan file MD5 value.
	Md5 *string `json:"Md5,omitempty" name:"Md5"`

	// Trojan discovery time.
	FindTime *string `json:"FindTime,omitempty" name:"FindTime"`

	// Current trojan status.
	// <li>UN_OPERATED: not processed</li>
	// <li>SEGREGATED: isolated</li>
	// <li>TRUSTED: trusted</li>
	// <li>SEPARATING: isolating</li>
	// <li>RECOVERING: recovering</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

type WeeklyReportNonlocalLoginPlace

type WeeklyReportNonlocalLoginPlace struct {

	// Server IP.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Username.
	Username *string `json:"Username,omitempty" name:"Username"`

	// Source IP.
	SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`

	// Country/Region ID.
	Country *uint64 `json:"Country,omitempty" name:"Country"`

	// Province/State ID.
	Province *uint64 `json:"Province,omitempty" name:"Province"`

	// City ID.
	City *uint64 `json:"City,omitempty" name:"City"`

	// Login time.
	LoginTime *string `json:"LoginTime,omitempty" name:"LoginTime"`
}

type WeeklyReportVul

type WeeklyReportVul struct {

	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`

	// Vulnerability name.
	VulName *string `json:"VulName,omitempty" name:"VulName"`

	// Vulnerability type.
	// <li> WEB: web vulnerability</li>
	// <li> SYSTEM: system component vulnerability</li>
	// <li> BASELINE: security baseline</li>
	VulType *string `json:"VulType,omitempty" name:"VulType"`

	// Vulnerability description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Vulnerability status.
	// <li> UN_OPERATED: to be processed</li>
	// <li> SCANING: scanning</li>
	// <li> FIXED: fixed</li>
	VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`

	// Last scanned time.
	LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`
}

Jump to

Keyboard shortcuts

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