v20180228

package
v3.0.1071+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 7 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,omitnil,omitempty" name:"Id"`

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

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

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

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

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

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

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

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

type AccountStatistics

type AccountStatistics struct {
	// Username.
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

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

type AddLoginWhiteListRequest

type AddLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Whitelist rule
	Rules *LoginWhiteListsRule `json:"Rules,omitnil,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 AddLoginWhiteListRequestParams

type AddLoginWhiteListRequestParams struct {
	// Whitelist rule
	Rules *LoginWhiteListsRule `json:"Rules,omitnil,omitempty" name:"Rules"`
}

Predefined struct for user

type AddLoginWhiteListResponse

type AddLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *AddLoginWhiteListResponseParams `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 AddLoginWhiteListResponseParams

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

Predefined struct for user

type AddMachineTagRequest

type AddMachineTagRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Server type (`CVM` or `BM`)
	MArea *string `json:"MArea,omitnil,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 AddMachineTagRequestParams

type AddMachineTagRequestParams struct {
	// Server ID
	Quuid *string `json:"Quuid,omitnil,omitempty" name:"Quuid"`

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

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

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

Predefined struct for user

type AddMachineTagResponse

type AddMachineTagResponse struct {
	*tchttp.BaseResponse
	Response *AddMachineTagResponseParams `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 AddMachineTagResponseParams

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

Predefined struct for user

type AgentVul

type AgentVul struct {
	// Vulnerability ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

	// Vulnerability name.
	VulName *string `json:"VulName,omitnil,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,omitnil,omitempty" name:"VulLevel"`

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

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

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

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

type BruteAttack

type BruteAttack struct {
	// Event ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitnil,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,omitnil,omitempty" name:"Status"`

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

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

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

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

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

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

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

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

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

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

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

	// Server `UUID`
	Quuid *string `json:"Quuid,omitnil,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,omitnil,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 CloseProVersionRequestParams

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

Predefined struct for user

type CloseProVersionResponse

type CloseProVersionResponse struct {
	*tchttp.BaseResponse
	Response *CloseProVersionResponseParams `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 CloseProVersionResponseParams

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

Predefined struct for user

type Component

type Component struct {
	// Unique ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

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

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

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

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

type ComponentStatistics

type ComponentStatistics struct {
	// Component ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

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

type CreateOpenPortTaskRequest

type CreateOpenPortTaskRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,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 CreateOpenPortTaskRequestParams

type CreateOpenPortTaskRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type CreateOpenPortTaskResponse

type CreateOpenPortTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateOpenPortTaskResponseParams `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 CreateOpenPortTaskResponseParams

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

Predefined struct for user

type CreateProcessTaskRequest

type CreateProcessTaskRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,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 CreateProcessTaskRequestParams

type CreateProcessTaskRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type CreateProcessTaskResponse

type CreateProcessTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateProcessTaskResponseParams `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 CreateProcessTaskResponseParams

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

Predefined struct for user

type CreateUsualLoginPlacesRequest

type CreateUsualLoginPlacesRequest struct {
	*tchttp.BaseRequest

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

	// Login region information array.
	Places []*Place `json:"Places,omitnil,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 CreateUsualLoginPlacesRequestParams

type CreateUsualLoginPlacesRequestParams struct {
	// CWP agent `UUID` array.
	Uuids []*string `json:"Uuids,omitnil,omitempty" name:"Uuids"`

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

Predefined struct for user

type CreateUsualLoginPlacesResponse

type CreateUsualLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *CreateUsualLoginPlacesResponseParams `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 CreateUsualLoginPlacesResponseParams

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

Predefined struct for user

type DeleteBruteAttacksRequest

type DeleteBruteAttacksRequest struct {
	*tchttp.BaseRequest

	// Brute force attack event ID array.
	Ids []*uint64 `json:"Ids,omitnil,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 DeleteBruteAttacksRequestParams

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

Predefined struct for user

type DeleteBruteAttacksResponse

type DeleteBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBruteAttacksResponseParams `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 DeleteBruteAttacksResponseParams

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

Predefined struct for user

type DeleteLoginWhiteListRequest

type DeleteLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Whitelist ID
	Ids []*uint64 `json:"Ids,omitnil,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 DeleteLoginWhiteListRequestParams

type DeleteLoginWhiteListRequestParams struct {
	// Whitelist ID
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type DeleteLoginWhiteListResponse

type DeleteLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoginWhiteListResponseParams `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 DeleteLoginWhiteListResponseParams

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

Predefined struct for user

type DeleteMachineRequest

type DeleteMachineRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,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 DeleteMachineRequestParams

type DeleteMachineRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type DeleteMachineResponse

type DeleteMachineResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMachineResponseParams `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 DeleteMachineResponseParams

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

Predefined struct for user

type DeleteMachineTagRequest

type DeleteMachineTagRequest struct {
	*tchttp.BaseRequest

	// Associated tag ID
	Rid *uint64 `json:"Rid,omitnil,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 DeleteMachineTagRequestParams

type DeleteMachineTagRequestParams struct {
	// Associated tag ID
	Rid *uint64 `json:"Rid,omitnil,omitempty" name:"Rid"`
}

Predefined struct for user

type DeleteMachineTagResponse

type DeleteMachineTagResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMachineTagResponseParams `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 DeleteMachineTagResponseParams

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

Predefined struct for user

type DeleteMaliciousRequestsRequest

type DeleteMaliciousRequestsRequest struct {
	*tchttp.BaseRequest

	// Malicious request record ID array. Maximum value: 100 entries.
	Ids []*uint64 `json:"Ids,omitnil,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 DeleteMaliciousRequestsRequestParams

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

Predefined struct for user

type DeleteMaliciousRequestsResponse

type DeleteMaliciousRequestsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMaliciousRequestsResponseParams `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 DeleteMaliciousRequestsResponseParams

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

Predefined struct for user

type DeleteMalwaresRequest

type DeleteMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan record ID array
	Ids []*uint64 `json:"Ids,omitnil,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 DeleteMalwaresRequestParams

type DeleteMalwaresRequestParams struct {
	// Trojan record ID array
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type DeleteMalwaresResponse

type DeleteMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMalwaresResponseParams `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 DeleteMalwaresResponseParams

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

Predefined struct for user

type DeleteNonlocalLoginPlacesRequest

type DeleteNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Unusual login location event ID array.
	Ids []*uint64 `json:"Ids,omitnil,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 DeleteNonlocalLoginPlacesRequestParams

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

Predefined struct for user

type DeleteNonlocalLoginPlacesResponse

type DeleteNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteNonlocalLoginPlacesResponseParams `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 DeleteNonlocalLoginPlacesResponseParams

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

Predefined struct for user

type DeleteUsualLoginPlacesRequest

type DeleteUsualLoginPlacesRequest struct {
	*tchttp.BaseRequest

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

	// Added usual login city ID array
	CityIds []*uint64 `json:"CityIds,omitnil,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 DeleteUsualLoginPlacesRequestParams

type DeleteUsualLoginPlacesRequestParams struct {
	// CWP agent `Uuid`
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

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

Predefined struct for user

type DeleteUsualLoginPlacesResponse

type DeleteUsualLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUsualLoginPlacesResponseParams `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 DeleteUsualLoginPlacesResponseParams

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

Predefined struct for user

type DescribeAccountStatisticsRequest

type DescribeAccountStatisticsRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter.
	// <li>Username - String - Required: No - Account username</li>
	Filters []*Filter `json:"Filters,omitnil,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 DescribeAccountStatisticsRequestParams

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

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

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

Predefined struct for user

type DescribeAccountStatisticsResponse

type DescribeAccountStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountStatisticsResponseParams `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 DescribeAccountStatisticsResponseParams

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

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

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

Predefined struct for user

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,omitnil,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,omitnil,omitempty" name:"Username"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeAccountsRequestParams

type DescribeAccountsRequestParams struct {
	// 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,omitnil,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,omitnil,omitempty" name:"Username"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountsResponseParams `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 DescribeAccountsResponseParams

type DescribeAccountsResponseParams struct {
	// Total number of records in account list.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

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,omitnil,omitempty" name:"VulType"`

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

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

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

	// Filter.
	// <li>Status - String - Required: No - Filter by status (UN_OPERATED: to be processed, FIXED: fixed)
	Filters []*Filter `json:"Filters,omitnil,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 DescribeAgentVulsRequestParams

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

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

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

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

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

Predefined struct for user

type DescribeAgentVulsResponse

type DescribeAgentVulsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAgentVulsResponseParams `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 DescribeAgentVulsResponseParams

type DescribeAgentVulsResponseParams struct {
	// Total number of records
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

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 DescribeAlarmAttributeRequestParams

type DescribeAlarmAttributeRequestParams struct {
}

Predefined struct for user

type DescribeAlarmAttributeResponse

type DescribeAlarmAttributeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAlarmAttributeResponseParams `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 DescribeAlarmAttributeResponseParams

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

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

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

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

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

Predefined struct for user

type DescribeBruteAttacksRequest

type DescribeBruteAttacksRequest struct {
	*tchttp.BaseRequest

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`

	// Number of results to be returned. Default value: 10. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil,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 DescribeBruteAttacksRequestParams

type DescribeBruteAttacksRequestParams struct {
	// Agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`

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

Predefined struct for user

type DescribeBruteAttacksResponse

type DescribeBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBruteAttacksResponseParams `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 DescribeBruteAttacksResponseParams

type DescribeBruteAttacksResponseParams struct {
	// Number of events
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeComponentInfoRequest

type DescribeComponentInfoRequest struct {
	*tchttp.BaseRequest

	// Component ID.
	ComponentId *uint64 `json:"ComponentId,omitnil,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 DescribeComponentInfoRequestParams

type DescribeComponentInfoRequestParams struct {
	// Component ID.
	ComponentId *uint64 `json:"ComponentId,omitnil,omitempty" name:"ComponentId"`
}

Predefined struct for user

type DescribeComponentInfoResponse

type DescribeComponentInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComponentInfoResponseParams `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 DescribeComponentInfoResponseParams

type DescribeComponentInfoResponseParams struct {
	// Component ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

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

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

Predefined struct for user

type DescribeComponentStatisticsRequest

type DescribeComponentStatisticsRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter.
	// ComponentName - String - Required: No - Component name
	Filters []*Filter `json:"Filters,omitnil,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 DescribeComponentStatisticsRequestParams

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

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

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

Predefined struct for user

type DescribeComponentStatisticsResponse

type DescribeComponentStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComponentStatisticsResponseParams `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 DescribeComponentStatisticsResponseParams

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

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

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

Predefined struct for user

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,omitnil,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,omitnil,omitempty" name:"ComponentId"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeComponentsRequestParams

type DescribeComponentsRequestParams struct {
	// 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,omitnil,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,omitnil,omitempty" name:"ComponentId"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeComponentsResponse

type DescribeComponentsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComponentsResponseParams `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 DescribeComponentsResponseParams

type DescribeComponentsResponseParams struct {
	// Total number of records in component list.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeHistoryAccountsRequest

type DescribeHistoryAccountsRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Filter.
	// <li>Username - String - Required: No - Account name</li>
	Filters []*Filter `json:"Filters,omitnil,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 DescribeHistoryAccountsRequestParams

type DescribeHistoryAccountsRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

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

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

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

Predefined struct for user

type DescribeHistoryAccountsResponse

type DescribeHistoryAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHistoryAccountsResponseParams `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 DescribeHistoryAccountsResponseParams

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

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

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

Predefined struct for user

type DescribeImpactedHostsRequest

type DescribeImpactedHostsRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Filter.
	// <li>Status - String - Required: No - Filter by status (UN_OPERATED: to be processed, FIXED: fixed)</li>
	Filters []*Filter `json:"Filters,omitnil,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 DescribeImpactedHostsRequestParams

type DescribeImpactedHostsRequestParams struct {
	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitnil,omitempty" name:"VulId"`

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

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

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

Predefined struct for user

type DescribeImpactedHostsResponse

type DescribeImpactedHostsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeImpactedHostsResponseParams `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 DescribeImpactedHostsResponseParams

type DescribeImpactedHostsResponseParams struct {
	// Total number of records
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeLoginWhiteListRequest

type DescribeLoginWhiteListRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter.
	// <li>Keywords - String - Required: No - Query keywords</li>
	Filters []*Filter `json:"Filters,omitnil,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 DescribeLoginWhiteListRequestParams

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

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

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

Predefined struct for user

type DescribeLoginWhiteListResponse

type DescribeLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoginWhiteListResponseParams `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 DescribeLoginWhiteListResponseParams

type DescribeLoginWhiteListResponseParams struct {
	// Total number of records
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeMachineInfoRequest

type DescribeMachineInfoRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,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 DescribeMachineInfoRequestParams

type DescribeMachineInfoRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type DescribeMachineInfoResponse

type DescribeMachineInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMachineInfoResponseParams `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 DescribeMachineInfoResponseParams

type DescribeMachineInfoResponseParams struct {
	// Server IP.
	MachineIp *string `json:"MachineIp,omitnil,omitempty" name:"MachineIp"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Predefined struct for user

type DescribeMachinesRequest

type DescribeMachinesRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeMachinesRequestParams

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

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeMachinesResponse

type DescribeMachinesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMachinesResponseParams `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 DescribeMachinesResponseParams

type DescribeMachinesResponseParams struct {
	// Server list
	Machines []*Machine `json:"Machines,omitnil,omitempty" name:"Machines"`

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

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

Predefined struct for user

type DescribeMaliciousRequestsRequest

type DescribeMaliciousRequestsRequest struct {
	*tchttp.BaseRequest

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`

	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitnil,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 DescribeMaliciousRequestsRequestParams

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`

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

Predefined struct for user

type DescribeMaliciousRequestsResponse

type DescribeMaliciousRequestsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMaliciousRequestsResponseParams `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 DescribeMaliciousRequestsResponseParams

type DescribeMaliciousRequestsResponseParams struct {
	// Total number of records.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeMalwaresRequest

type DescribeMalwaresRequest struct {
	*tchttp.BaseRequest

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeMalwaresRequestParams

type DescribeMalwaresRequestParams struct {
	// Agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeMalwaresResponse

type DescribeMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMalwaresResponseParams `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 DescribeMalwaresResponseParams

type DescribeMalwaresResponseParams struct {
	// Total number of trojans.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeNonlocalLoginPlacesRequest

type DescribeNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeNonlocalLoginPlacesRequestParams

type DescribeNonlocalLoginPlacesRequestParams struct {
	// Agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeNonlocalLoginPlacesResponse

type DescribeNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNonlocalLoginPlacesResponseParams `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 DescribeNonlocalLoginPlacesResponseParams

type DescribeNonlocalLoginPlacesResponseParams struct {
	// Total number of records.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeOpenPortStatisticsRequest

type DescribeOpenPortStatisticsRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter.
	// <li>Port - Uint64 - Required: No - Port number</li>
	Filters []*Filter `json:"Filters,omitnil,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 DescribeOpenPortStatisticsRequestParams

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

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

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

Predefined struct for user

type DescribeOpenPortStatisticsResponse

type DescribeOpenPortStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOpenPortStatisticsResponseParams `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 DescribeOpenPortStatisticsResponseParams

type DescribeOpenPortStatisticsResponseParams struct {
	// Total number of records in port statistics list
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeOpenPortTaskStatusRequest

type DescribeOpenPortTaskStatusRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,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 DescribeOpenPortTaskStatusRequestParams

type DescribeOpenPortTaskStatusRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type DescribeOpenPortTaskStatusResponse

type DescribeOpenPortTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOpenPortTaskStatusResponseParams `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 DescribeOpenPortTaskStatusResponseParams

type DescribeOpenPortTaskStatusResponseParams 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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

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,omitnil,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,omitnil,omitempty" name:"Port"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeOpenPortsRequestParams

type DescribeOpenPortsRequestParams struct {
	// 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,omitnil,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,omitnil,omitempty" name:"Port"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeOpenPortsResponse

type DescribeOpenPortsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOpenPortsResponseParams `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 DescribeOpenPortsResponseParams

type DescribeOpenPortsResponseParams struct {
	// Total number of records in port list.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

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 DescribeOverviewStatisticsRequestParams

type DescribeOverviewStatisticsRequestParams struct {
}

Predefined struct for user

type DescribeOverviewStatisticsResponse

type DescribeOverviewStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOverviewStatisticsResponseParams `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 DescribeOverviewStatisticsResponseParams

type DescribeOverviewStatisticsResponseParams struct {
	// Number of online servers.
	OnlineMachineNum *uint64 `json:"OnlineMachineNum,omitnil,omitempty" name:"OnlineMachineNum"`

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

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

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

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

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

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

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

Predefined struct for user

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 DescribeProVersionInfoRequestParams

type DescribeProVersionInfoRequestParams struct {
}

Predefined struct for user

type DescribeProVersionInfoResponse

type DescribeProVersionInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProVersionInfoResponseParams `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 DescribeProVersionInfoResponseParams

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

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

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

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

Predefined struct for user

type DescribeProcessStatisticsRequest

type DescribeProcessStatisticsRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter.
	// <li>ProcessName - String - Required: No - Process name</li>
	Filters []*Filter `json:"Filters,omitnil,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 DescribeProcessStatisticsRequestParams

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

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

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

Predefined struct for user

type DescribeProcessStatisticsResponse

type DescribeProcessStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProcessStatisticsResponseParams `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 DescribeProcessStatisticsResponseParams

type DescribeProcessStatisticsResponseParams struct {
	// Total number of records in process statistics list.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Process statistics list array.
	ProcessStatistics []*ProcessStatistics `json:"ProcessStatistics,omitnil,omitempty" name:"ProcessStatistics"`

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

Predefined struct for user

type DescribeProcessTaskStatusRequest

type DescribeProcessTaskStatusRequest struct {
	*tchttp.BaseRequest

	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,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 DescribeProcessTaskStatusRequestParams

type DescribeProcessTaskStatusRequestParams struct {
	// CWP agent `Uuid`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type DescribeProcessTaskStatusResponse

type DescribeProcessTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProcessTaskStatusResponseParams `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 DescribeProcessTaskStatusResponseParams

type DescribeProcessTaskStatusResponseParams 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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

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,omitnil,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,omitnil,omitempty" name:"ProcessName"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeProcessesRequestParams

type DescribeProcessesRequestParams struct {
	// 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,omitnil,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,omitnil,omitempty" name:"ProcessName"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeProcessesResponse

type DescribeProcessesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProcessesResponseParams `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 DescribeProcessesResponseParams

type DescribeProcessesResponseParams struct {
	// Total number of records in process list.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Process list data array.
	Processes []*Process `json:"Processes,omitnil,omitempty" name:"Processes"`

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

Predefined struct for user

type DescribeSecurityDynamicsRequest

type DescribeSecurityDynamicsRequest struct {
	*tchttp.BaseRequest

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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 DescribeSecurityDynamicsRequestParams

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

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

Predefined struct for user

type DescribeSecurityDynamicsResponse

type DescribeSecurityDynamicsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityDynamicsResponseParams `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 DescribeSecurityDynamicsResponseParams

type DescribeSecurityDynamicsResponseParams struct {
	// Security event message array.
	SecurityDynamics []*SecurityDynamic `json:"SecurityDynamics,omitnil,omitempty" name:"SecurityDynamics"`

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

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

Predefined struct for user

type DescribeSecurityTrendsRequest

type DescribeSecurityTrendsRequest struct {
	*tchttp.BaseRequest

	// Start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

	// End time.
	EndDate *string `json:"EndDate,omitnil,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 DescribeSecurityTrendsRequestParams

type DescribeSecurityTrendsRequestParams struct {
	// Start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

	// End time.
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`
}

Predefined struct for user

type DescribeSecurityTrendsResponse

type DescribeSecurityTrendsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityTrendsResponseParams `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 DescribeSecurityTrendsResponseParams

type DescribeSecurityTrendsResponseParams struct {
	// Trojan event statistics array.
	Malwares []*SecurityTrend `json:"Malwares,omitnil,omitempty" name:"Malwares"`

	// Unusual login location event statistics array.
	NonLocalLoginPlaces []*SecurityTrend `json:"NonLocalLoginPlaces,omitnil,omitempty" name:"NonLocalLoginPlaces"`

	// Brute force attack event statistics array.
	BruteAttacks []*SecurityTrend `json:"BruteAttacks,omitnil,omitempty" name:"BruteAttacks"`

	// Vulnerability statistics array.
	Vuls []*SecurityTrend `json:"Vuls,omitnil,omitempty" name:"Vuls"`

	// Baseline statistics array.
	BaseLines []*SecurityTrend `json:"BaseLines,omitnil,omitempty" name:"BaseLines"`

	// Statistics array of malicious requests.
	MaliciousRequests []*SecurityTrend `json:"MaliciousRequests,omitnil,omitempty" name:"MaliciousRequests"`

	// Statistics array of high-risk commands.
	HighRiskBashs []*SecurityTrend `json:"HighRiskBashs,omitnil,omitempty" name:"HighRiskBashs"`

	// Statistics array of reverse shells.
	ReverseShells []*SecurityTrend `json:"ReverseShells,omitnil,omitempty" name:"ReverseShells"`

	// Statistics array of local privilege escalations.
	PrivilegeEscalations []*SecurityTrend `json:"PrivilegeEscalations,omitnil,omitempty" name:"PrivilegeEscalations"`

	// Statistics array of network attacks.
	CyberAttacks []*SecurityTrend `json:"CyberAttacks,omitnil,omitempty" name:"CyberAttacks"`

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

Predefined struct for user

type DescribeTagMachinesRequest

type DescribeTagMachinesRequest struct {
	*tchttp.BaseRequest

	// Tag ID
	Id *uint64 `json:"Id,omitnil,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 DescribeTagMachinesRequestParams

type DescribeTagMachinesRequestParams struct {
	// Tag ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeTagMachinesResponse

type DescribeTagMachinesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTagMachinesResponseParams `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 DescribeTagMachinesResponseParams

type DescribeTagMachinesResponseParams struct {
	// List data
	List []*TagMachine `json:"List,omitnil,omitempty" name:"List"`

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

Predefined struct for user

type DescribeTagsRequest

type DescribeTagsRequest struct {
	*tchttp.BaseRequest

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

	// Server region, such as `ap-guangzhou` and `ap-shanghai`
	MachineRegion *string `json:"MachineRegion,omitnil,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 DescribeTagsRequestParams

type DescribeTagsRequestParams struct {
	// CVM instance type.
	// <li>CVM: CVM</li>
	// <li>BM: CPM</li>
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

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

Predefined struct for user

type DescribeTagsResponse

type DescribeTagsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTagsResponseParams `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 DescribeTagsResponseParams

type DescribeTagsResponseParams struct {
	// List information
	List []*Tag `json:"List,omitnil,omitempty" name:"List"`

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

Predefined struct for user

type DescribeUsualLoginPlacesRequest

type DescribeUsualLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// CWP agent `UUID`
	Uuid *string `json:"Uuid,omitnil,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 DescribeUsualLoginPlacesRequestParams

type DescribeUsualLoginPlacesRequestParams struct {
	// CWP agent `UUID`
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`
}

Predefined struct for user

type DescribeUsualLoginPlacesResponse

type DescribeUsualLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsualLoginPlacesResponseParams `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 DescribeUsualLoginPlacesResponseParams

type DescribeUsualLoginPlacesResponseParams struct {
	// Usual login location array
	UsualLoginPlaces []*UsualPlace `json:"UsualLoginPlaces,omitnil,omitempty" name:"UsualLoginPlaces"`

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

Predefined struct for user

type DescribeVulInfoRequest

type DescribeVulInfoRequest struct {
	*tchttp.BaseRequest

	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitnil,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 DescribeVulInfoRequestParams

type DescribeVulInfoRequestParams struct {
	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitnil,omitempty" name:"VulId"`
}

Predefined struct for user

type DescribeVulInfoResponse

type DescribeVulInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVulInfoResponseParams `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 DescribeVulInfoResponseParams

type DescribeVulInfoResponseParams struct {
	// Vulnerability category ID.
	VulId *uint64 `json:"VulId,omitnil,omitempty" name:"VulId"`

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

	// Vulnerability level.
	VulLevel *string `json:"VulLevel,omitnil,omitempty" name:"VulLevel"`

	// Vulnerability type.
	VulType *string `json:"VulType,omitnil,omitempty" name:"VulType"`

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

	// Repair plan.
	RepairPlan *string `json:"RepairPlan,omitnil,omitempty" name:"RepairPlan"`

	// Vulnerability CVE.
	CveId *string `json:"CveId,omitnil,omitempty" name:"CveId"`

	// Reference link.
	Reference *string `json:"Reference,omitnil,omitempty" name:"Reference"`

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

Predefined struct for user

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 DescribeVulScanResultRequestParams

type DescribeVulScanResultRequestParams struct {
}

Predefined struct for user

type DescribeVulScanResultResponse

type DescribeVulScanResultResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVulScanResultResponseParams `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 DescribeVulScanResultResponseParams

type DescribeVulScanResultResponseParams struct {
	// Number of vulnerabilities.
	VulNum *uint64 `json:"VulNum,omitnil,omitempty" name:"VulNum"`

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

	// Number of affected activated CWP Pro.
	ImpactedHostNum *uint64 `json:"ImpactedHostNum,omitnil,omitempty" name:"ImpactedHostNum"`

	// Total number of servers.
	HostNum *uint64 `json:"HostNum,omitnil,omitempty" name:"HostNum"`

	// Number of servers on CWP Basic.
	BasicVersionNum *uint64 `json:"BasicVersionNum,omitnil,omitempty" name:"BasicVersionNum"`

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

Predefined struct for user

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,omitnil,omitempty" name:"VulType"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,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 DescribeVulsRequestParams

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

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeVulsResponse

type DescribeVulsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVulsResponseParams `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 DescribeVulsResponseParams

type DescribeVulsResponseParams struct {
	// Number of vulnerabilities.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Vulnerability list array.
	Vuls []*Vul `json:"Vuls,omitnil,omitempty" name:"Vuls"`

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

Predefined struct for user

type DescribeWeeklyReportBruteAttacksRequest

type DescribeWeeklyReportBruteAttacksRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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 DescribeWeeklyReportBruteAttacksRequestParams

type DescribeWeeklyReportBruteAttacksRequestParams struct {
	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

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

Predefined struct for user

type DescribeWeeklyReportBruteAttacksResponse

type DescribeWeeklyReportBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWeeklyReportBruteAttacksResponseParams `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 DescribeWeeklyReportBruteAttacksResponseParams

type DescribeWeeklyReportBruteAttacksResponseParams struct {
	// Brute force attack array in weekly CWP Pro report.
	WeeklyReportBruteAttacks []*WeeklyReportBruteAttack `json:"WeeklyReportBruteAttacks,omitnil,omitempty" name:"WeeklyReportBruteAttacks"`

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

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

Predefined struct for user

type DescribeWeeklyReportInfoRequest

type DescribeWeeklyReportInfoRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,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 DescribeWeeklyReportInfoRequestParams

type DescribeWeeklyReportInfoRequestParams struct {
	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`
}

Predefined struct for user

type DescribeWeeklyReportInfoResponse

type DescribeWeeklyReportInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWeeklyReportInfoResponseParams `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 DescribeWeeklyReportInfoResponseParams

type DescribeWeeklyReportInfoResponseParams struct {
	// Account owner name.
	CompanyName *string `json:"CompanyName,omitnil,omitempty" name:"CompanyName"`

	// Total number of servers.
	MachineNum *uint64 `json:"MachineNum,omitnil,omitempty" name:"MachineNum"`

	// Number of online CWP agents
	OnlineMachineNum *uint64 `json:"OnlineMachineNum,omitnil,omitempty" name:"OnlineMachineNum"`

	// Number of offline CWP agents.
	OfflineMachineNum *uint64 `json:"OfflineMachineNum,omitnil,omitempty" name:"OfflineMachineNum"`

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

	// Weekly report start time
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

	// Weekly report end time
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// Security level
	// <li>HIGH: high</li>
	// <li>MIDDLE: medium</li>
	// <li>LOW: low</li>
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

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

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

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

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

	// Download address for exported file.
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

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

Predefined struct for user

type DescribeWeeklyReportMalwaresRequest

type DescribeWeeklyReportMalwaresRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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 DescribeWeeklyReportMalwaresRequestParams

type DescribeWeeklyReportMalwaresRequestParams struct {
	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

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

Predefined struct for user

type DescribeWeeklyReportMalwaresResponse

type DescribeWeeklyReportMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWeeklyReportMalwaresResponseParams `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 DescribeWeeklyReportMalwaresResponseParams

type DescribeWeeklyReportMalwaresResponseParams struct {
	// Trojan data in weekly CWP Pro report.
	WeeklyReportMalwares []*WeeklyReportMalware `json:"WeeklyReportMalwares,omitnil,omitempty" name:"WeeklyReportMalwares"`

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

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

Predefined struct for user

type DescribeWeeklyReportNonlocalLoginPlacesRequest

type DescribeWeeklyReportNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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 DescribeWeeklyReportNonlocalLoginPlacesRequestParams

type DescribeWeeklyReportNonlocalLoginPlacesRequestParams struct {
	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

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

Predefined struct for user

type DescribeWeeklyReportNonlocalLoginPlacesResponse

type DescribeWeeklyReportNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWeeklyReportNonlocalLoginPlacesResponseParams `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 DescribeWeeklyReportNonlocalLoginPlacesResponseParams

type DescribeWeeklyReportNonlocalLoginPlacesResponseParams struct {
	// Unusual login location data in weekly CWP Pro report
	WeeklyReportNonlocalLoginPlaces []*WeeklyReportNonlocalLoginPlace `json:"WeeklyReportNonlocalLoginPlaces,omitnil,omitempty" name:"WeeklyReportNonlocalLoginPlaces"`

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

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

Predefined struct for user

type DescribeWeeklyReportVulsRequest

type DescribeWeeklyReportVulsRequest struct {
	*tchttp.BaseRequest

	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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 DescribeWeeklyReportVulsRequestParams

type DescribeWeeklyReportVulsRequestParams struct {
	// Weekly CWP Pro report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

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

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

Predefined struct for user

type DescribeWeeklyReportVulsResponse

type DescribeWeeklyReportVulsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWeeklyReportVulsResponseParams `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 DescribeWeeklyReportVulsResponseParams

type DescribeWeeklyReportVulsResponseParams struct {
	// Vulnerability data array in weekly CWP Pro report.
	WeeklyReportVuls []*WeeklyReportVul `json:"WeeklyReportVuls,omitnil,omitempty" name:"WeeklyReportVuls"`

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

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

Predefined struct for user

type DescribeWeeklyReportsRequest

type DescribeWeeklyReportsRequest struct {
	*tchttp.BaseRequest

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

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,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 DescribeWeeklyReportsRequestParams

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

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

Predefined struct for user

type DescribeWeeklyReportsResponse

type DescribeWeeklyReportsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWeeklyReportsResponseParams `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 DescribeWeeklyReportsResponseParams

type DescribeWeeklyReportsResponseParams struct {
	// Weekly CWP Pro report list array.
	WeeklyReports []*WeeklyReport `json:"WeeklyReports,omitnil,omitempty" name:"WeeklyReports"`

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

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

Predefined struct for user

type EditTagsRequest

type EditTagsRequest struct {
	*tchttp.BaseRequest

	// Tag name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

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

	// CVM instance ID
	Quuids []*string `json:"Quuids,omitnil,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 EditTagsRequestParams

type EditTagsRequestParams struct {
	// Tag name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

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

	// CVM instance ID
	Quuids []*string `json:"Quuids,omitnil,omitempty" name:"Quuids"`
}

Predefined struct for user

type EditTagsResponse

type EditTagsResponse struct {
	*tchttp.BaseResponse
	Response *EditTagsResponseParams `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 EditTagsResponseParams

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

Predefined struct for user

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 ExportBruteAttacksRequestParams

type ExportBruteAttacksRequestParams struct {
}

Predefined struct for user

type ExportBruteAttacksResponse

type ExportBruteAttacksResponse struct {
	*tchttp.BaseResponse
	Response *ExportBruteAttacksResponseParams `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 ExportBruteAttacksResponseParams

type ExportBruteAttacksResponseParams struct {
	// Download address for exported file.
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

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

Predefined struct for user

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 ExportMaliciousRequestsRequestParams

type ExportMaliciousRequestsRequestParams struct {
}

Predefined struct for user

type ExportMaliciousRequestsResponse

type ExportMaliciousRequestsResponse struct {
	*tchttp.BaseResponse
	Response *ExportMaliciousRequestsResponseParams `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 ExportMaliciousRequestsResponseParams

type ExportMaliciousRequestsResponseParams struct {
	// Download address for exported file.
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

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

Predefined struct for user

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 ExportMalwaresRequestParams

type ExportMalwaresRequestParams struct {
}

Predefined struct for user

type ExportMalwaresResponse

type ExportMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *ExportMalwaresResponseParams `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 ExportMalwaresResponseParams

type ExportMalwaresResponseParams struct {
	// Download address for exported file.
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

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

Predefined struct for user

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 ExportNonlocalLoginPlacesRequestParams

type ExportNonlocalLoginPlacesRequestParams struct {
}

Predefined struct for user

type ExportNonlocalLoginPlacesResponse

type ExportNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *ExportNonlocalLoginPlacesResponseParams `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 ExportNonlocalLoginPlacesResponseParams

type ExportNonlocalLoginPlacesResponseParams struct {
	// Download address for exported file.
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

	// Export task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

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

Predefined struct for user

type Filter

type Filter struct {
	// Filter key name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// One or more filter values.
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type HistoryAccount

type HistoryAccount struct {
	// Unique ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

	// Account name.
	Username *string `json:"Username,omitnil,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,omitnil,omitempty" name:"ModifyType"`

	// Change time.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
}

type IgnoreImpactedHostsRequest

type IgnoreImpactedHostsRequest struct {
	*tchttp.BaseRequest

	// Vulnerability ID array.
	Ids []*uint64 `json:"Ids,omitnil,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 IgnoreImpactedHostsRequestParams

type IgnoreImpactedHostsRequestParams struct {
	// Vulnerability ID array.
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type IgnoreImpactedHostsResponse

type IgnoreImpactedHostsResponse struct {
	*tchttp.BaseResponse
	Response *IgnoreImpactedHostsResponseParams `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 IgnoreImpactedHostsResponseParams

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

Predefined struct for user

type ImpactedHost

type ImpactedHost struct {
	// Vulnerability ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

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

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

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

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

	// Whether it is the CWP Pro.
	IsProVersion *bool `json:"IsProVersion,omitnil,omitempty" name:"IsProVersion"`
}

type LoginWhiteLists

type LoginWhiteLists struct {
	// Record ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

	// Whitelisted location
	Places []*Place `json:"Places,omitnil,omitempty" name:"Places"`

	// Whitelisted users (separated by commas)
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Whitelisted IPs (separated by commas)
	SrcIp *string `json:"SrcIp,omitnil,omitempty" name:"SrcIp"`

	// Whether this rule is applied to all servers under the current account
	IsGlobal *bool `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"`

	// Whitelist creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Whitelist modification time
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

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

	// Server IP
	HostIp *string `json:"HostIp,omitnil,omitempty" name:"HostIp"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type LoginWhiteListsRule

type LoginWhiteListsRule struct {
	// Whitelisted location
	Places []*Place `json:"Places,omitnil,omitempty" name:"Places"`

	// Whitelisted IPs (separated by commas). This parameter can be an IP range.
	SrcIp *string `json:"SrcIp,omitnil,omitempty" name:"SrcIp"`

	// Whitelisted usernames (separated by commas)
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Whether this rule is applied to all servers under the current account
	IsGlobal *bool `json:"IsGlobal,omitnil,omitempty" name:"IsGlobal"`

	// Server for which the allowlist takes effect
	HostIp *string `json:"HostIp,omitnil,omitempty" name:"HostIp"`

	// Rule ID, used for rule updating
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type Machine

type Machine struct {
	// Server name.
	MachineName *string `json:"MachineName,omitnil,omitempty" name:"MachineName"`

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

	// Server status.
	// <li>OFFLINE: offline</li>
	// <li>ONLINE: online</li>
	// <li>MACHINE_STOPPED: shut down</li>
	MachineStatus *string `json:"MachineStatus,omitnil,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,omitnil,omitempty" name:"Uuid"`

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

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

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

	// Whether the server has enabled CWP Pro.
	// <li>true: yes</li>
	// <li>false: no</li>
	IsProVersion *bool `json:"IsProVersion,omitnil,omitempty" name:"IsProVersion"`

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

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

	// Number of trojans.
	MalwareNum *int64 `json:"MalwareNum,omitnil,omitempty" name:"MalwareNum"`

	// Tag information
	Tag []*MachineTag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// Number of baseline risks.
	BaselineNum *int64 `json:"BaselineNum,omitnil,omitempty" name:"BaselineNum"`

	// Number of network risks.
	CyberAttackNum *int64 `json:"CyberAttackNum,omitnil,omitempty" name:"CyberAttackNum"`

	// Risk status.
	// <li>SAFE: safe</li>
	// <li>RISK: at risk</li>
	// <li>UNKNOWN: unknown</li>
	SecurityStatus *string `json:"SecurityStatus,omitnil,omitempty" name:"SecurityStatus"`

	// Number of intrusions
	InvasionNum *int64 `json:"InvasionNum,omitnil,omitempty" name:"InvasionNum"`

	// Region information
	RegionInfo *RegionInfo `json:"RegionInfo,omitnil,omitempty" name:"RegionInfo"`
}

type MachineTag

type MachineTag struct {
	// Associated tag ID
	Rid *int64 `json:"Rid,omitnil,omitempty" name:"Rid"`

	// Tag name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

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

type MaliciousRequest

type MaliciousRequest struct {
	// Record ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

	// Malicious request domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Number of malicious requests.
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Process name.
	ProcessName *string `json:"ProcessName,omitnil,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,omitnil,omitempty" name:"Status"`

	// Malicious request domain name description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Reference address.
	Reference *string `json:"Reference,omitnil,omitempty" name:"Reference"`

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

	// Record merge time.
	MergeTime *string `json:"MergeTime,omitnil,omitempty" name:"MergeTime"`

	// Process MD5
	// Value.
	ProcessMd5 *string `json:"ProcessMd5,omitnil,omitempty" name:"ProcessMd5"`

	// Executed command line.
	CmdLine *string `json:"CmdLine,omitnil,omitempty" name:"CmdLine"`

	// Process `PID`.
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type Malware

type Malware struct {
	// Event ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Server IP.
	MachineIp *string `json:"MachineIp,omitnil,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,omitnil,omitempty" name:"Status"`

	// Trojan path.
	FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`

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

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

	// Trojan file creation time.
	FileCreateTime *string `json:"FileCreateTime,omitnil,omitempty" name:"FileCreateTime"`

	// Trojan file modification time.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

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

type MisAlarmNonlocalLoginPlacesRequest

type MisAlarmNonlocalLoginPlacesRequest struct {
	*tchttp.BaseRequest

	// Unusual login location event ID array.
	Ids []*uint64 `json:"Ids,omitnil,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 MisAlarmNonlocalLoginPlacesRequestParams

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

Predefined struct for user

type MisAlarmNonlocalLoginPlacesResponse

type MisAlarmNonlocalLoginPlacesResponse struct {
	*tchttp.BaseResponse
	Response *MisAlarmNonlocalLoginPlacesResponseParams `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 MisAlarmNonlocalLoginPlacesResponseParams

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

Predefined struct for user

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,omitnil,omitempty" name:"Attribute"`

	// Alarm item attributes.
	// <li>CLOSE: disabled</li>
	// <li>OPEN: enabled</li>
	Value *string `json:"Value,omitnil,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 ModifyAlarmAttributeRequestParams

type ModifyAlarmAttributeRequestParams struct {
	// 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,omitnil,omitempty" name:"Attribute"`

	// Alarm item attributes.
	// <li>CLOSE: disabled</li>
	// <li>OPEN: enabled</li>
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

Predefined struct for user

type ModifyAlarmAttributeResponse

type ModifyAlarmAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAlarmAttributeResponseParams `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 ModifyAlarmAttributeResponseParams

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

Predefined struct for user

type ModifyAutoOpenProVersionConfigRequest

type ModifyAutoOpenProVersionConfigRequest struct {
	*tchttp.BaseRequest

	// Auto-Activation status.
	// <li>CLOSE: disabled</li>
	// <li>OPEN: enabled</li>
	Status *string `json:"Status,omitnil,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 ModifyAutoOpenProVersionConfigRequestParams

type ModifyAutoOpenProVersionConfigRequestParams struct {
	// Auto-Activation status.
	// <li>CLOSE: disabled</li>
	// <li>OPEN: enabled</li>
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyAutoOpenProVersionConfigResponse

type ModifyAutoOpenProVersionConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAutoOpenProVersionConfigResponseParams `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 ModifyAutoOpenProVersionConfigResponseParams

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

Predefined struct for user

type ModifyLoginWhiteListRequest

type ModifyLoginWhiteListRequest struct {
	*tchttp.BaseRequest

	// Whitelist rule
	Rules *LoginWhiteListsRule `json:"Rules,omitnil,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 ModifyLoginWhiteListRequestParams

type ModifyLoginWhiteListRequestParams struct {
	// Whitelist rule
	Rules *LoginWhiteListsRule `json:"Rules,omitnil,omitempty" name:"Rules"`
}

Predefined struct for user

type ModifyLoginWhiteListResponse

type ModifyLoginWhiteListResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoginWhiteListResponseParams `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 ModifyLoginWhiteListResponseParams

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

Predefined struct for user

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,omitnil,omitempty" name:"RenewFlag"`

	// Unique server ID, corresponding to `uuid` for CVM or `instanceId` for BM.
	Quuid *string `json:"Quuid,omitnil,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 ModifyProVersionRenewFlagRequestParams

type ModifyProVersionRenewFlagRequestParams struct {
	// 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,omitnil,omitempty" name:"RenewFlag"`

	// Unique server ID, corresponding to `uuid` for CVM or `instanceId` for BM.
	Quuid *string `json:"Quuid,omitnil,omitempty" name:"Quuid"`
}

Predefined struct for user

type ModifyProVersionRenewFlagResponse

type ModifyProVersionRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProVersionRenewFlagResponseParams `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 ModifyProVersionRenewFlagResponseParams

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

Predefined struct for user

type NonLocalLoginPlace

type NonLocalLoginPlace struct {
	// Event ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

	// Login status
	// <li>NON_LOCAL_LOGIN: unusual login location</li>
	// <li>NORMAL_LOGIN: intended login</li>
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

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

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

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

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

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

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

	// Login time.
	LoginTime *string `json:"LoginTime,omitnil,omitempty" name:"LoginTime"`

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

type OpenPort

type OpenPort struct {
	// Unique ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

	// Open port number.
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

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

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

	// Process name corresponding to port.
	ProcessName *string `json:"ProcessName,omitnil,omitempty" name:"ProcessName"`

	// Process `Pid` corresponding to port.
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Record creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Record update time.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
}

type OpenPortStatistics

type OpenPortStatistics struct {
	// Port number
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

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

type OpenProVersionRequest

type OpenProVersionRequest struct {
	*tchttp.BaseRequest

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

	// Server region
	// Examples: ap-guangzhou, ap-shanghai
	MachineRegion *string `json:"MachineRegion,omitnil,omitempty" name:"MachineRegion"`

	// Server `Uuid` array.
	// `InstanceId` for BM or `Uuid` for CVM
	Quuids []*string `json:"Quuids,omitnil,omitempty" name:"Quuids"`

	// Event ID.
	ActivityId *uint64 `json:"ActivityId,omitnil,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 OpenProVersionRequestParams

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

	// Server region
	// Examples: ap-guangzhou, ap-shanghai
	MachineRegion *string `json:"MachineRegion,omitnil,omitempty" name:"MachineRegion"`

	// Server `Uuid` array.
	// `InstanceId` for BM or `Uuid` for CVM
	Quuids []*string `json:"Quuids,omitnil,omitempty" name:"Quuids"`

	// Event ID.
	ActivityId *uint64 `json:"ActivityId,omitnil,omitempty" name:"ActivityId"`
}

Predefined struct for user

type OpenProVersionResponse

type OpenProVersionResponse struct {
	*tchttp.BaseResponse
	Response *OpenProVersionResponseParams `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 OpenProVersionResponseParams

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

Predefined struct for user

type Place

type Place struct {
	// City ID.
	CityId *uint64 `json:"CityId,omitnil,omitempty" name:"CityId"`

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

	// Country/Region ID. Currently, only `1` (Mainland China) is supported.
	CountryId *uint64 `json:"CountryId,omitnil,omitempty" name:"CountryId"`
}

type Process

type Process struct {
	// Unique ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

	// Process `Pid`.
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Process `Ppid`.
	Ppid *uint64 `json:"Ppid,omitnil,omitempty" name:"Ppid"`

	// Process name.
	ProcessName *string `json:"ProcessName,omitnil,omitempty" name:"ProcessName"`

	// Process username.
	Username *string `json:"Username,omitnil,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,omitnil,omitempty" name:"Platform"`

	// Process path.
	FullPath *string `json:"FullPath,omitnil,omitempty" name:"FullPath"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ProcessStatistics

type ProcessStatistics struct {
	// Process name.
	ProcessName *string `json:"ProcessName,omitnil,omitempty" name:"ProcessName"`

	// Number of servers.
	MachineNum *uint64 `json:"MachineNum,omitnil,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,omitnil,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 RecoverMalwaresRequestParams

type RecoverMalwaresRequestParams struct {
	// Trojan ID array. Up to 200 IDs can be deleted at a time
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type RecoverMalwaresResponse

type RecoverMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *RecoverMalwaresResponseParams `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 RecoverMalwaresResponseParams

type RecoverMalwaresResponseParams struct {
	// Array of IDs of successfully recovered trojans.
	SuccessIds []*uint64 `json:"SuccessIds,omitnil,omitempty" name:"SuccessIds"`

	// Array of IDs of trojans failed to be recovered.
	FailedIds []*uint64 `json:"FailedIds,omitnil,omitempty" name:"FailedIds"`

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

Predefined struct for user

type RegionInfo

type RegionInfo struct {
	// Region, such as `ap-guangzhou`, `ap-shanghai` and `ap-beijing`
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Region name, such as `South China (Guangzhou)`, `East China (Shanghai)`, and `North China (Beijing)`
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// Region ID
	RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Region code, such as `gz`, `sh`, and `bj`
	RegionCode *string `json:"RegionCode,omitnil,omitempty" name:"RegionCode"`
}

type RescanImpactedHostRequest

type RescanImpactedHostRequest struct {
	*tchttp.BaseRequest

	// Vulnerability ID.
	Id *uint64 `json:"Id,omitnil,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 RescanImpactedHostRequestParams

type RescanImpactedHostRequestParams struct {
	// Vulnerability ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type RescanImpactedHostResponse

type RescanImpactedHostResponse struct {
	*tchttp.BaseResponse
	Response *RescanImpactedHostResponseParams `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 RescanImpactedHostResponseParams

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

Predefined struct for user

type SecurityDynamic

type SecurityDynamic struct {
	// CWP agent `UUID`.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

	// Security event occurrence time.
	EventTime *string `json:"EventTime,omitnil,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,omitnil,omitempty" name:"EventType"`

	// Security event message.
	Message *string `json:"Message,omitnil,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,omitnil,omitempty" name:"SecurityLevel"`
}

type SecurityTrend

type SecurityTrend struct {
	// Event time.
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`

	// Number of events.
	EventNum *uint64 `json:"EventNum,omitnil,omitempty" name:"EventNum"`
}

type SeparateMalwaresRequest

type SeparateMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan event ID array.
	Ids []*uint64 `json:"Ids,omitnil,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 SeparateMalwaresRequestParams

type SeparateMalwaresRequestParams struct {
	// Trojan event ID array.
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type SeparateMalwaresResponse

type SeparateMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *SeparateMalwaresResponseParams `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 SeparateMalwaresResponseParams

type SeparateMalwaresResponseParams struct {
	// Array of IDs of successfully isolated trojans.
	SuccessIds []*uint64 `json:"SuccessIds,omitnil,omitempty" name:"SuccessIds"`

	// Array of IDs of trojans failed to be isolated.
	FailedIds []*uint64 `json:"FailedIds,omitnil,omitempty" name:"FailedIds"`

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

Predefined struct for user

type Tag

type Tag struct {
	// Tag ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Tag name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Number of servers
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type TagMachine

type TagMachine struct {
	// ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

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

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

	// Server region type
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`
}

type TrustMaliciousRequestRequest

type TrustMaliciousRequestRequest struct {
	*tchttp.BaseRequest

	// Malicious request record ID.
	Id *uint64 `json:"Id,omitnil,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 TrustMaliciousRequestRequestParams

type TrustMaliciousRequestRequestParams struct {
	// Malicious request record ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type TrustMaliciousRequestResponse

type TrustMaliciousRequestResponse struct {
	*tchttp.BaseResponse
	Response *TrustMaliciousRequestResponseParams `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 TrustMaliciousRequestResponseParams

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

Predefined struct for user

type TrustMalwaresRequest

type TrustMalwaresRequest struct {
	*tchttp.BaseRequest

	// Trojan ID array.
	Ids []*uint64 `json:"Ids,omitnil,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 TrustMalwaresRequestParams

type TrustMalwaresRequestParams struct {
	// Trojan ID array.
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type TrustMalwaresResponse

type TrustMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *TrustMalwaresResponseParams `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 TrustMalwaresResponseParams

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

Predefined struct for user

type UntrustMaliciousRequestRequest

type UntrustMaliciousRequestRequest struct {
	*tchttp.BaseRequest

	// Trusted record ID.
	Id *uint64 `json:"Id,omitnil,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 UntrustMaliciousRequestRequestParams

type UntrustMaliciousRequestRequestParams struct {
	// Trusted record ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type UntrustMaliciousRequestResponse

type UntrustMaliciousRequestResponse struct {
	*tchttp.BaseResponse
	Response *UntrustMaliciousRequestResponseParams `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 UntrustMaliciousRequestResponseParams

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

Predefined struct for user

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,omitnil,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 UntrustMalwaresRequestParams

type UntrustMalwaresRequestParams struct {
	// Trojan event ID array. Up to 200 IDs can be processed at a time.
	Ids []*uint64 `json:"Ids,omitnil,omitempty" name:"Ids"`
}

Predefined struct for user

type UntrustMalwaresResponse

type UntrustMalwaresResponse struct {
	*tchttp.BaseResponse
	Response *UntrustMalwaresResponseParams `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 UntrustMalwaresResponseParams

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

Predefined struct for user

type UsualPlace

type UsualPlace struct {
	// ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

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

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

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

type Vul

type Vul struct {
	// Vulnerability category ID
	VulId *uint64 `json:"VulId,omitnil,omitempty" name:"VulId"`

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

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

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

	// Number of affected servers
	ImpactedHostNum *uint64 `json:"ImpactedHostNum,omitnil,omitempty" name:"ImpactedHostNum"`

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

type WeeklyReport

type WeeklyReport struct {
	// Weekly report start time.
	BeginDate *string `json:"BeginDate,omitnil,omitempty" name:"BeginDate"`

	// Weekly report end time.
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`
}

type WeeklyReportBruteAttack

type WeeklyReportBruteAttack struct {
	// Server IP.
	MachineIp *string `json:"MachineIp,omitnil,omitempty" name:"MachineIp"`

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

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

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

	// Attack time.
	AttackTime *string `json:"AttackTime,omitnil,omitempty" name:"AttackTime"`
}

type WeeklyReportMalware

type WeeklyReportMalware struct {
	// Server IP.
	MachineIp *string `json:"MachineIp,omitnil,omitempty" name:"MachineIp"`

	// Trojan file path.
	FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`

	// Trojan file MD5 value.
	Md5 *string `json:"Md5,omitnil,omitempty" name:"Md5"`

	// Trojan discovery time.
	FindTime *string `json:"FindTime,omitnil,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,omitnil,omitempty" name:"Status"`
}

type WeeklyReportNonlocalLoginPlace

type WeeklyReportNonlocalLoginPlace struct {
	// Server IP.
	MachineIp *string `json:"MachineIp,omitnil,omitempty" name:"MachineIp"`

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

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

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

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

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

	// Login time.
	LoginTime *string `json:"LoginTime,omitnil,omitempty" name:"LoginTime"`
}

type WeeklyReportVul

type WeeklyReportVul struct {
	// Private IP of server.
	MachineIp *string `json:"MachineIp,omitnil,omitempty" name:"MachineIp"`

	// Vulnerability name.
	VulName *string `json:"VulName,omitnil,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,omitnil,omitempty" name:"VulType"`

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

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

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

Jump to

Keyboard shortcuts

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