Documentation
¶
Index ¶
- Constants
- type Account
- type AccountStatistics
- type AddLoginWhiteListRequest
- type AddLoginWhiteListResponse
- type AddMachineTagRequest
- type AddMachineTagResponse
- type AgentVul
- type BashEvent
- type BashRule
- type BruteAttack
- type ChargePrepaid
- type Client
- func (c *Client) AddLoginWhiteList(request *AddLoginWhiteListRequest) (response *AddLoginWhiteListResponse, err error)
- func (c *Client) AddMachineTag(request *AddMachineTagRequest) (response *AddMachineTagResponse, err error)
- func (c *Client) CloseProVersion(request *CloseProVersionRequest) (response *CloseProVersionResponse, err error)
- func (c *Client) CreateOpenPortTask(request *CreateOpenPortTaskRequest) (response *CreateOpenPortTaskResponse, err error)
- func (c *Client) CreateProcessTask(request *CreateProcessTaskRequest) (response *CreateProcessTaskResponse, err error)
- func (c *Client) CreateUsualLoginPlaces(request *CreateUsualLoginPlacesRequest) (response *CreateUsualLoginPlacesResponse, err error)
- func (c *Client) DeleteAttackLogs(request *DeleteAttackLogsRequest) (response *DeleteAttackLogsResponse, err error)
- func (c *Client) DeleteBashEvents(request *DeleteBashEventsRequest) (response *DeleteBashEventsResponse, err error)
- func (c *Client) DeleteBashRules(request *DeleteBashRulesRequest) (response *DeleteBashRulesResponse, err error)
- func (c *Client) DeleteBruteAttacks(request *DeleteBruteAttacksRequest) (response *DeleteBruteAttacksResponse, err error)
- func (c *Client) DeleteLoginWhiteList(request *DeleteLoginWhiteListRequest) (response *DeleteLoginWhiteListResponse, err error)
- func (c *Client) DeleteMachine(request *DeleteMachineRequest) (response *DeleteMachineResponse, err error)
- func (c *Client) DeleteMachineTag(request *DeleteMachineTagRequest) (response *DeleteMachineTagResponse, err error)
- func (c *Client) DeleteMaliciousRequests(request *DeleteMaliciousRequestsRequest) (response *DeleteMaliciousRequestsResponse, err error)
- func (c *Client) DeleteMalwares(request *DeleteMalwaresRequest) (response *DeleteMalwaresResponse, err error)
- func (c *Client) DeleteNonlocalLoginPlaces(request *DeleteNonlocalLoginPlacesRequest) (response *DeleteNonlocalLoginPlacesResponse, err error)
- func (c *Client) DeletePrivilegeEvents(request *DeletePrivilegeEventsRequest) (response *DeletePrivilegeEventsResponse, err error)
- func (c *Client) DeletePrivilegeRules(request *DeletePrivilegeRulesRequest) (response *DeletePrivilegeRulesResponse, err error)
- func (c *Client) DeleteReverseShellEvents(request *DeleteReverseShellEventsRequest) (response *DeleteReverseShellEventsResponse, err error)
- func (c *Client) DeleteReverseShellRules(request *DeleteReverseShellRulesRequest) (response *DeleteReverseShellRulesResponse, err error)
- func (c *Client) DeleteTags(request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
- func (c *Client) DeleteUsualLoginPlaces(request *DeleteUsualLoginPlacesRequest) (response *DeleteUsualLoginPlacesResponse, err error)
- func (c *Client) DescribeAccountStatistics(request *DescribeAccountStatisticsRequest) (response *DescribeAccountStatisticsResponse, err error)
- func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeAgentVuls(request *DescribeAgentVulsRequest) (response *DescribeAgentVulsResponse, err error)
- func (c *Client) DescribeAlarmAttribute(request *DescribeAlarmAttributeRequest) (response *DescribeAlarmAttributeResponse, err error)
- func (c *Client) DescribeAttackLogInfo(request *DescribeAttackLogInfoRequest) (response *DescribeAttackLogInfoResponse, err error)
- func (c *Client) DescribeAttackLogs(request *DescribeAttackLogsRequest) (response *DescribeAttackLogsResponse, err error)
- func (c *Client) DescribeBashEvents(request *DescribeBashEventsRequest) (response *DescribeBashEventsResponse, err error)
- func (c *Client) DescribeBashRules(request *DescribeBashRulesRequest) (response *DescribeBashRulesResponse, err error)
- func (c *Client) DescribeBruteAttacks(request *DescribeBruteAttacksRequest) (response *DescribeBruteAttacksResponse, err error)
- func (c *Client) DescribeComponentInfo(request *DescribeComponentInfoRequest) (response *DescribeComponentInfoResponse, err error)
- func (c *Client) DescribeComponentStatistics(request *DescribeComponentStatisticsRequest) (response *DescribeComponentStatisticsResponse, err error)
- func (c *Client) DescribeComponents(request *DescribeComponentsRequest) (response *DescribeComponentsResponse, err error)
- func (c *Client) DescribeHistoryAccounts(request *DescribeHistoryAccountsRequest) (response *DescribeHistoryAccountsResponse, err error)
- func (c *Client) DescribeImpactedHosts(request *DescribeImpactedHostsRequest) (response *DescribeImpactedHostsResponse, err error)
- func (c *Client) DescribeLoginWhiteList(request *DescribeLoginWhiteListRequest) (response *DescribeLoginWhiteListResponse, err error)
- func (c *Client) DescribeMachineInfo(request *DescribeMachineInfoRequest) (response *DescribeMachineInfoResponse, err error)
- func (c *Client) DescribeMachines(request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
- func (c *Client) DescribeMaliciousRequests(request *DescribeMaliciousRequestsRequest) (response *DescribeMaliciousRequestsResponse, err error)
- func (c *Client) DescribeMalwares(request *DescribeMalwaresRequest) (response *DescribeMalwaresResponse, err error)
- func (c *Client) DescribeNonlocalLoginPlaces(request *DescribeNonlocalLoginPlacesRequest) (response *DescribeNonlocalLoginPlacesResponse, err error)
- func (c *Client) DescribeOpenPortStatistics(request *DescribeOpenPortStatisticsRequest) (response *DescribeOpenPortStatisticsResponse, err error)
- func (c *Client) DescribeOpenPortTaskStatus(request *DescribeOpenPortTaskStatusRequest) (response *DescribeOpenPortTaskStatusResponse, err error)
- func (c *Client) DescribeOpenPorts(request *DescribeOpenPortsRequest) (response *DescribeOpenPortsResponse, err error)
- func (c *Client) DescribeOverviewStatistics(request *DescribeOverviewStatisticsRequest) (response *DescribeOverviewStatisticsResponse, err error)
- func (c *Client) DescribePrivilegeEvents(request *DescribePrivilegeEventsRequest) (response *DescribePrivilegeEventsResponse, err error)
- func (c *Client) DescribePrivilegeRules(request *DescribePrivilegeRulesRequest) (response *DescribePrivilegeRulesResponse, err error)
- func (c *Client) DescribeProVersionInfo(request *DescribeProVersionInfoRequest) (response *DescribeProVersionInfoResponse, err error)
- func (c *Client) DescribeProcessStatistics(request *DescribeProcessStatisticsRequest) (response *DescribeProcessStatisticsResponse, err error)
- func (c *Client) DescribeProcessTaskStatus(request *DescribeProcessTaskStatusRequest) (response *DescribeProcessTaskStatusResponse, err error)
- func (c *Client) DescribeProcesses(request *DescribeProcessesRequest) (response *DescribeProcessesResponse, err error)
- func (c *Client) DescribeReverseShellEvents(request *DescribeReverseShellEventsRequest) (response *DescribeReverseShellEventsResponse, err error)
- func (c *Client) DescribeReverseShellRules(request *DescribeReverseShellRulesRequest) (response *DescribeReverseShellRulesResponse, err error)
- func (c *Client) DescribeSecurityDynamics(request *DescribeSecurityDynamicsRequest) (response *DescribeSecurityDynamicsResponse, err error)
- func (c *Client) DescribeSecurityTrends(request *DescribeSecurityTrendsRequest) (response *DescribeSecurityTrendsResponse, err error)
- func (c *Client) DescribeTagMachines(request *DescribeTagMachinesRequest) (response *DescribeTagMachinesResponse, err error)
- func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
- func (c *Client) DescribeUsualLoginPlaces(request *DescribeUsualLoginPlacesRequest) (response *DescribeUsualLoginPlacesResponse, err error)
- func (c *Client) DescribeVulInfo(request *DescribeVulInfoRequest) (response *DescribeVulInfoResponse, err error)
- func (c *Client) DescribeVulScanResult(request *DescribeVulScanResultRequest) (response *DescribeVulScanResultResponse, err error)
- func (c *Client) DescribeVuls(request *DescribeVulsRequest) (response *DescribeVulsResponse, err error)
- func (c *Client) DescribeWeeklyReportBruteAttacks(request *DescribeWeeklyReportBruteAttacksRequest) (response *DescribeWeeklyReportBruteAttacksResponse, err error)
- func (c *Client) DescribeWeeklyReportInfo(request *DescribeWeeklyReportInfoRequest) (response *DescribeWeeklyReportInfoResponse, err error)
- func (c *Client) DescribeWeeklyReportMalwares(request *DescribeWeeklyReportMalwaresRequest) (response *DescribeWeeklyReportMalwaresResponse, err error)
- func (c *Client) DescribeWeeklyReportNonlocalLoginPlaces(request *DescribeWeeklyReportNonlocalLoginPlacesRequest) (response *DescribeWeeklyReportNonlocalLoginPlacesResponse, err error)
- func (c *Client) DescribeWeeklyReportVuls(request *DescribeWeeklyReportVulsRequest) (response *DescribeWeeklyReportVulsResponse, err error)
- func (c *Client) DescribeWeeklyReports(request *DescribeWeeklyReportsRequest) (response *DescribeWeeklyReportsResponse, err error)
- func (c *Client) EditBashRule(request *EditBashRuleRequest) (response *EditBashRuleResponse, err error)
- func (c *Client) EditPrivilegeRule(request *EditPrivilegeRuleRequest) (response *EditPrivilegeRuleResponse, err error)
- func (c *Client) EditReverseShellRule(request *EditReverseShellRuleRequest) (response *EditReverseShellRuleResponse, err error)
- func (c *Client) EditTags(request *EditTagsRequest) (response *EditTagsResponse, err error)
- func (c *Client) ExportAttackLogs(request *ExportAttackLogsRequest) (response *ExportAttackLogsResponse, err error)
- func (c *Client) ExportBashEvents(request *ExportBashEventsRequest) (response *ExportBashEventsResponse, err error)
- func (c *Client) ExportBruteAttacks(request *ExportBruteAttacksRequest) (response *ExportBruteAttacksResponse, err error)
- func (c *Client) ExportMaliciousRequests(request *ExportMaliciousRequestsRequest) (response *ExportMaliciousRequestsResponse, err error)
- func (c *Client) ExportMalwares(request *ExportMalwaresRequest) (response *ExportMalwaresResponse, err error)
- func (c *Client) ExportNonlocalLoginPlaces(request *ExportNonlocalLoginPlacesRequest) (response *ExportNonlocalLoginPlacesResponse, err error)
- func (c *Client) ExportPrivilegeEvents(request *ExportPrivilegeEventsRequest) (response *ExportPrivilegeEventsResponse, err error)
- func (c *Client) ExportReverseShellEvents(request *ExportReverseShellEventsRequest) (response *ExportReverseShellEventsResponse, err error)
- func (c *Client) IgnoreImpactedHosts(request *IgnoreImpactedHostsRequest) (response *IgnoreImpactedHostsResponse, err error)
- func (c *Client) InquiryPriceOpenProVersionPrepaid(request *InquiryPriceOpenProVersionPrepaidRequest) (response *InquiryPriceOpenProVersionPrepaidResponse, err error)
- func (c *Client) MisAlarmNonlocalLoginPlaces(request *MisAlarmNonlocalLoginPlacesRequest) (response *MisAlarmNonlocalLoginPlacesResponse, err error)
- func (c *Client) ModifyAlarmAttribute(request *ModifyAlarmAttributeRequest) (response *ModifyAlarmAttributeResponse, err error)
- func (c *Client) ModifyAutoOpenProVersionConfig(request *ModifyAutoOpenProVersionConfigRequest) (response *ModifyAutoOpenProVersionConfigResponse, err error)
- func (c *Client) ModifyLoginWhiteList(request *ModifyLoginWhiteListRequest) (response *ModifyLoginWhiteListResponse, err error)
- func (c *Client) ModifyProVersionRenewFlag(request *ModifyProVersionRenewFlagRequest) (response *ModifyProVersionRenewFlagResponse, err error)
- func (c *Client) OpenProVersion(request *OpenProVersionRequest) (response *OpenProVersionResponse, err error)
- func (c *Client) OpenProVersionPrepaid(request *OpenProVersionPrepaidRequest) (response *OpenProVersionPrepaidResponse, err error)
- func (c *Client) RecoverMalwares(request *RecoverMalwaresRequest) (response *RecoverMalwaresResponse, err error)
- func (c *Client) RenewProVersion(request *RenewProVersionRequest) (response *RenewProVersionResponse, err error)
- func (c *Client) RescanImpactedHost(request *RescanImpactedHostRequest) (response *RescanImpactedHostResponse, err error)
- func (c *Client) SeparateMalwares(request *SeparateMalwaresRequest) (response *SeparateMalwaresResponse, err error)
- func (c *Client) SetBashEventsStatus(request *SetBashEventsStatusRequest) (response *SetBashEventsStatusResponse, err error)
- func (c *Client) SwitchBashRules(request *SwitchBashRulesRequest) (response *SwitchBashRulesResponse, err error)
- func (c *Client) TrustMaliciousRequest(request *TrustMaliciousRequestRequest) (response *TrustMaliciousRequestResponse, err error)
- func (c *Client) TrustMalwares(request *TrustMalwaresRequest) (response *TrustMalwaresResponse, err error)
- func (c *Client) UntrustMaliciousRequest(request *UntrustMaliciousRequestRequest) (response *UntrustMaliciousRequestResponse, err error)
- func (c *Client) UntrustMalwares(request *UntrustMalwaresRequest) (response *UntrustMalwaresResponse, err error)
- type CloseProVersionRequest
- type CloseProVersionResponse
- type Component
- type ComponentStatistics
- type CreateOpenPortTaskRequest
- type CreateOpenPortTaskResponse
- type CreateProcessTaskRequest
- type CreateProcessTaskResponse
- type CreateUsualLoginPlacesRequest
- type CreateUsualLoginPlacesResponse
- type DefendAttackLog
- type DeleteAttackLogsRequest
- type DeleteAttackLogsResponse
- type DeleteBashEventsRequest
- type DeleteBashEventsResponse
- type DeleteBashRulesRequest
- type DeleteBashRulesResponse
- type DeleteBruteAttacksRequest
- type DeleteBruteAttacksResponse
- type DeleteLoginWhiteListRequest
- type DeleteLoginWhiteListResponse
- type DeleteMachineRequest
- type DeleteMachineResponse
- type DeleteMachineTagRequest
- type DeleteMachineTagResponse
- type DeleteMaliciousRequestsRequest
- type DeleteMaliciousRequestsResponse
- type DeleteMalwaresRequest
- type DeleteMalwaresResponse
- type DeleteNonlocalLoginPlacesRequest
- type DeleteNonlocalLoginPlacesResponse
- type DeletePrivilegeEventsRequest
- type DeletePrivilegeEventsResponse
- type DeletePrivilegeRulesRequest
- type DeletePrivilegeRulesResponse
- type DeleteReverseShellEventsRequest
- type DeleteReverseShellEventsResponse
- type DeleteReverseShellRulesRequest
- type DeleteReverseShellRulesResponse
- type DeleteTagsRequest
- type DeleteTagsResponse
- type DeleteUsualLoginPlacesRequest
- type DeleteUsualLoginPlacesResponse
- type DescribeAccountStatisticsRequest
- type DescribeAccountStatisticsResponse
- type DescribeAccountsRequest
- type DescribeAccountsResponse
- type DescribeAgentVulsRequest
- type DescribeAgentVulsResponse
- type DescribeAlarmAttributeRequest
- type DescribeAlarmAttributeResponse
- type DescribeAttackLogInfoRequest
- type DescribeAttackLogInfoResponse
- type DescribeAttackLogsRequest
- type DescribeAttackLogsResponse
- type DescribeBashEventsRequest
- type DescribeBashEventsResponse
- type DescribeBashRulesRequest
- type DescribeBashRulesResponse
- type DescribeBruteAttacksRequest
- type DescribeBruteAttacksResponse
- type DescribeComponentInfoRequest
- type DescribeComponentInfoResponse
- type DescribeComponentStatisticsRequest
- type DescribeComponentStatisticsResponse
- type DescribeComponentsRequest
- type DescribeComponentsResponse
- type DescribeHistoryAccountsRequest
- type DescribeHistoryAccountsResponse
- type DescribeImpactedHostsRequest
- type DescribeImpactedHostsResponse
- type DescribeLoginWhiteListRequest
- type DescribeLoginWhiteListResponse
- type DescribeMachineInfoRequest
- type DescribeMachineInfoResponse
- type DescribeMachinesRequest
- type DescribeMachinesResponse
- type DescribeMaliciousRequestsRequest
- type DescribeMaliciousRequestsResponse
- type DescribeMalwaresRequest
- type DescribeMalwaresResponse
- type DescribeNonlocalLoginPlacesRequest
- type DescribeNonlocalLoginPlacesResponse
- type DescribeOpenPortStatisticsRequest
- type DescribeOpenPortStatisticsResponse
- type DescribeOpenPortTaskStatusRequest
- type DescribeOpenPortTaskStatusResponse
- type DescribeOpenPortsRequest
- type DescribeOpenPortsResponse
- type DescribeOverviewStatisticsRequest
- type DescribeOverviewStatisticsResponse
- type DescribePrivilegeEventsRequest
- type DescribePrivilegeEventsResponse
- type DescribePrivilegeRulesRequest
- type DescribePrivilegeRulesResponse
- type DescribeProVersionInfoRequest
- type DescribeProVersionInfoResponse
- type DescribeProcessStatisticsRequest
- type DescribeProcessStatisticsResponse
- type DescribeProcessTaskStatusRequest
- type DescribeProcessTaskStatusResponse
- type DescribeProcessesRequest
- type DescribeProcessesResponse
- type DescribeReverseShellEventsRequest
- type DescribeReverseShellEventsResponse
- type DescribeReverseShellRulesRequest
- type DescribeReverseShellRulesResponse
- type DescribeSecurityDynamicsRequest
- type DescribeSecurityDynamicsResponse
- type DescribeSecurityTrendsRequest
- type DescribeSecurityTrendsResponse
- type DescribeTagMachinesRequest
- type DescribeTagMachinesResponse
- type DescribeTagsRequest
- type DescribeTagsResponse
- type DescribeUsualLoginPlacesRequest
- type DescribeUsualLoginPlacesResponse
- type DescribeVulInfoRequest
- type DescribeVulInfoResponse
- type DescribeVulScanResultRequest
- type DescribeVulScanResultResponse
- type DescribeVulsRequest
- type DescribeVulsResponse
- type DescribeWeeklyReportBruteAttacksRequest
- type DescribeWeeklyReportBruteAttacksResponse
- type DescribeWeeklyReportInfoRequest
- type DescribeWeeklyReportInfoResponse
- type DescribeWeeklyReportMalwaresRequest
- type DescribeWeeklyReportMalwaresResponse
- type DescribeWeeklyReportNonlocalLoginPlacesRequest
- type DescribeWeeklyReportNonlocalLoginPlacesResponse
- type DescribeWeeklyReportVulsRequest
- type DescribeWeeklyReportVulsResponse
- type DescribeWeeklyReportsRequest
- type DescribeWeeklyReportsResponse
- type EditBashRuleRequest
- type EditBashRuleResponse
- type EditPrivilegeRuleRequest
- type EditPrivilegeRuleResponse
- type EditReverseShellRuleRequest
- type EditReverseShellRuleResponse
- type EditTagsRequest
- type EditTagsResponse
- type ExportAttackLogsRequest
- type ExportAttackLogsResponse
- type ExportBashEventsRequest
- type ExportBashEventsResponse
- type ExportBruteAttacksRequest
- type ExportBruteAttacksResponse
- type ExportMaliciousRequestsRequest
- type ExportMaliciousRequestsResponse
- type ExportMalwaresRequest
- type ExportMalwaresResponse
- type ExportNonlocalLoginPlacesRequest
- type ExportNonlocalLoginPlacesResponse
- type ExportPrivilegeEventsRequest
- type ExportPrivilegeEventsResponse
- type ExportReverseShellEventsRequest
- type ExportReverseShellEventsResponse
- type Filter
- type HistoryAccount
- type IgnoreImpactedHostsRequest
- type IgnoreImpactedHostsResponse
- type ImpactedHost
- type InquiryPriceOpenProVersionPrepaidRequest
- type InquiryPriceOpenProVersionPrepaidResponse
- type LoginWhiteLists
- type LoginWhiteListsRule
- type Machine
- type MachineTag
- type MaliciousRequest
- type Malware
- type MisAlarmNonlocalLoginPlacesRequest
- type MisAlarmNonlocalLoginPlacesResponse
- type ModifyAlarmAttributeRequest
- type ModifyAlarmAttributeResponse
- type ModifyAutoOpenProVersionConfigRequest
- type ModifyAutoOpenProVersionConfigResponse
- type ModifyLoginWhiteListRequest
- type ModifyLoginWhiteListResponse
- type ModifyProVersionRenewFlagRequest
- type ModifyProVersionRenewFlagResponse
- type NonLocalLoginPlace
- type OpenPort
- type OpenPortStatistics
- type OpenProVersionPrepaidRequest
- type OpenProVersionPrepaidResponse
- type OpenProVersionRequest
- type OpenProVersionResponse
- type Place
- type PrivilegeEscalationProcess
- type PrivilegeRule
- type ProVersionMachine
- type Process
- type ProcessStatistics
- type RecoverMalwaresRequest
- type RecoverMalwaresResponse
- type RenewProVersionRequest
- type RenewProVersionResponse
- type RescanImpactedHostRequest
- type RescanImpactedHostResponse
- type ReverseShell
- type ReverseShellRule
- type SecurityDynamic
- type SecurityTrend
- type SeparateMalwaresRequest
- type SeparateMalwaresResponse
- type SetBashEventsStatusRequest
- type SetBashEventsStatusResponse
- type SwitchBashRulesRequest
- type SwitchBashRulesResponse
- type Tag
- type TagMachine
- type TrustMaliciousRequestRequest
- type TrustMaliciousRequestResponse
- type TrustMalwaresRequest
- type TrustMalwaresResponse
- type UntrustMaliciousRequestRequest
- type UntrustMaliciousRequestResponse
- type UntrustMalwaresRequest
- type UntrustMalwaresResponse
- type UsualPlace
- type Vul
- type WeeklyReport
- type WeeklyReportBruteAttack
- type WeeklyReportMalware
- type WeeklyReportNonlocalLoginPlace
- type WeeklyReportVul
Constants ¶
const APIVersion = "2018-02-28"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// 唯一ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端唯一Uuid
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机内网IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 帐号名。
Username *string `json:"Username,omitempty" name:"Username"`
// 帐号所属组。
Groups *string `json:"Groups,omitempty" name:"Groups"`
// 帐号类型。
// <li>ORDINARY:普通帐号</li>
// <li>SUPPER:超级管理员帐号</li>
Privilege *string `json:"Privilege,omitempty" name:"Privilege"`
// 帐号创建时间。
AccountCreateTime *string `json:"AccountCreateTime,omitempty" name:"AccountCreateTime"`
// 帐号最后登录时间。
LastLoginTime *string `json:"LastLoginTime,omitempty" name:"LastLoginTime"`
}
type AccountStatistics ¶
type AddLoginWhiteListRequest ¶
type AddLoginWhiteListRequest struct {
*tchttp.BaseRequest
// 白名单规则
Rules *LoginWhiteListsRule `json:"Rules,omitempty" name:"Rules"`
}
func NewAddLoginWhiteListRequest ¶
func NewAddLoginWhiteListRequest() (request *AddLoginWhiteListRequest)
func (*AddLoginWhiteListRequest) FromJsonString ¶
func (r *AddLoginWhiteListRequest) FromJsonString(s string) error
func (*AddLoginWhiteListRequest) ToJsonString ¶
func (r *AddLoginWhiteListRequest) ToJsonString() string
type AddLoginWhiteListResponse ¶
type AddLoginWhiteListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewAddLoginWhiteListResponse ¶
func NewAddLoginWhiteListResponse() (response *AddLoginWhiteListResponse)
func (*AddLoginWhiteListResponse) FromJsonString ¶
func (r *AddLoginWhiteListResponse) FromJsonString(s string) error
func (*AddLoginWhiteListResponse) ToJsonString ¶
func (r *AddLoginWhiteListResponse) ToJsonString() string
type AddMachineTagRequest ¶
type AddMachineTagRequest struct {
*tchttp.BaseRequest
// 云服务器ID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 标签ID
TagId *uint64 `json:"TagId,omitempty" name:"TagId"`
// 云服务器地区
MRegion *string `json:"MRegion,omitempty" name:"MRegion"`
// 云服务器类型(CVM|BM)
MArea *string `json:"MArea,omitempty" name:"MArea"`
}
func NewAddMachineTagRequest ¶
func NewAddMachineTagRequest() (request *AddMachineTagRequest)
func (*AddMachineTagRequest) FromJsonString ¶
func (r *AddMachineTagRequest) FromJsonString(s string) error
func (*AddMachineTagRequest) ToJsonString ¶
func (r *AddMachineTagRequest) ToJsonString() string
type AddMachineTagResponse ¶
type AddMachineTagResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewAddMachineTagResponse ¶
func NewAddMachineTagResponse() (response *AddMachineTagResponse)
func (*AddMachineTagResponse) FromJsonString ¶
func (r *AddMachineTagResponse) FromJsonString(s string) error
func (*AddMachineTagResponse) ToJsonString ¶
func (r *AddMachineTagResponse) ToJsonString() string
type AgentVul ¶
type AgentVul struct {
// 漏洞ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 漏洞名称。
VulName *string `json:"VulName,omitempty" name:"VulName"`
// 漏洞危害等级。
// <li>HIGH:高危</li>
// <li>MIDDLE:中危</li>
// <li>LOW:低危</li>
// <li>NOTICE:提示</li>
VulLevel *string `json:"VulLevel,omitempty" name:"VulLevel"`
// 最后扫描时间。
LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`
// 漏洞描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 漏洞种类ID。
VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
// 漏洞状态。
// <li>UN_OPERATED : 待处理</li>
// <li>FIXED : 已修复</li>
VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`
}
type BashEvent ¶
type BashEvent struct {
// ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机ID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 主机内网IP
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
// 执行用户名
User *string `json:"User,omitempty" name:"User"`
// 平台类型
Platform *uint64 `json:"Platform,omitempty" name:"Platform"`
// 执行命令
BashCmd *string `json:"BashCmd,omitempty" name:"BashCmd"`
// 规则ID
RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则等级
RuleLevel *uint64 `json:"RuleLevel,omitempty" name:"RuleLevel"`
// 处理状态
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 发生时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 主机名
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
}
type BashRule ¶
type BashRule struct {
// 规则ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 规则名称
Name *string `json:"Name,omitempty" name:"Name"`
// 危险等级(1: 高危 2:中危 3: 低危)
Level *uint64 `json:"Level,omitempty" name:"Level"`
// 正则表达式
Rule *string `json:"Rule,omitempty" name:"Rule"`
// 规则描述
Decription *string `json:"Decription,omitempty" name:"Decription"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 是否全局规则
IsGlobal *uint64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
// 状态 (0: 有效 1: 无效)
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 修改时间
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
// 主机IP
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
}
type BruteAttack ¶
type BruteAttack struct {
// 事件ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 破解事件状态
// <li>BRUTEATTACK_FAIL_ACCOUNT: 暴力破解事件-失败(存在帐号) </li>
// <li>BRUTEATTACK_FAIL_NOACCOUNT:暴力破解事件-失败(帐号不存在)</li>
// <li>BRUTEATTACK_SUCCESS:暴力破解事件-成功</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 用户名称。
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 城市ID。
City *uint64 `json:"City,omitempty" name:"City"`
// 国家ID。
Country *uint64 `json:"Country,omitempty" name:"Country"`
// 省份ID。
Province *uint64 `json:"Province,omitempty" name:"Province"`
// 来源IP。
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 尝试破解次数。
Count *uint64 `json:"Count,omitempty" name:"Count"`
// 发生时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 主机名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 云镜客户端唯一标识UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 是否专业版。
IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`
// 阻断状态。
BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`
// 机器UUID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}
type ChargePrepaid ¶
type ChargePrepaid struct {
// 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。
Period *uint64 `json:"Period,omitempty" name:"Period"`
// 自动续费标识。取值范围:
// <li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li>
// <li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li>
// <li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li>
//
// 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"`
}
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddLoginWhiteList ¶
func (c *Client) AddLoginWhiteList(request *AddLoginWhiteListRequest) (response *AddLoginWhiteListResponse, err error)
本接口(AddLoginWhiteList)用于添加白名单规则
func (*Client) AddMachineTag ¶
func (c *Client) AddMachineTag(request *AddMachineTagRequest) (response *AddMachineTagResponse, err error)
增加机器关联标签
func (*Client) CloseProVersion ¶
func (c *Client) CloseProVersion(request *CloseProVersionRequest) (response *CloseProVersionResponse, err error)
本接口 (CloseProVersion) 用于关闭专业版。
func (*Client) CreateOpenPortTask ¶
func (c *Client) CreateOpenPortTask(request *CreateOpenPortTaskRequest) (response *CreateOpenPortTaskResponse, err error)
本接口 (CreateOpenPortTask) 用于创建实时获取端口任务。
func (*Client) CreateProcessTask ¶
func (c *Client) CreateProcessTask(request *CreateProcessTaskRequest) (response *CreateProcessTaskResponse, err error)
本接口 (CreateProcessTask) 用于创建实时拉取进程任务。
func (*Client) CreateUsualLoginPlaces ¶
func (c *Client) CreateUsualLoginPlaces(request *CreateUsualLoginPlacesRequest) (response *CreateUsualLoginPlacesResponse, err error)
此接口(CreateUsualLoginPlaces)用于添加常用登录地。
func (*Client) DeleteAttackLogs ¶
func (c *Client) DeleteAttackLogs(request *DeleteAttackLogsRequest) (response *DeleteAttackLogsResponse, err error)
删除网络攻击日志
func (*Client) DeleteBashEvents ¶
func (c *Client) DeleteBashEvents(request *DeleteBashEventsRequest) (response *DeleteBashEventsResponse, err error)
根据Ids删除高危命令事件
func (*Client) DeleteBashRules ¶
func (c *Client) DeleteBashRules(request *DeleteBashRulesRequest) (response *DeleteBashRulesResponse, err error)
删除高危命令规则
func (*Client) DeleteBruteAttacks ¶
func (c *Client) DeleteBruteAttacks(request *DeleteBruteAttacksRequest) (response *DeleteBruteAttacksResponse, err error)
本接口 (DeleteBruteAttacks) 用于删除暴力破解记录。
func (*Client) DeleteLoginWhiteList ¶
func (c *Client) DeleteLoginWhiteList(request *DeleteLoginWhiteListRequest) (response *DeleteLoginWhiteListResponse, err error)
删除白名单规则
func (*Client) DeleteMachine ¶
func (c *Client) DeleteMachine(request *DeleteMachineRequest) (response *DeleteMachineResponse, err error)
本接口(DeleteMachine)用于卸载云镜客户端。
func (*Client) DeleteMachineTag ¶
func (c *Client) DeleteMachineTag(request *DeleteMachineTagRequest) (response *DeleteMachineTagResponse, err error)
删除服务器关联的标签
func (*Client) DeleteMaliciousRequests ¶
func (c *Client) DeleteMaliciousRequests(request *DeleteMaliciousRequestsRequest) (response *DeleteMaliciousRequestsResponse, err error)
本接口 (DeleteMaliciousRequests) 用于删除恶意请求记录。
func (*Client) DeleteMalwares ¶
func (c *Client) DeleteMalwares(request *DeleteMalwaresRequest) (response *DeleteMalwaresResponse, err error)
本接口 (DeleteMalwares) 用于删除木马记录。
func (*Client) DeleteNonlocalLoginPlaces ¶
func (c *Client) DeleteNonlocalLoginPlaces(request *DeleteNonlocalLoginPlacesRequest) (response *DeleteNonlocalLoginPlacesResponse, err error)
本接口 (DeleteNonlocalLoginPlaces) 用于删除异地登录记录。
func (*Client) DeletePrivilegeEvents ¶
func (c *Client) DeletePrivilegeEvents(request *DeletePrivilegeEventsRequest) (response *DeletePrivilegeEventsResponse, err error)
根据Ids删除本地提权
func (*Client) DeletePrivilegeRules ¶
func (c *Client) DeletePrivilegeRules(request *DeletePrivilegeRulesRequest) (response *DeletePrivilegeRulesResponse, err error)
删除本地提权规则
func (*Client) DeleteReverseShellEvents ¶
func (c *Client) DeleteReverseShellEvents(request *DeleteReverseShellEventsRequest) (response *DeleteReverseShellEventsResponse, err error)
根据Ids删除反弹Shell事件
func (*Client) DeleteReverseShellRules ¶
func (c *Client) DeleteReverseShellRules(request *DeleteReverseShellRulesRequest) (response *DeleteReverseShellRulesResponse, err error)
删除反弹Shell规则
func (*Client) DeleteTags ¶
func (c *Client) DeleteTags(request *DeleteTagsRequest) (response *DeleteTagsResponse, err error)
删除标签
func (*Client) DeleteUsualLoginPlaces ¶
func (c *Client) DeleteUsualLoginPlaces(request *DeleteUsualLoginPlacesRequest) (response *DeleteUsualLoginPlacesResponse, err error)
本接口(DeleteUsualLoginPlaces)用于删除常用登录地。
func (*Client) DescribeAccountStatistics ¶
func (c *Client) DescribeAccountStatistics(request *DescribeAccountStatisticsRequest) (response *DescribeAccountStatisticsResponse, err error)
本接口 (DescribeAccountStatistics) 用于获取帐号统计列表数据。
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
本接口 (DescribeAccounts) 用于获取帐号列表数据。
func (*Client) DescribeAgentVuls ¶
func (c *Client) DescribeAgentVuls(request *DescribeAgentVulsRequest) (response *DescribeAgentVulsResponse, err error)
本接口 (DescribeAgentVuls) 用于获取单台主机的漏洞列表。
func (*Client) DescribeAlarmAttribute ¶
func (c *Client) DescribeAlarmAttribute(request *DescribeAlarmAttributeRequest) (response *DescribeAlarmAttributeResponse, err error)
本接口 (DescribeAlarmAttribute) 用于获取告警设置。
func (*Client) DescribeAttackLogInfo ¶
func (c *Client) DescribeAttackLogInfo(request *DescribeAttackLogInfoRequest) (response *DescribeAttackLogInfoResponse, err error)
网络攻击日志详情
func (*Client) DescribeAttackLogs ¶
func (c *Client) DescribeAttackLogs(request *DescribeAttackLogsRequest) (response *DescribeAttackLogsResponse, err error)
按分页形式展示网络攻击日志列表
func (*Client) DescribeBashEvents ¶
func (c *Client) DescribeBashEvents(request *DescribeBashEventsRequest) (response *DescribeBashEventsResponse, err error)
获取高危命令列表
func (*Client) DescribeBashRules ¶
func (c *Client) DescribeBashRules(request *DescribeBashRulesRequest) (response *DescribeBashRulesResponse, err error)
获取高危命令规则列表
func (*Client) DescribeBruteAttacks ¶
func (c *Client) DescribeBruteAttacks(request *DescribeBruteAttacksRequest) (response *DescribeBruteAttacksResponse, err error)
本接口{DescribeBruteAttacks}用于获取暴力破解事件列表。
func (*Client) DescribeComponentInfo ¶
func (c *Client) DescribeComponentInfo(request *DescribeComponentInfoRequest) (response *DescribeComponentInfoResponse, err error)
本接口 (DescribeComponentInfo) 用于获取组件信息数据。
func (*Client) DescribeComponentStatistics ¶
func (c *Client) DescribeComponentStatistics(request *DescribeComponentStatisticsRequest) (response *DescribeComponentStatisticsResponse, err error)
本接口 (DescribeComponentStatistics) 用于获取组件统计列表数据。
func (*Client) DescribeComponents ¶
func (c *Client) DescribeComponents(request *DescribeComponentsRequest) (response *DescribeComponentsResponse, err error)
本接口 (DescribeComponents) 用于获取组件列表数据。
func (*Client) DescribeHistoryAccounts ¶
func (c *Client) DescribeHistoryAccounts(request *DescribeHistoryAccountsRequest) (response *DescribeHistoryAccountsResponse, err error)
本接口 (DescribeHistoryAccounts) 用于获取帐号变更历史列表数据。
func (*Client) DescribeImpactedHosts ¶
func (c *Client) DescribeImpactedHosts(request *DescribeImpactedHostsRequest) (response *DescribeImpactedHostsResponse, err error)
本接口 (DescribeImpactedHosts) 用于获取漏洞受影响机器列表。
func (*Client) DescribeLoginWhiteList ¶
func (c *Client) DescribeLoginWhiteList(request *DescribeLoginWhiteListRequest) (response *DescribeLoginWhiteListResponse, err error)
获取异地登录白名单列表
func (*Client) DescribeMachineInfo ¶
func (c *Client) DescribeMachineInfo(request *DescribeMachineInfoRequest) (response *DescribeMachineInfoResponse, err error)
本接口(DescribeMachineInfo)用于获取机器详细信息。
func (*Client) DescribeMachines ¶
func (c *Client) DescribeMachines(request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
本接口 (DescribeMachines) 用于获取区域主机列表。
func (*Client) DescribeMaliciousRequests ¶
func (c *Client) DescribeMaliciousRequests(request *DescribeMaliciousRequestsRequest) (response *DescribeMaliciousRequestsResponse, err error)
本接口 (DescribeMaliciousRequests) 用于获取恶意请求数据。
func (*Client) DescribeMalwares ¶
func (c *Client) DescribeMalwares(request *DescribeMalwaresRequest) (response *DescribeMalwaresResponse, err error)
本接口(DescribeMalwares)用于获取木马事件列表。
func (*Client) DescribeNonlocalLoginPlaces ¶
func (c *Client) DescribeNonlocalLoginPlaces(request *DescribeNonlocalLoginPlacesRequest) (response *DescribeNonlocalLoginPlacesResponse, err error)
本接口(DescribeNonlocalLoginPlaces)用于获取异地登录事件。
func (*Client) DescribeOpenPortStatistics ¶
func (c *Client) DescribeOpenPortStatistics(request *DescribeOpenPortStatisticsRequest) (response *DescribeOpenPortStatisticsResponse, err error)
本接口 (DescribeOpenPortStatistics) 用于获取端口统计列表。
func (*Client) DescribeOpenPortTaskStatus ¶
func (c *Client) DescribeOpenPortTaskStatus(request *DescribeOpenPortTaskStatusRequest) (response *DescribeOpenPortTaskStatusResponse, err error)
本接口 (DescribeOpenPortTaskStatus) 用于获取实时拉取端口任务状态。
func (*Client) DescribeOpenPorts ¶
func (c *Client) DescribeOpenPorts(request *DescribeOpenPortsRequest) (response *DescribeOpenPortsResponse, err error)
本接口 (DescribeOpenPorts) 用于获取端口列表数据。
func (*Client) DescribeOverviewStatistics ¶
func (c *Client) DescribeOverviewStatistics(request *DescribeOverviewStatisticsRequest) (response *DescribeOverviewStatisticsResponse, err error)
本接口用于(DescribeOverviewStatistics)获取概览统计数据。
func (*Client) DescribePrivilegeEvents ¶
func (c *Client) DescribePrivilegeEvents(request *DescribePrivilegeEventsRequest) (response *DescribePrivilegeEventsResponse, err error)
获取本地提权事件列表
func (*Client) DescribePrivilegeRules ¶
func (c *Client) DescribePrivilegeRules(request *DescribePrivilegeRulesRequest) (response *DescribePrivilegeRulesResponse, err error)
获取本地提权规则列表
func (*Client) DescribeProVersionInfo ¶
func (c *Client) DescribeProVersionInfo(request *DescribeProVersionInfoRequest) (response *DescribeProVersionInfoResponse, err error)
本接口 (DescribeProVersionInfo) 用于获取专业版信息。
func (*Client) DescribeProcessStatistics ¶
func (c *Client) DescribeProcessStatistics(request *DescribeProcessStatisticsRequest) (response *DescribeProcessStatisticsResponse, err error)
本接口 (DescribeProcessStatistics) 用于获取进程统计列表数据。
func (*Client) DescribeProcessTaskStatus ¶
func (c *Client) DescribeProcessTaskStatus(request *DescribeProcessTaskStatusRequest) (response *DescribeProcessTaskStatusResponse, err error)
本接口 (DescribeProcessTaskStatus) 用于获取实时拉取进程任务状态。
func (*Client) DescribeProcesses ¶
func (c *Client) DescribeProcesses(request *DescribeProcessesRequest) (response *DescribeProcessesResponse, err error)
本接口 (DescribeProcesses) 用于获取进程列表数据。
func (*Client) DescribeReverseShellEvents ¶
func (c *Client) DescribeReverseShellEvents(request *DescribeReverseShellEventsRequest) (response *DescribeReverseShellEventsResponse, err error)
获取反弹Shell列表
func (*Client) DescribeReverseShellRules ¶
func (c *Client) DescribeReverseShellRules(request *DescribeReverseShellRulesRequest) (response *DescribeReverseShellRulesResponse, err error)
获取反弹Shell规则列表
func (*Client) DescribeSecurityDynamics ¶
func (c *Client) DescribeSecurityDynamics(request *DescribeSecurityDynamicsRequest) (response *DescribeSecurityDynamicsResponse, err error)
本接口 (DescribeSecurityDynamics) 用于获取安全事件消息数据。
func (*Client) DescribeSecurityTrends ¶
func (c *Client) DescribeSecurityTrends(request *DescribeSecurityTrendsRequest) (response *DescribeSecurityTrendsResponse, err error)
本接口 (DescribeSecurityTrends) 用于获取安全事件统计数据。
func (*Client) DescribeTagMachines ¶
func (c *Client) DescribeTagMachines(request *DescribeTagMachinesRequest) (response *DescribeTagMachinesResponse, err error)
获取指定标签关联的服务器信息
func (*Client) DescribeTags ¶
func (c *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error)
获取所有主机标签
func (*Client) DescribeUsualLoginPlaces ¶
func (c *Client) DescribeUsualLoginPlaces(request *DescribeUsualLoginPlacesRequest) (response *DescribeUsualLoginPlacesResponse, err error)
此接口(DescribeUsualLoginPlaces)用于查询常用登录地。
func (*Client) DescribeVulInfo ¶
func (c *Client) DescribeVulInfo(request *DescribeVulInfoRequest) (response *DescribeVulInfoResponse, err error)
本接口 (DescribeVulInfo) 用于获取漏洞详情。
func (*Client) DescribeVulScanResult ¶
func (c *Client) DescribeVulScanResult(request *DescribeVulScanResultRequest) (response *DescribeVulScanResultResponse, err error)
本接口 (DescribeVulScanResult) 用于获取漏洞检测结果。
func (*Client) DescribeVuls ¶
func (c *Client) DescribeVuls(request *DescribeVulsRequest) (response *DescribeVulsResponse, err error)
本接口 (DescribeVuls) 用于获取漏洞列表数据。
func (*Client) DescribeWeeklyReportBruteAttacks ¶
func (c *Client) DescribeWeeklyReportBruteAttacks(request *DescribeWeeklyReportBruteAttacksRequest) (response *DescribeWeeklyReportBruteAttacksResponse, err error)
本接口 (DescribeWeeklyReportBruteAttacks) 用于获取专业周报密码破解数据。
func (*Client) DescribeWeeklyReportInfo ¶
func (c *Client) DescribeWeeklyReportInfo(request *DescribeWeeklyReportInfoRequest) (response *DescribeWeeklyReportInfoResponse, err error)
本接口 (DescribeWeeklyReportInfo) 用于获取专业周报详情数据。
func (*Client) DescribeWeeklyReportMalwares ¶
func (c *Client) DescribeWeeklyReportMalwares(request *DescribeWeeklyReportMalwaresRequest) (response *DescribeWeeklyReportMalwaresResponse, err error)
本接口 (DescribeWeeklyReportMalwares) 用于获取专业周报木马数据。
func (*Client) DescribeWeeklyReportNonlocalLoginPlaces ¶
func (c *Client) DescribeWeeklyReportNonlocalLoginPlaces(request *DescribeWeeklyReportNonlocalLoginPlacesRequest) (response *DescribeWeeklyReportNonlocalLoginPlacesResponse, err error)
本接口 (DescribeWeeklyReportNonlocalLoginPlaces) 用于获取专业周报异地登录数据。
func (*Client) DescribeWeeklyReportVuls ¶
func (c *Client) DescribeWeeklyReportVuls(request *DescribeWeeklyReportVulsRequest) (response *DescribeWeeklyReportVulsResponse, err error)
本接口 (DescribeWeeklyReportVuls) 用于专业版周报漏洞数据。
func (*Client) DescribeWeeklyReports ¶
func (c *Client) DescribeWeeklyReports(request *DescribeWeeklyReportsRequest) (response *DescribeWeeklyReportsResponse, err error)
本接口 (DescribeWeeklyReports) 用于获取周报列表数据。
func (*Client) EditBashRule ¶
func (c *Client) EditBashRule(request *EditBashRuleRequest) (response *EditBashRuleResponse, err error)
新增或修改高危命令规则
func (*Client) EditPrivilegeRule ¶
func (c *Client) EditPrivilegeRule(request *EditPrivilegeRuleRequest) (response *EditPrivilegeRuleResponse, err error)
新增或修改本地提权规则
func (*Client) EditReverseShellRule ¶
func (c *Client) EditReverseShellRule(request *EditReverseShellRuleRequest) (response *EditReverseShellRuleResponse, err error)
编辑反弹Shell规则
func (*Client) EditTags ¶
func (c *Client) EditTags(request *EditTagsRequest) (response *EditTagsResponse, err error)
新增或编辑标签
func (*Client) ExportAttackLogs ¶
func (c *Client) ExportAttackLogs(request *ExportAttackLogsRequest) (response *ExportAttackLogsResponse, err error)
导出网络攻击日志
func (*Client) ExportBashEvents ¶
func (c *Client) ExportBashEvents(request *ExportBashEventsRequest) (response *ExportBashEventsResponse, err error)
导出高危命令事件
func (*Client) ExportBruteAttacks ¶
func (c *Client) ExportBruteAttacks(request *ExportBruteAttacksRequest) (response *ExportBruteAttacksResponse, err error)
本接口 (ExportBruteAttacks) 用于导出密码破解记录成CSV文件。
func (*Client) ExportMaliciousRequests ¶
func (c *Client) ExportMaliciousRequests(request *ExportMaliciousRequestsRequest) (response *ExportMaliciousRequestsResponse, err error)
本接口 (ExportMaliciousRequests) 用于导出下载恶意请求文件。
func (*Client) ExportMalwares ¶
func (c *Client) ExportMalwares(request *ExportMalwaresRequest) (response *ExportMalwaresResponse, err error)
本接口 (ExportMalwares) 用于导出木马记录CSV文件。
func (*Client) ExportNonlocalLoginPlaces ¶
func (c *Client) ExportNonlocalLoginPlaces(request *ExportNonlocalLoginPlacesRequest) (response *ExportNonlocalLoginPlacesResponse, err error)
本接口 (ExportNonlocalLoginPlaces) 用于导出异地登录事件记录CSV文件。
func (*Client) ExportPrivilegeEvents ¶
func (c *Client) ExportPrivilegeEvents(request *ExportPrivilegeEventsRequest) (response *ExportPrivilegeEventsResponse, err error)
导出本地提权事件
func (*Client) ExportReverseShellEvents ¶
func (c *Client) ExportReverseShellEvents(request *ExportReverseShellEventsRequest) (response *ExportReverseShellEventsResponse, err error)
导出反弹Shell事件
func (*Client) IgnoreImpactedHosts ¶
func (c *Client) IgnoreImpactedHosts(request *IgnoreImpactedHostsRequest) (response *IgnoreImpactedHostsResponse, err error)
本接口 (IgnoreImpactedHosts) 用于忽略漏洞。
func (*Client) InquiryPriceOpenProVersionPrepaid ¶
func (c *Client) InquiryPriceOpenProVersionPrepaid(request *InquiryPriceOpenProVersionPrepaidRequest) (response *InquiryPriceOpenProVersionPrepaidResponse, err error)
本接口 (InquiryPriceOpenProVersionPrepaid) 用于开通专业版询价(预付费)。
func (*Client) MisAlarmNonlocalLoginPlaces ¶
func (c *Client) MisAlarmNonlocalLoginPlaces(request *MisAlarmNonlocalLoginPlacesRequest) (response *MisAlarmNonlocalLoginPlacesResponse, err error)
本接口{MisAlarmNonlocalLoginPlaces}将设置当前地点为常用登录地。
func (*Client) ModifyAlarmAttribute ¶
func (c *Client) ModifyAlarmAttribute(request *ModifyAlarmAttributeRequest) (response *ModifyAlarmAttributeResponse, err error)
本接口(ModifyAlarmAttribute)用于修改告警设置。
func (*Client) ModifyAutoOpenProVersionConfig ¶
func (c *Client) ModifyAutoOpenProVersionConfig(request *ModifyAutoOpenProVersionConfigRequest) (response *ModifyAutoOpenProVersionConfigResponse, err error)
本接口 (ModifyAutoOpenProVersionConfig) 用于设置新增主机自动开通专业版配置。
func (*Client) ModifyLoginWhiteList ¶
func (c *Client) ModifyLoginWhiteList(request *ModifyLoginWhiteListRequest) (response *ModifyLoginWhiteListResponse, err error)
编辑白名单规则
func (*Client) ModifyProVersionRenewFlag ¶
func (c *Client) ModifyProVersionRenewFlag(request *ModifyProVersionRenewFlagRequest) (response *ModifyProVersionRenewFlagResponse, err error)
本接口 (ModifyProVersionRenewFlag) 用于修改专业版包年包月续费标识。
func (*Client) OpenProVersion ¶
func (c *Client) OpenProVersion(request *OpenProVersionRequest) (response *OpenProVersionResponse, err error)
本接口 (OpenProVersion) 用于开通专业版。
func (*Client) OpenProVersionPrepaid ¶
func (c *Client) OpenProVersionPrepaid(request *OpenProVersionPrepaidRequest) (response *OpenProVersionPrepaidResponse, err error)
本接口 (OpenProVersionPrepaid) 用于开通专业版(包年包月)。
func (*Client) RecoverMalwares ¶
func (c *Client) RecoverMalwares(request *RecoverMalwaresRequest) (response *RecoverMalwaresResponse, err error)
本接口(RecoverMalwares)用于批量恢复已经被隔离的木马文件。
func (*Client) RenewProVersion ¶
func (c *Client) RenewProVersion(request *RenewProVersionRequest) (response *RenewProVersionResponse, err error)
本接口 (RenewProVersion) 用于续费专业版(包年包月)。
func (*Client) RescanImpactedHost ¶
func (c *Client) RescanImpactedHost(request *RescanImpactedHostRequest) (response *RescanImpactedHostResponse, err error)
本接口 (RescanImpactedHost) 用于漏洞重新检测。
func (*Client) SeparateMalwares ¶
func (c *Client) SeparateMalwares(request *SeparateMalwaresRequest) (response *SeparateMalwaresResponse, err error)
本接口(SeparateMalwares)用于隔离木马。
func (*Client) SetBashEventsStatus ¶
func (c *Client) SetBashEventsStatus(request *SetBashEventsStatusRequest) (response *SetBashEventsStatusResponse, err error)
设置高危命令事件状态
func (*Client) SwitchBashRules ¶
func (c *Client) SwitchBashRules(request *SwitchBashRulesRequest) (response *SwitchBashRulesResponse, err error)
切换高危命令规则状态
func (*Client) TrustMaliciousRequest ¶
func (c *Client) TrustMaliciousRequest(request *TrustMaliciousRequestRequest) (response *TrustMaliciousRequestResponse, err error)
本接口 (TrustMaliciousRequest) 用于恶意请求添加信任。
func (*Client) TrustMalwares ¶
func (c *Client) TrustMalwares(request *TrustMalwaresRequest) (response *TrustMalwaresResponse, err error)
本接口(TrustMalwares)将被识别木马文件设为信任。
func (*Client) UntrustMaliciousRequest ¶
func (c *Client) UntrustMaliciousRequest(request *UntrustMaliciousRequestRequest) (response *UntrustMaliciousRequestResponse, err error)
本接口 (UntrustMaliciousRequest) 用于取消信任恶意请求。
func (*Client) UntrustMalwares ¶
func (c *Client) UntrustMalwares(request *UntrustMalwaresRequest) (response *UntrustMalwaresResponse, err error)
本接口(UntrustMalwares)用于取消信任木马文件。
type CloseProVersionRequest ¶
type CloseProVersionRequest struct {
*tchttp.BaseRequest
// 主机唯一标识Uuid。
// 黑石的InstanceId,CVM的Uuid
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}
func NewCloseProVersionRequest ¶
func NewCloseProVersionRequest() (request *CloseProVersionRequest)
func (*CloseProVersionRequest) FromJsonString ¶
func (r *CloseProVersionRequest) FromJsonString(s string) error
func (*CloseProVersionRequest) ToJsonString ¶
func (r *CloseProVersionRequest) ToJsonString() string
type CloseProVersionResponse ¶
type CloseProVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCloseProVersionResponse ¶
func NewCloseProVersionResponse() (response *CloseProVersionResponse)
func (*CloseProVersionResponse) FromJsonString ¶
func (r *CloseProVersionResponse) FromJsonString(s string) error
func (*CloseProVersionResponse) ToJsonString ¶
func (r *CloseProVersionResponse) ToJsonString() string
type Component ¶
type Component struct {
// 唯一ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机内网IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 组件版本号。
ComponentVersion *string `json:"ComponentVersion,omitempty" name:"ComponentVersion"`
// 组件类型。
// <li>SYSTEM:系统组件</li>
// <li>WEB:Web组件</li>
ComponentType *string `json:"ComponentType,omitempty" name:"ComponentType"`
// 组件名称。
ComponentName *string `json:"ComponentName,omitempty" name:"ComponentName"`
// 组件检测更新时间。
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}
type ComponentStatistics ¶
type ComponentStatistics struct {
// 组件ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机数量。
MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`
// 组件名称。
ComponentName *string `json:"ComponentName,omitempty" name:"ComponentName"`
// 组件类型。
// <li>WEB:Web组件</li>
// <li>SYSTEM:系统组件</li>
ComponentType *string `json:"ComponentType,omitempty" name:"ComponentType"`
// 组件描述。
Description *string `json:"Description,omitempty" name:"Description"`
}
type CreateOpenPortTaskRequest ¶
type CreateOpenPortTaskRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewCreateOpenPortTaskRequest ¶
func NewCreateOpenPortTaskRequest() (request *CreateOpenPortTaskRequest)
func (*CreateOpenPortTaskRequest) FromJsonString ¶
func (r *CreateOpenPortTaskRequest) FromJsonString(s string) error
func (*CreateOpenPortTaskRequest) ToJsonString ¶
func (r *CreateOpenPortTaskRequest) ToJsonString() string
type CreateOpenPortTaskResponse ¶
type CreateOpenPortTaskResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateOpenPortTaskResponse ¶
func NewCreateOpenPortTaskResponse() (response *CreateOpenPortTaskResponse)
func (*CreateOpenPortTaskResponse) FromJsonString ¶
func (r *CreateOpenPortTaskResponse) FromJsonString(s string) error
func (*CreateOpenPortTaskResponse) ToJsonString ¶
func (r *CreateOpenPortTaskResponse) ToJsonString() string
type CreateProcessTaskRequest ¶
type CreateProcessTaskRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewCreateProcessTaskRequest ¶
func NewCreateProcessTaskRequest() (request *CreateProcessTaskRequest)
func (*CreateProcessTaskRequest) FromJsonString ¶
func (r *CreateProcessTaskRequest) FromJsonString(s string) error
func (*CreateProcessTaskRequest) ToJsonString ¶
func (r *CreateProcessTaskRequest) ToJsonString() string
type CreateProcessTaskResponse ¶
type CreateProcessTaskResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateProcessTaskResponse ¶
func NewCreateProcessTaskResponse() (response *CreateProcessTaskResponse)
func (*CreateProcessTaskResponse) FromJsonString ¶
func (r *CreateProcessTaskResponse) FromJsonString(s string) error
func (*CreateProcessTaskResponse) ToJsonString ¶
func (r *CreateProcessTaskResponse) ToJsonString() string
type CreateUsualLoginPlacesRequest ¶
type CreateUsualLoginPlacesRequest struct {
*tchttp.BaseRequest
// 云镜客户端UUID数组。
Uuids []*string `json:"Uuids,omitempty" name:"Uuids" list`
// 登录地域信息数组。
Places []*Place `json:"Places,omitempty" name:"Places" list`
}
func NewCreateUsualLoginPlacesRequest ¶
func NewCreateUsualLoginPlacesRequest() (request *CreateUsualLoginPlacesRequest)
func (*CreateUsualLoginPlacesRequest) FromJsonString ¶
func (r *CreateUsualLoginPlacesRequest) FromJsonString(s string) error
func (*CreateUsualLoginPlacesRequest) ToJsonString ¶
func (r *CreateUsualLoginPlacesRequest) ToJsonString() string
type CreateUsualLoginPlacesResponse ¶
type CreateUsualLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateUsualLoginPlacesResponse ¶
func NewCreateUsualLoginPlacesResponse() (response *CreateUsualLoginPlacesResponse)
func (*CreateUsualLoginPlacesResponse) FromJsonString ¶
func (r *CreateUsualLoginPlacesResponse) FromJsonString(s string) error
func (*CreateUsualLoginPlacesResponse) ToJsonString ¶
func (r *CreateUsualLoginPlacesResponse) ToJsonString() string
type DefendAttackLog ¶
type DefendAttackLog struct {
// 日志ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 来源IP
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 来源端口
SrcPort *uint64 `json:"SrcPort,omitempty" name:"SrcPort"`
// 攻击方式
HttpMethod *string `json:"HttpMethod,omitempty" name:"HttpMethod"`
// 攻击描述
HttpCgi *string `json:"HttpCgi,omitempty" name:"HttpCgi"`
// 攻击参数
HttpParam *string `json:"HttpParam,omitempty" name:"HttpParam"`
// 威胁类型
VulType *string `json:"VulType,omitempty" name:"VulType"`
// 攻击时间
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 目标服务器IP
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 目标服务器名称
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 目标IP
DstIp *string `json:"DstIp,omitempty" name:"DstIp"`
// 目标端口
DstPort *uint64 `json:"DstPort,omitempty" name:"DstPort"`
// 攻击内容
HttpContent *string `json:"HttpContent,omitempty" name:"HttpContent"`
}
type DeleteAttackLogsRequest ¶
type DeleteAttackLogsRequest struct {
*tchttp.BaseRequest
// 日志ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteAttackLogsRequest ¶
func NewDeleteAttackLogsRequest() (request *DeleteAttackLogsRequest)
func (*DeleteAttackLogsRequest) FromJsonString ¶
func (r *DeleteAttackLogsRequest) FromJsonString(s string) error
func (*DeleteAttackLogsRequest) ToJsonString ¶
func (r *DeleteAttackLogsRequest) ToJsonString() string
type DeleteAttackLogsResponse ¶
type DeleteAttackLogsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteAttackLogsResponse ¶
func NewDeleteAttackLogsResponse() (response *DeleteAttackLogsResponse)
func (*DeleteAttackLogsResponse) FromJsonString ¶
func (r *DeleteAttackLogsResponse) FromJsonString(s string) error
func (*DeleteAttackLogsResponse) ToJsonString ¶
func (r *DeleteAttackLogsResponse) ToJsonString() string
type DeleteBashEventsRequest ¶
type DeleteBashEventsRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteBashEventsRequest ¶
func NewDeleteBashEventsRequest() (request *DeleteBashEventsRequest)
func (*DeleteBashEventsRequest) FromJsonString ¶
func (r *DeleteBashEventsRequest) FromJsonString(s string) error
func (*DeleteBashEventsRequest) ToJsonString ¶
func (r *DeleteBashEventsRequest) ToJsonString() string
type DeleteBashEventsResponse ¶
type DeleteBashEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteBashEventsResponse ¶
func NewDeleteBashEventsResponse() (response *DeleteBashEventsResponse)
func (*DeleteBashEventsResponse) FromJsonString ¶
func (r *DeleteBashEventsResponse) FromJsonString(s string) error
func (*DeleteBashEventsResponse) ToJsonString ¶
func (r *DeleteBashEventsResponse) ToJsonString() string
type DeleteBashRulesRequest ¶
type DeleteBashRulesRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteBashRulesRequest ¶
func NewDeleteBashRulesRequest() (request *DeleteBashRulesRequest)
func (*DeleteBashRulesRequest) FromJsonString ¶
func (r *DeleteBashRulesRequest) FromJsonString(s string) error
func (*DeleteBashRulesRequest) ToJsonString ¶
func (r *DeleteBashRulesRequest) ToJsonString() string
type DeleteBashRulesResponse ¶
type DeleteBashRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteBashRulesResponse ¶
func NewDeleteBashRulesResponse() (response *DeleteBashRulesResponse)
func (*DeleteBashRulesResponse) FromJsonString ¶
func (r *DeleteBashRulesResponse) FromJsonString(s string) error
func (*DeleteBashRulesResponse) ToJsonString ¶
func (r *DeleteBashRulesResponse) ToJsonString() string
type DeleteBruteAttacksRequest ¶
type DeleteBruteAttacksRequest struct {
*tchttp.BaseRequest
// 暴力破解事件Id数组。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteBruteAttacksRequest ¶
func NewDeleteBruteAttacksRequest() (request *DeleteBruteAttacksRequest)
func (*DeleteBruteAttacksRequest) FromJsonString ¶
func (r *DeleteBruteAttacksRequest) FromJsonString(s string) error
func (*DeleteBruteAttacksRequest) ToJsonString ¶
func (r *DeleteBruteAttacksRequest) ToJsonString() string
type DeleteBruteAttacksResponse ¶
type DeleteBruteAttacksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteBruteAttacksResponse ¶
func NewDeleteBruteAttacksResponse() (response *DeleteBruteAttacksResponse)
func (*DeleteBruteAttacksResponse) FromJsonString ¶
func (r *DeleteBruteAttacksResponse) FromJsonString(s string) error
func (*DeleteBruteAttacksResponse) ToJsonString ¶
func (r *DeleteBruteAttacksResponse) ToJsonString() string
type DeleteLoginWhiteListRequest ¶
type DeleteLoginWhiteListRequest struct {
*tchttp.BaseRequest
// 白名单ID
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteLoginWhiteListRequest ¶
func NewDeleteLoginWhiteListRequest() (request *DeleteLoginWhiteListRequest)
func (*DeleteLoginWhiteListRequest) FromJsonString ¶
func (r *DeleteLoginWhiteListRequest) FromJsonString(s string) error
func (*DeleteLoginWhiteListRequest) ToJsonString ¶
func (r *DeleteLoginWhiteListRequest) ToJsonString() string
type DeleteLoginWhiteListResponse ¶
type DeleteLoginWhiteListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteLoginWhiteListResponse ¶
func NewDeleteLoginWhiteListResponse() (response *DeleteLoginWhiteListResponse)
func (*DeleteLoginWhiteListResponse) FromJsonString ¶
func (r *DeleteLoginWhiteListResponse) FromJsonString(s string) error
func (*DeleteLoginWhiteListResponse) ToJsonString ¶
func (r *DeleteLoginWhiteListResponse) ToJsonString() string
type DeleteMachineRequest ¶
type DeleteMachineRequest struct {
*tchttp.BaseRequest
// 云镜客户端Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewDeleteMachineRequest ¶
func NewDeleteMachineRequest() (request *DeleteMachineRequest)
func (*DeleteMachineRequest) FromJsonString ¶
func (r *DeleteMachineRequest) FromJsonString(s string) error
func (*DeleteMachineRequest) ToJsonString ¶
func (r *DeleteMachineRequest) ToJsonString() string
type DeleteMachineResponse ¶
type DeleteMachineResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMachineResponse ¶
func NewDeleteMachineResponse() (response *DeleteMachineResponse)
func (*DeleteMachineResponse) FromJsonString ¶
func (r *DeleteMachineResponse) FromJsonString(s string) error
func (*DeleteMachineResponse) ToJsonString ¶
func (r *DeleteMachineResponse) ToJsonString() string
type DeleteMachineTagRequest ¶
type DeleteMachineTagRequest struct {
*tchttp.BaseRequest
// 关联的标签ID
Rid *uint64 `json:"Rid,omitempty" name:"Rid"`
}
func NewDeleteMachineTagRequest ¶
func NewDeleteMachineTagRequest() (request *DeleteMachineTagRequest)
func (*DeleteMachineTagRequest) FromJsonString ¶
func (r *DeleteMachineTagRequest) FromJsonString(s string) error
func (*DeleteMachineTagRequest) ToJsonString ¶
func (r *DeleteMachineTagRequest) ToJsonString() string
type DeleteMachineTagResponse ¶
type DeleteMachineTagResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMachineTagResponse ¶
func NewDeleteMachineTagResponse() (response *DeleteMachineTagResponse)
func (*DeleteMachineTagResponse) FromJsonString ¶
func (r *DeleteMachineTagResponse) FromJsonString(s string) error
func (*DeleteMachineTagResponse) ToJsonString ¶
func (r *DeleteMachineTagResponse) ToJsonString() string
type DeleteMaliciousRequestsRequest ¶
type DeleteMaliciousRequestsRequest struct {
*tchttp.BaseRequest
// 恶意请求记录ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteMaliciousRequestsRequest ¶
func NewDeleteMaliciousRequestsRequest() (request *DeleteMaliciousRequestsRequest)
func (*DeleteMaliciousRequestsRequest) FromJsonString ¶
func (r *DeleteMaliciousRequestsRequest) FromJsonString(s string) error
func (*DeleteMaliciousRequestsRequest) ToJsonString ¶
func (r *DeleteMaliciousRequestsRequest) ToJsonString() string
type DeleteMaliciousRequestsResponse ¶
type DeleteMaliciousRequestsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMaliciousRequestsResponse ¶
func NewDeleteMaliciousRequestsResponse() (response *DeleteMaliciousRequestsResponse)
func (*DeleteMaliciousRequestsResponse) FromJsonString ¶
func (r *DeleteMaliciousRequestsResponse) FromJsonString(s string) error
func (*DeleteMaliciousRequestsResponse) ToJsonString ¶
func (r *DeleteMaliciousRequestsResponse) ToJsonString() string
type DeleteMalwaresRequest ¶
type DeleteMalwaresRequest struct {
*tchttp.BaseRequest
// 木马记录ID数组
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteMalwaresRequest ¶
func NewDeleteMalwaresRequest() (request *DeleteMalwaresRequest)
func (*DeleteMalwaresRequest) FromJsonString ¶
func (r *DeleteMalwaresRequest) FromJsonString(s string) error
func (*DeleteMalwaresRequest) ToJsonString ¶
func (r *DeleteMalwaresRequest) ToJsonString() string
type DeleteMalwaresResponse ¶
type DeleteMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMalwaresResponse ¶
func NewDeleteMalwaresResponse() (response *DeleteMalwaresResponse)
func (*DeleteMalwaresResponse) FromJsonString ¶
func (r *DeleteMalwaresResponse) FromJsonString(s string) error
func (*DeleteMalwaresResponse) ToJsonString ¶
func (r *DeleteMalwaresResponse) ToJsonString() string
type DeleteNonlocalLoginPlacesRequest ¶
type DeleteNonlocalLoginPlacesRequest struct {
*tchttp.BaseRequest
// 异地登录事件ID数组。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteNonlocalLoginPlacesRequest ¶
func NewDeleteNonlocalLoginPlacesRequest() (request *DeleteNonlocalLoginPlacesRequest)
func (*DeleteNonlocalLoginPlacesRequest) FromJsonString ¶
func (r *DeleteNonlocalLoginPlacesRequest) FromJsonString(s string) error
func (*DeleteNonlocalLoginPlacesRequest) ToJsonString ¶
func (r *DeleteNonlocalLoginPlacesRequest) ToJsonString() string
type DeleteNonlocalLoginPlacesResponse ¶
type DeleteNonlocalLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteNonlocalLoginPlacesResponse ¶
func NewDeleteNonlocalLoginPlacesResponse() (response *DeleteNonlocalLoginPlacesResponse)
func (*DeleteNonlocalLoginPlacesResponse) FromJsonString ¶
func (r *DeleteNonlocalLoginPlacesResponse) FromJsonString(s string) error
func (*DeleteNonlocalLoginPlacesResponse) ToJsonString ¶
func (r *DeleteNonlocalLoginPlacesResponse) ToJsonString() string
type DeletePrivilegeEventsRequest ¶
type DeletePrivilegeEventsRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeletePrivilegeEventsRequest ¶
func NewDeletePrivilegeEventsRequest() (request *DeletePrivilegeEventsRequest)
func (*DeletePrivilegeEventsRequest) FromJsonString ¶
func (r *DeletePrivilegeEventsRequest) FromJsonString(s string) error
func (*DeletePrivilegeEventsRequest) ToJsonString ¶
func (r *DeletePrivilegeEventsRequest) ToJsonString() string
type DeletePrivilegeEventsResponse ¶
type DeletePrivilegeEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeletePrivilegeEventsResponse ¶
func NewDeletePrivilegeEventsResponse() (response *DeletePrivilegeEventsResponse)
func (*DeletePrivilegeEventsResponse) FromJsonString ¶
func (r *DeletePrivilegeEventsResponse) FromJsonString(s string) error
func (*DeletePrivilegeEventsResponse) ToJsonString ¶
func (r *DeletePrivilegeEventsResponse) ToJsonString() string
type DeletePrivilegeRulesRequest ¶
type DeletePrivilegeRulesRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeletePrivilegeRulesRequest ¶
func NewDeletePrivilegeRulesRequest() (request *DeletePrivilegeRulesRequest)
func (*DeletePrivilegeRulesRequest) FromJsonString ¶
func (r *DeletePrivilegeRulesRequest) FromJsonString(s string) error
func (*DeletePrivilegeRulesRequest) ToJsonString ¶
func (r *DeletePrivilegeRulesRequest) ToJsonString() string
type DeletePrivilegeRulesResponse ¶
type DeletePrivilegeRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeletePrivilegeRulesResponse ¶
func NewDeletePrivilegeRulesResponse() (response *DeletePrivilegeRulesResponse)
func (*DeletePrivilegeRulesResponse) FromJsonString ¶
func (r *DeletePrivilegeRulesResponse) FromJsonString(s string) error
func (*DeletePrivilegeRulesResponse) ToJsonString ¶
func (r *DeletePrivilegeRulesResponse) ToJsonString() string
type DeleteReverseShellEventsRequest ¶
type DeleteReverseShellEventsRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteReverseShellEventsRequest ¶
func NewDeleteReverseShellEventsRequest() (request *DeleteReverseShellEventsRequest)
func (*DeleteReverseShellEventsRequest) FromJsonString ¶
func (r *DeleteReverseShellEventsRequest) FromJsonString(s string) error
func (*DeleteReverseShellEventsRequest) ToJsonString ¶
func (r *DeleteReverseShellEventsRequest) ToJsonString() string
type DeleteReverseShellEventsResponse ¶
type DeleteReverseShellEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteReverseShellEventsResponse ¶
func NewDeleteReverseShellEventsResponse() (response *DeleteReverseShellEventsResponse)
func (*DeleteReverseShellEventsResponse) FromJsonString ¶
func (r *DeleteReverseShellEventsResponse) FromJsonString(s string) error
func (*DeleteReverseShellEventsResponse) ToJsonString ¶
func (r *DeleteReverseShellEventsResponse) ToJsonString() string
type DeleteReverseShellRulesRequest ¶
type DeleteReverseShellRulesRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteReverseShellRulesRequest ¶
func NewDeleteReverseShellRulesRequest() (request *DeleteReverseShellRulesRequest)
func (*DeleteReverseShellRulesRequest) FromJsonString ¶
func (r *DeleteReverseShellRulesRequest) FromJsonString(s string) error
func (*DeleteReverseShellRulesRequest) ToJsonString ¶
func (r *DeleteReverseShellRulesRequest) ToJsonString() string
type DeleteReverseShellRulesResponse ¶
type DeleteReverseShellRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteReverseShellRulesResponse ¶
func NewDeleteReverseShellRulesResponse() (response *DeleteReverseShellRulesResponse)
func (*DeleteReverseShellRulesResponse) FromJsonString ¶
func (r *DeleteReverseShellRulesResponse) FromJsonString(s string) error
func (*DeleteReverseShellRulesResponse) ToJsonString ¶
func (r *DeleteReverseShellRulesResponse) ToJsonString() string
type DeleteTagsRequest ¶
type DeleteTagsRequest struct {
*tchttp.BaseRequest
// 标签ID
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewDeleteTagsRequest ¶
func NewDeleteTagsRequest() (request *DeleteTagsRequest)
func (*DeleteTagsRequest) FromJsonString ¶
func (r *DeleteTagsRequest) FromJsonString(s string) error
func (*DeleteTagsRequest) ToJsonString ¶
func (r *DeleteTagsRequest) ToJsonString() string
type DeleteTagsResponse ¶
type DeleteTagsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteTagsResponse ¶
func NewDeleteTagsResponse() (response *DeleteTagsResponse)
func (*DeleteTagsResponse) FromJsonString ¶
func (r *DeleteTagsResponse) FromJsonString(s string) error
func (*DeleteTagsResponse) ToJsonString ¶
func (r *DeleteTagsResponse) ToJsonString() string
type DeleteUsualLoginPlacesRequest ¶
type DeleteUsualLoginPlacesRequest struct {
*tchttp.BaseRequest
// 云镜客户端Uuid
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 已添加常用登录地城市ID数组
CityIds []*uint64 `json:"CityIds,omitempty" name:"CityIds" list`
}
func NewDeleteUsualLoginPlacesRequest ¶
func NewDeleteUsualLoginPlacesRequest() (request *DeleteUsualLoginPlacesRequest)
func (*DeleteUsualLoginPlacesRequest) FromJsonString ¶
func (r *DeleteUsualLoginPlacesRequest) FromJsonString(s string) error
func (*DeleteUsualLoginPlacesRequest) ToJsonString ¶
func (r *DeleteUsualLoginPlacesRequest) ToJsonString() string
type DeleteUsualLoginPlacesResponse ¶
type DeleteUsualLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteUsualLoginPlacesResponse ¶
func NewDeleteUsualLoginPlacesResponse() (response *DeleteUsualLoginPlacesResponse)
func (*DeleteUsualLoginPlacesResponse) FromJsonString ¶
func (r *DeleteUsualLoginPlacesResponse) FromJsonString(s string) error
func (*DeleteUsualLoginPlacesResponse) ToJsonString ¶
func (r *DeleteUsualLoginPlacesResponse) ToJsonString() string
type DescribeAccountStatisticsRequest ¶
type DescribeAccountStatisticsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Username - String - 是否必填:否 - 帐号用户名</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeAccountStatisticsRequest ¶
func NewDescribeAccountStatisticsRequest() (request *DescribeAccountStatisticsRequest)
func (*DescribeAccountStatisticsRequest) FromJsonString ¶
func (r *DescribeAccountStatisticsRequest) FromJsonString(s string) error
func (*DescribeAccountStatisticsRequest) ToJsonString ¶
func (r *DescribeAccountStatisticsRequest) ToJsonString() string
type DescribeAccountStatisticsResponse ¶
type DescribeAccountStatisticsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 帐号统计列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 帐号统计列表。
AccountStatistics []*AccountStatistics `json:"AccountStatistics,omitempty" name:"AccountStatistics" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAccountStatisticsResponse ¶
func NewDescribeAccountStatisticsResponse() (response *DescribeAccountStatisticsResponse)
func (*DescribeAccountStatisticsResponse) FromJsonString ¶
func (r *DescribeAccountStatisticsResponse) FromJsonString(s string) error
func (*DescribeAccountStatisticsResponse) ToJsonString ¶
func (r *DescribeAccountStatisticsResponse) ToJsonString() string
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。Username和Uuid必填其一,使用Uuid表示,查询该主机下列表信息。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 云镜客户端唯一Uuid。Username和Uuid必填其一,使用Username表示,查询该用户名下列表信息。
Username *string `json:"Username,omitempty" name:"Username"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Username - String - 是否必填:否 - 帐号名</li>
// <li>Privilege - String - 是否必填:否 - 帐号类型(ORDINARY: 普通帐号 | SUPPER: 超级管理员帐号)</li>
// <li>MachineIp - String - 是否必填:否 - 主机内网IP</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeAccountsRequest ¶
func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)
func (*DescribeAccountsRequest) FromJsonString ¶
func (r *DescribeAccountsRequest) FromJsonString(s string) error
func (*DescribeAccountsRequest) ToJsonString ¶
func (r *DescribeAccountsRequest) ToJsonString() string
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 帐号列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 帐号数据列表。
Accounts []*Account `json:"Accounts,omitempty" name:"Accounts" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAccountsResponse ¶
func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)
func (*DescribeAccountsResponse) FromJsonString ¶
func (r *DescribeAccountsResponse) FromJsonString(s string) error
func (*DescribeAccountsResponse) ToJsonString ¶
func (r *DescribeAccountsResponse) ToJsonString() string
type DescribeAgentVulsRequest ¶
type DescribeAgentVulsRequest struct {
*tchttp.BaseRequest
// 漏洞类型。
// <li>WEB: Web应用漏洞</li>
// <li>SYSTEM:系统组件漏洞</li>
// <li>BASELINE:安全基线</li>
VulType *string `json:"VulType,omitempty" name:"VulType"`
// 客户端UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Status - String - 是否必填:否 - 状态筛选(UN_OPERATED: 待处理 | FIXED:已修复)
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeAgentVulsRequest ¶
func NewDescribeAgentVulsRequest() (request *DescribeAgentVulsRequest)
func (*DescribeAgentVulsRequest) FromJsonString ¶
func (r *DescribeAgentVulsRequest) FromJsonString(s string) error
func (*DescribeAgentVulsRequest) ToJsonString ¶
func (r *DescribeAgentVulsRequest) ToJsonString() string
type DescribeAgentVulsResponse ¶
type DescribeAgentVulsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 记录总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 主机漏洞信息
AgentVuls []*AgentVul `json:"AgentVuls,omitempty" name:"AgentVuls" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAgentVulsResponse ¶
func NewDescribeAgentVulsResponse() (response *DescribeAgentVulsResponse)
func (*DescribeAgentVulsResponse) FromJsonString ¶
func (r *DescribeAgentVulsResponse) FromJsonString(s string) error
func (*DescribeAgentVulsResponse) ToJsonString ¶
func (r *DescribeAgentVulsResponse) ToJsonString() string
type DescribeAlarmAttributeRequest ¶
type DescribeAlarmAttributeRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAlarmAttributeRequest ¶
func NewDescribeAlarmAttributeRequest() (request *DescribeAlarmAttributeRequest)
func (*DescribeAlarmAttributeRequest) FromJsonString ¶
func (r *DescribeAlarmAttributeRequest) FromJsonString(s string) error
func (*DescribeAlarmAttributeRequest) ToJsonString ¶
func (r *DescribeAlarmAttributeRequest) ToJsonString() string
type DescribeAlarmAttributeResponse ¶
type DescribeAlarmAttributeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 防护软件离线告警状态:
// <li>OPEN:告警已开启</li>
// <li>CLOSE: 告警已关闭</li>
Offline *string `json:"Offline,omitempty" name:"Offline"`
// 发现木马告警状态:
// <li>OPEN:告警已开启</li>
// <li>CLOSE: 告警已关闭</li>
Malware *string `json:"Malware,omitempty" name:"Malware"`
// 发现异地登录告警状态:
// <li>OPEN:告警已开启</li>
// <li>CLOSE: 告警已关闭</li>
NonlocalLogin *string `json:"NonlocalLogin,omitempty" name:"NonlocalLogin"`
// 被暴力破解成功告警状态:
// <li>OPEN:告警已开启</li>
// <li>CLOSE: 告警已关闭</li>
CrackSuccess *string `json:"CrackSuccess,omitempty" name:"CrackSuccess"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAlarmAttributeResponse ¶
func NewDescribeAlarmAttributeResponse() (response *DescribeAlarmAttributeResponse)
func (*DescribeAlarmAttributeResponse) FromJsonString ¶
func (r *DescribeAlarmAttributeResponse) FromJsonString(s string) error
func (*DescribeAlarmAttributeResponse) ToJsonString ¶
func (r *DescribeAlarmAttributeResponse) ToJsonString() string
type DescribeAttackLogInfoRequest ¶
type DescribeAttackLogInfoRequest struct {
*tchttp.BaseRequest
// 日志ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
}
func NewDescribeAttackLogInfoRequest ¶
func NewDescribeAttackLogInfoRequest() (request *DescribeAttackLogInfoRequest)
func (*DescribeAttackLogInfoRequest) FromJsonString ¶
func (r *DescribeAttackLogInfoRequest) FromJsonString(s string) error
func (*DescribeAttackLogInfoRequest) ToJsonString ¶
func (r *DescribeAttackLogInfoRequest) ToJsonString() string
type DescribeAttackLogInfoResponse ¶
type DescribeAttackLogInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 日志ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机ID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 攻击来源端口
SrcPort *uint64 `json:"SrcPort,omitempty" name:"SrcPort"`
// 攻击来源IP
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 攻击目标端口
DstPort *uint64 `json:"DstPort,omitempty" name:"DstPort"`
// 攻击目标IP
DstIp *string `json:"DstIp,omitempty" name:"DstIp"`
// 攻击方法
HttpMethod *string `json:"HttpMethod,omitempty" name:"HttpMethod"`
// 攻击目标主机
HttpHost *string `json:"HttpHost,omitempty" name:"HttpHost"`
// 攻击头信息
HttpHead *string `json:"HttpHead,omitempty" name:"HttpHead"`
// 攻击者浏览器标识
HttpUserAgent *string `json:"HttpUserAgent,omitempty" name:"HttpUserAgent"`
// 请求源
HttpReferer *string `json:"HttpReferer,omitempty" name:"HttpReferer"`
// 威胁类型
VulType *string `json:"VulType,omitempty" name:"VulType"`
// 攻击路径
HttpCgi *string `json:"HttpCgi,omitempty" name:"HttpCgi"`
// 攻击参数
HttpParam *string `json:"HttpParam,omitempty" name:"HttpParam"`
// 攻击时间
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 攻击内容
HttpContent *string `json:"HttpContent,omitempty" name:"HttpContent"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAttackLogInfoResponse ¶
func NewDescribeAttackLogInfoResponse() (response *DescribeAttackLogInfoResponse)
func (*DescribeAttackLogInfoResponse) FromJsonString ¶
func (r *DescribeAttackLogInfoResponse) FromJsonString(s string) error
func (*DescribeAttackLogInfoResponse) ToJsonString ¶
func (r *DescribeAttackLogInfoResponse) ToJsonString() string
type DescribeAttackLogsRequest ¶
type DescribeAttackLogsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)</li>
// <li>MachineIp - String - 是否必填:否 - 主机内网IP</li>
// <li>DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeAttackLogsRequest ¶
func NewDescribeAttackLogsRequest() (request *DescribeAttackLogsRequest)
func (*DescribeAttackLogsRequest) FromJsonString ¶
func (r *DescribeAttackLogsRequest) FromJsonString(s string) error
func (*DescribeAttackLogsRequest) ToJsonString ¶
func (r *DescribeAttackLogsRequest) ToJsonString() string
type DescribeAttackLogsResponse ¶
type DescribeAttackLogsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 日志列表
// 注意:此字段可能返回 null,表示取不到有效值。
AttackLogs []*DefendAttackLog `json:"AttackLogs,omitempty" name:"AttackLogs" list`
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAttackLogsResponse ¶
func NewDescribeAttackLogsResponse() (response *DescribeAttackLogsResponse)
func (*DescribeAttackLogsResponse) FromJsonString ¶
func (r *DescribeAttackLogsResponse) FromJsonString(s string) error
func (*DescribeAttackLogsResponse) ToJsonString ¶
func (r *DescribeAttackLogsResponse) ToJsonString() string
type DescribeBashEventsRequest ¶
type DescribeBashEventsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 关键词(主机内网IP)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeBashEventsRequest ¶
func NewDescribeBashEventsRequest() (request *DescribeBashEventsRequest)
func (*DescribeBashEventsRequest) FromJsonString ¶
func (r *DescribeBashEventsRequest) FromJsonString(s string) error
func (*DescribeBashEventsRequest) ToJsonString ¶
func (r *DescribeBashEventsRequest) ToJsonString() string
type DescribeBashEventsResponse ¶
type DescribeBashEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 高危命令事件列表
List []*BashEvent `json:"List,omitempty" name:"List" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeBashEventsResponse ¶
func NewDescribeBashEventsResponse() (response *DescribeBashEventsResponse)
func (*DescribeBashEventsResponse) FromJsonString ¶
func (r *DescribeBashEventsResponse) FromJsonString(s string) error
func (*DescribeBashEventsResponse) ToJsonString ¶
func (r *DescribeBashEventsResponse) ToJsonString() string
type DescribeBashRulesRequest ¶
type DescribeBashRulesRequest struct {
*tchttp.BaseRequest
// 0-系统规则; 1-用户规则
Type *uint64 `json:"Type,omitempty" name:"Type"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 关键字(规则名称)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeBashRulesRequest ¶
func NewDescribeBashRulesRequest() (request *DescribeBashRulesRequest)
func (*DescribeBashRulesRequest) FromJsonString ¶
func (r *DescribeBashRulesRequest) FromJsonString(s string) error
func (*DescribeBashRulesRequest) ToJsonString ¶
func (r *DescribeBashRulesRequest) ToJsonString() string
type DescribeBashRulesResponse ¶
type DescribeBashRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 列表内容
List []*BashRule `json:"List,omitempty" name:"List" list`
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeBashRulesResponse ¶
func NewDescribeBashRulesResponse() (response *DescribeBashRulesResponse)
func (*DescribeBashRulesResponse) FromJsonString ¶
func (r *DescribeBashRulesResponse) FromJsonString(s string) error
func (*DescribeBashRulesResponse) ToJsonString ¶
func (r *DescribeBashRulesResponse) ToJsonString() string
type DescribeBruteAttacksRequest ¶
type DescribeBruteAttacksRequest struct {
*tchttp.BaseRequest
// 客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 查询关键字</li>
// <li>Status - String - 是否必填:否 - 查询状态(FAILED:破解失败 |SUCCESS:破解成功)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeBruteAttacksRequest ¶
func NewDescribeBruteAttacksRequest() (request *DescribeBruteAttacksRequest)
func (*DescribeBruteAttacksRequest) FromJsonString ¶
func (r *DescribeBruteAttacksRequest) FromJsonString(s string) error
func (*DescribeBruteAttacksRequest) ToJsonString ¶
func (r *DescribeBruteAttacksRequest) ToJsonString() string
type DescribeBruteAttacksResponse ¶
type DescribeBruteAttacksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 事件数量
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 暴力破解事件列表
BruteAttacks []*BruteAttack `json:"BruteAttacks,omitempty" name:"BruteAttacks" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeBruteAttacksResponse ¶
func NewDescribeBruteAttacksResponse() (response *DescribeBruteAttacksResponse)
func (*DescribeBruteAttacksResponse) FromJsonString ¶
func (r *DescribeBruteAttacksResponse) FromJsonString(s string) error
func (*DescribeBruteAttacksResponse) ToJsonString ¶
func (r *DescribeBruteAttacksResponse) ToJsonString() string
type DescribeComponentInfoRequest ¶
type DescribeComponentInfoRequest struct {
*tchttp.BaseRequest
// 组件ID。
ComponentId *uint64 `json:"ComponentId,omitempty" name:"ComponentId"`
}
func NewDescribeComponentInfoRequest ¶
func NewDescribeComponentInfoRequest() (request *DescribeComponentInfoRequest)
func (*DescribeComponentInfoRequest) FromJsonString ¶
func (r *DescribeComponentInfoRequest) FromJsonString(s string) error
func (*DescribeComponentInfoRequest) ToJsonString ¶
func (r *DescribeComponentInfoRequest) ToJsonString() string
type DescribeComponentInfoResponse ¶
type DescribeComponentInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 组件ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 组件名称。
ComponentName *string `json:"ComponentName,omitempty" name:"ComponentName"`
// 组件类型。
// <li>WEB:web组件</li>
// <li>SYSTEM:系统组件</li>
ComponentType *string `json:"ComponentType,omitempty" name:"ComponentType"`
// 组件官网。
Homepage *string `json:"Homepage,omitempty" name:"Homepage"`
// 组件描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeComponentInfoResponse ¶
func NewDescribeComponentInfoResponse() (response *DescribeComponentInfoResponse)
func (*DescribeComponentInfoResponse) FromJsonString ¶
func (r *DescribeComponentInfoResponse) FromJsonString(s string) error
func (*DescribeComponentInfoResponse) ToJsonString ¶
func (r *DescribeComponentInfoResponse) ToJsonString() string
type DescribeComponentStatisticsRequest ¶
type DescribeComponentStatisticsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// ComponentName - String - 是否必填:否 - 组件名称
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeComponentStatisticsRequest ¶
func NewDescribeComponentStatisticsRequest() (request *DescribeComponentStatisticsRequest)
func (*DescribeComponentStatisticsRequest) FromJsonString ¶
func (r *DescribeComponentStatisticsRequest) FromJsonString(s string) error
func (*DescribeComponentStatisticsRequest) ToJsonString ¶
func (r *DescribeComponentStatisticsRequest) ToJsonString() string
type DescribeComponentStatisticsResponse ¶
type DescribeComponentStatisticsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 组件统计列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 组件统计列表数据数组。
ComponentStatistics []*ComponentStatistics `json:"ComponentStatistics,omitempty" name:"ComponentStatistics" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeComponentStatisticsResponse ¶
func NewDescribeComponentStatisticsResponse() (response *DescribeComponentStatisticsResponse)
func (*DescribeComponentStatisticsResponse) FromJsonString ¶
func (r *DescribeComponentStatisticsResponse) FromJsonString(s string) error
func (*DescribeComponentStatisticsResponse) ToJsonString ¶
func (r *DescribeComponentStatisticsResponse) ToJsonString() string
type DescribeComponentsRequest ¶
type DescribeComponentsRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。Uuid和ComponentId必填其一,使用Uuid表示,查询该主机列表信息。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 组件ID。Uuid和ComponentId必填其一,使用ComponentId表示,查询该组件列表信息。
ComponentId *uint64 `json:"ComponentId,omitempty" name:"ComponentId"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>ComponentVersion - String - 是否必填:否 - 组件版本号</li>
// <li>MachineIp - String - 是否必填:否 - 主机内网IP</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeComponentsRequest ¶
func NewDescribeComponentsRequest() (request *DescribeComponentsRequest)
func (*DescribeComponentsRequest) FromJsonString ¶
func (r *DescribeComponentsRequest) FromJsonString(s string) error
func (*DescribeComponentsRequest) ToJsonString ¶
func (r *DescribeComponentsRequest) ToJsonString() string
type DescribeComponentsResponse ¶
type DescribeComponentsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 组件列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 组件列表数据。
Components []*Component `json:"Components,omitempty" name:"Components" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeComponentsResponse ¶
func NewDescribeComponentsResponse() (response *DescribeComponentsResponse)
func (*DescribeComponentsResponse) FromJsonString ¶
func (r *DescribeComponentsResponse) FromJsonString(s string) error
func (*DescribeComponentsResponse) ToJsonString ¶
func (r *DescribeComponentsResponse) ToJsonString() string
type DescribeHistoryAccountsRequest ¶
type DescribeHistoryAccountsRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Username - String - 是否必填:否 - 帐号名</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeHistoryAccountsRequest ¶
func NewDescribeHistoryAccountsRequest() (request *DescribeHistoryAccountsRequest)
func (*DescribeHistoryAccountsRequest) FromJsonString ¶
func (r *DescribeHistoryAccountsRequest) FromJsonString(s string) error
func (*DescribeHistoryAccountsRequest) ToJsonString ¶
func (r *DescribeHistoryAccountsRequest) ToJsonString() string
type DescribeHistoryAccountsResponse ¶
type DescribeHistoryAccountsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 帐号变更历史列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 帐号变更历史数据数组。
HistoryAccounts []*HistoryAccount `json:"HistoryAccounts,omitempty" name:"HistoryAccounts" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeHistoryAccountsResponse ¶
func NewDescribeHistoryAccountsResponse() (response *DescribeHistoryAccountsResponse)
func (*DescribeHistoryAccountsResponse) FromJsonString ¶
func (r *DescribeHistoryAccountsResponse) FromJsonString(s string) error
func (*DescribeHistoryAccountsResponse) ToJsonString ¶
func (r *DescribeHistoryAccountsResponse) ToJsonString() string
type DescribeImpactedHostsRequest ¶
type DescribeImpactedHostsRequest struct {
*tchttp.BaseRequest
// 漏洞种类ID。
VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Status - String - 是否必填:否 - 状态筛选(UN_OPERATED:待处理 | FIXED:已修复)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeImpactedHostsRequest ¶
func NewDescribeImpactedHostsRequest() (request *DescribeImpactedHostsRequest)
func (*DescribeImpactedHostsRequest) FromJsonString ¶
func (r *DescribeImpactedHostsRequest) FromJsonString(s string) error
func (*DescribeImpactedHostsRequest) ToJsonString ¶
func (r *DescribeImpactedHostsRequest) ToJsonString() string
type DescribeImpactedHostsResponse ¶
type DescribeImpactedHostsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 记录总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 漏洞影响机器列表数组
ImpactedHosts []*ImpactedHost `json:"ImpactedHosts,omitempty" name:"ImpactedHosts" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeImpactedHostsResponse ¶
func NewDescribeImpactedHostsResponse() (response *DescribeImpactedHostsResponse)
func (*DescribeImpactedHostsResponse) FromJsonString ¶
func (r *DescribeImpactedHostsResponse) FromJsonString(s string) error
func (*DescribeImpactedHostsResponse) ToJsonString ¶
func (r *DescribeImpactedHostsResponse) ToJsonString() string
type DescribeLoginWhiteListRequest ¶
type DescribeLoginWhiteListRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 查询关键字 </li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeLoginWhiteListRequest ¶
func NewDescribeLoginWhiteListRequest() (request *DescribeLoginWhiteListRequest)
func (*DescribeLoginWhiteListRequest) FromJsonString ¶
func (r *DescribeLoginWhiteListRequest) FromJsonString(s string) error
func (*DescribeLoginWhiteListRequest) ToJsonString ¶
func (r *DescribeLoginWhiteListRequest) ToJsonString() string
type DescribeLoginWhiteListResponse ¶
type DescribeLoginWhiteListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 记录总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 异地登录白名单数组
LoginWhiteLists []*LoginWhiteLists `json:"LoginWhiteLists,omitempty" name:"LoginWhiteLists" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeLoginWhiteListResponse ¶
func NewDescribeLoginWhiteListResponse() (response *DescribeLoginWhiteListResponse)
func (*DescribeLoginWhiteListResponse) FromJsonString ¶
func (r *DescribeLoginWhiteListResponse) FromJsonString(s string) error
func (*DescribeLoginWhiteListResponse) ToJsonString ¶
func (r *DescribeLoginWhiteListResponse) ToJsonString() string
type DescribeMachineInfoRequest ¶
type DescribeMachineInfoRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewDescribeMachineInfoRequest ¶
func NewDescribeMachineInfoRequest() (request *DescribeMachineInfoRequest)
func (*DescribeMachineInfoRequest) FromJsonString ¶
func (r *DescribeMachineInfoRequest) FromJsonString(s string) error
func (*DescribeMachineInfoRequest) ToJsonString ¶
func (r *DescribeMachineInfoRequest) ToJsonString() string
type DescribeMachineInfoResponse ¶
type DescribeMachineInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 机器ip。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 受云镜保护天数。
ProtectDays *uint64 `json:"ProtectDays,omitempty" name:"ProtectDays"`
// 操作系统。
MachineOs *string `json:"MachineOs,omitempty" name:"MachineOs"`
// 主机名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 在线状态。
// <li>ONLINE: 在线</li>
// <li>OFFLINE:离线</li>
MachineStatus *string `json:"MachineStatus,omitempty" name:"MachineStatus"`
// CVM或BM主机唯一标识。
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
// 主机外网IP。
MachineWanIp *string `json:"MachineWanIp,omitempty" name:"MachineWanIp"`
// CVM或BM主机唯一Uuid。
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 是否开通专业版。
// <li>true:是</li>
// <li>false:否</li>
IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`
// 专业版开通时间。
ProVersionOpenDate *string `json:"ProVersionOpenDate,omitempty" name:"ProVersionOpenDate"`
// 云主机类型。
// <li>CVM: 虚拟主机</li>
// <li>BM: 黑石物理机</li>
MachineType *string `json:"MachineType,omitempty" name:"MachineType"`
// 机器所属地域。如:ap-guangzhou,ap-shanghai
MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`
// 主机状态。
// <li>POSTPAY: 表示后付费,即按量计费 </li>
// <li>PREPAY: 表示预付费,即包年包月</li>
PayMode *string `json:"PayMode,omitempty" name:"PayMode"`
// 免费木马剩余检测数量。
FreeMalwaresLeft *uint64 `json:"FreeMalwaresLeft,omitempty" name:"FreeMalwaresLeft"`
// 免费漏洞剩余检测数量。
FreeVulsLeft *uint64 `json:"FreeVulsLeft,omitempty" name:"FreeVulsLeft"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMachineInfoResponse ¶
func NewDescribeMachineInfoResponse() (response *DescribeMachineInfoResponse)
func (*DescribeMachineInfoResponse) FromJsonString ¶
func (r *DescribeMachineInfoResponse) FromJsonString(s string) error
func (*DescribeMachineInfoResponse) ToJsonString ¶
func (r *DescribeMachineInfoResponse) ToJsonString() string
type DescribeMachinesRequest ¶
type DescribeMachinesRequest struct {
*tchttp.BaseRequest
// 云主机类型。
// <li>CVM:表示虚拟主机</li>
// <li>BM: 表示黑石物理机</li>
MachineType *string `json:"MachineType,omitempty" name:"MachineType"`
// 机器所属地域。如:ap-guangzhou,ap-shanghai
MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 查询关键字 </li>
// <li>Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线 | ONLINE: 在线)</li>
// <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)</li>
// 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeMachinesRequest ¶
func NewDescribeMachinesRequest() (request *DescribeMachinesRequest)
func (*DescribeMachinesRequest) FromJsonString ¶
func (r *DescribeMachinesRequest) FromJsonString(s string) error
func (*DescribeMachinesRequest) ToJsonString ¶
func (r *DescribeMachinesRequest) ToJsonString() string
type DescribeMachinesResponse ¶
type DescribeMachinesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 主机列表
Machines []*Machine `json:"Machines,omitempty" name:"Machines" list`
// 主机数量
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMachinesResponse ¶
func NewDescribeMachinesResponse() (response *DescribeMachinesResponse)
func (*DescribeMachinesResponse) FromJsonString ¶
func (r *DescribeMachinesResponse) FromJsonString(s string) error
func (*DescribeMachinesResponse) ToJsonString ¶
func (r *DescribeMachinesResponse) ToJsonString() string
type DescribeMaliciousRequestsRequest ¶
type DescribeMaliciousRequestsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Status - String - 是否必填:否 - 状态筛选(UN_OPERATED: 待处理 | TRUSTED:已信任 | UN_TRUSTED:已取消信任)</li>
// <li>Domain - String - 是否必填:否 - 恶意请求的域名</li>
// <li>MachineIp - String - 是否必填:否 - 主机内网IP</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 云镜客户端唯一UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewDescribeMaliciousRequestsRequest ¶
func NewDescribeMaliciousRequestsRequest() (request *DescribeMaliciousRequestsRequest)
func (*DescribeMaliciousRequestsRequest) FromJsonString ¶
func (r *DescribeMaliciousRequestsRequest) FromJsonString(s string) error
func (*DescribeMaliciousRequestsRequest) ToJsonString ¶
func (r *DescribeMaliciousRequestsRequest) ToJsonString() string
type DescribeMaliciousRequestsResponse ¶
type DescribeMaliciousRequestsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 恶意请求记录数组。
MaliciousRequests []*MaliciousRequest `json:"MaliciousRequests,omitempty" name:"MaliciousRequests" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMaliciousRequestsResponse ¶
func NewDescribeMaliciousRequestsResponse() (response *DescribeMaliciousRequestsResponse)
func (*DescribeMaliciousRequestsResponse) FromJsonString ¶
func (r *DescribeMaliciousRequestsResponse) FromJsonString(s string) error
func (*DescribeMaliciousRequestsResponse) ToJsonString ¶
func (r *DescribeMaliciousRequestsResponse) ToJsonString() string
type DescribeMalwaresRequest ¶
type DescribeMalwaresRequest struct {
*tchttp.BaseRequest
// 客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 查询关键字 </li>
// <li>Status - String - 是否必填:否 - 木马状态(UN_OPERATED: 未处理 | SEGREGATED: 已隔离|TRUSTED:信任)</li>
// 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询。
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeMalwaresRequest ¶
func NewDescribeMalwaresRequest() (request *DescribeMalwaresRequest)
func (*DescribeMalwaresRequest) FromJsonString ¶
func (r *DescribeMalwaresRequest) FromJsonString(s string) error
func (*DescribeMalwaresRequest) ToJsonString ¶
func (r *DescribeMalwaresRequest) ToJsonString() string
type DescribeMalwaresResponse ¶
type DescribeMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 木马总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// Malware数组。
Malwares []*Malware `json:"Malwares,omitempty" name:"Malwares" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMalwaresResponse ¶
func NewDescribeMalwaresResponse() (response *DescribeMalwaresResponse)
func (*DescribeMalwaresResponse) FromJsonString ¶
func (r *DescribeMalwaresResponse) FromJsonString(s string) error
func (*DescribeMalwaresResponse) ToJsonString ¶
func (r *DescribeMalwaresResponse) ToJsonString() string
type DescribeNonlocalLoginPlacesRequest ¶
type DescribeNonlocalLoginPlacesRequest struct {
*tchttp.BaseRequest
// 客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 查询关键字</li>
// <li>Status - String - 是否必填:否 - 登录状态(NON_LOCAL_LOGIN: 异地登录 | NORMAL_LOGIN : 正常登录)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeNonlocalLoginPlacesRequest ¶
func NewDescribeNonlocalLoginPlacesRequest() (request *DescribeNonlocalLoginPlacesRequest)
func (*DescribeNonlocalLoginPlacesRequest) FromJsonString ¶
func (r *DescribeNonlocalLoginPlacesRequest) FromJsonString(s string) error
func (*DescribeNonlocalLoginPlacesRequest) ToJsonString ¶
func (r *DescribeNonlocalLoginPlacesRequest) ToJsonString() string
type DescribeNonlocalLoginPlacesResponse ¶
type DescribeNonlocalLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 异地登录信息数组。
NonLocalLoginPlaces []*NonLocalLoginPlace `json:"NonLocalLoginPlaces,omitempty" name:"NonLocalLoginPlaces" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeNonlocalLoginPlacesResponse ¶
func NewDescribeNonlocalLoginPlacesResponse() (response *DescribeNonlocalLoginPlacesResponse)
func (*DescribeNonlocalLoginPlacesResponse) FromJsonString ¶
func (r *DescribeNonlocalLoginPlacesResponse) FromJsonString(s string) error
func (*DescribeNonlocalLoginPlacesResponse) ToJsonString ¶
func (r *DescribeNonlocalLoginPlacesResponse) ToJsonString() string
type DescribeOpenPortStatisticsRequest ¶
type DescribeOpenPortStatisticsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Port - Uint64 - 是否必填:否 - 端口号</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeOpenPortStatisticsRequest ¶
func NewDescribeOpenPortStatisticsRequest() (request *DescribeOpenPortStatisticsRequest)
func (*DescribeOpenPortStatisticsRequest) FromJsonString ¶
func (r *DescribeOpenPortStatisticsRequest) FromJsonString(s string) error
func (*DescribeOpenPortStatisticsRequest) ToJsonString ¶
func (r *DescribeOpenPortStatisticsRequest) ToJsonString() string
type DescribeOpenPortStatisticsResponse ¶
type DescribeOpenPortStatisticsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 端口统计列表总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 端口统计数据列表
OpenPortStatistics []*OpenPortStatistics `json:"OpenPortStatistics,omitempty" name:"OpenPortStatistics" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeOpenPortStatisticsResponse ¶
func NewDescribeOpenPortStatisticsResponse() (response *DescribeOpenPortStatisticsResponse)
func (*DescribeOpenPortStatisticsResponse) FromJsonString ¶
func (r *DescribeOpenPortStatisticsResponse) FromJsonString(s string) error
func (*DescribeOpenPortStatisticsResponse) ToJsonString ¶
func (r *DescribeOpenPortStatisticsResponse) ToJsonString() string
type DescribeOpenPortTaskStatusRequest ¶
type DescribeOpenPortTaskStatusRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewDescribeOpenPortTaskStatusRequest ¶
func NewDescribeOpenPortTaskStatusRequest() (request *DescribeOpenPortTaskStatusRequest)
func (*DescribeOpenPortTaskStatusRequest) FromJsonString ¶
func (r *DescribeOpenPortTaskStatusRequest) FromJsonString(s string) error
func (*DescribeOpenPortTaskStatusRequest) ToJsonString ¶
func (r *DescribeOpenPortTaskStatusRequest) ToJsonString() string
type DescribeOpenPortTaskStatusResponse ¶
type DescribeOpenPortTaskStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 任务状态。
// <li>COMPLETE:完成(此时可以调用DescribeOpenPorts接口获取实时进程列表)</li>
// <li>AGENT_OFFLINE:云镜客户端离线</li>
// <li>COLLECTING:端口获取中</li>
// <li>FAILED:进程获取失败</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeOpenPortTaskStatusResponse ¶
func NewDescribeOpenPortTaskStatusResponse() (response *DescribeOpenPortTaskStatusResponse)
func (*DescribeOpenPortTaskStatusResponse) FromJsonString ¶
func (r *DescribeOpenPortTaskStatusResponse) FromJsonString(s string) error
func (*DescribeOpenPortTaskStatusResponse) ToJsonString ¶
func (r *DescribeOpenPortTaskStatusResponse) ToJsonString() string
type DescribeOpenPortsRequest ¶
type DescribeOpenPortsRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。Port和Uuid必填其一,使用Uuid表示,查询该主机列表信息。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 开放端口号。Port和Uuid必填其一,使用Port表示查询该端口的列表信息。
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Port - Uint64 - 是否必填:否 - 端口号</li>
// <li>ProcessName - String - 是否必填:否 - 进程名</li>
// <li>MachineIp - String - 是否必填:否 - 主机内网IP</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeOpenPortsRequest ¶
func NewDescribeOpenPortsRequest() (request *DescribeOpenPortsRequest)
func (*DescribeOpenPortsRequest) FromJsonString ¶
func (r *DescribeOpenPortsRequest) FromJsonString(s string) error
func (*DescribeOpenPortsRequest) ToJsonString ¶
func (r *DescribeOpenPortsRequest) ToJsonString() string
type DescribeOpenPortsResponse ¶
type DescribeOpenPortsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 端口列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 端口列表。
OpenPorts []*OpenPort `json:"OpenPorts,omitempty" name:"OpenPorts" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeOpenPortsResponse ¶
func NewDescribeOpenPortsResponse() (response *DescribeOpenPortsResponse)
func (*DescribeOpenPortsResponse) FromJsonString ¶
func (r *DescribeOpenPortsResponse) FromJsonString(s string) error
func (*DescribeOpenPortsResponse) ToJsonString ¶
func (r *DescribeOpenPortsResponse) ToJsonString() string
type DescribeOverviewStatisticsRequest ¶
type DescribeOverviewStatisticsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeOverviewStatisticsRequest ¶
func NewDescribeOverviewStatisticsRequest() (request *DescribeOverviewStatisticsRequest)
func (*DescribeOverviewStatisticsRequest) FromJsonString ¶
func (r *DescribeOverviewStatisticsRequest) FromJsonString(s string) error
func (*DescribeOverviewStatisticsRequest) ToJsonString ¶
func (r *DescribeOverviewStatisticsRequest) ToJsonString() string
type DescribeOverviewStatisticsResponse ¶
type DescribeOverviewStatisticsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 服务器在线数。
OnlineMachineNum *uint64 `json:"OnlineMachineNum,omitempty" name:"OnlineMachineNum"`
// 专业服务器数。
ProVersionMachineNum *uint64 `json:"ProVersionMachineNum,omitempty" name:"ProVersionMachineNum"`
// 木马文件数。
MalwareNum *uint64 `json:"MalwareNum,omitempty" name:"MalwareNum"`
// 异地登录数。
NonlocalLoginNum *uint64 `json:"NonlocalLoginNum,omitempty" name:"NonlocalLoginNum"`
// 暴力破解成功数。
BruteAttackSuccessNum *uint64 `json:"BruteAttackSuccessNum,omitempty" name:"BruteAttackSuccessNum"`
// 漏洞数。
VulNum *uint64 `json:"VulNum,omitempty" name:"VulNum"`
// 安全基线数。
BaseLineNum *uint64 `json:"BaseLineNum,omitempty" name:"BaseLineNum"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeOverviewStatisticsResponse ¶
func NewDescribeOverviewStatisticsResponse() (response *DescribeOverviewStatisticsResponse)
func (*DescribeOverviewStatisticsResponse) FromJsonString ¶
func (r *DescribeOverviewStatisticsResponse) FromJsonString(s string) error
func (*DescribeOverviewStatisticsResponse) ToJsonString ¶
func (r *DescribeOverviewStatisticsResponse) ToJsonString() string
type DescribePrivilegeEventsRequest ¶
type DescribePrivilegeEventsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 关键词(主机IP)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribePrivilegeEventsRequest ¶
func NewDescribePrivilegeEventsRequest() (request *DescribePrivilegeEventsRequest)
func (*DescribePrivilegeEventsRequest) FromJsonString ¶
func (r *DescribePrivilegeEventsRequest) FromJsonString(s string) error
func (*DescribePrivilegeEventsRequest) ToJsonString ¶
func (r *DescribePrivilegeEventsRequest) ToJsonString() string
type DescribePrivilegeEventsResponse ¶
type DescribePrivilegeEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 数据列表
List []*PrivilegeEscalationProcess `json:"List,omitempty" name:"List" list`
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePrivilegeEventsResponse ¶
func NewDescribePrivilegeEventsResponse() (response *DescribePrivilegeEventsResponse)
func (*DescribePrivilegeEventsResponse) FromJsonString ¶
func (r *DescribePrivilegeEventsResponse) FromJsonString(s string) error
func (*DescribePrivilegeEventsResponse) ToJsonString ¶
func (r *DescribePrivilegeEventsResponse) ToJsonString() string
type DescribePrivilegeRulesRequest ¶
type DescribePrivilegeRulesRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 关键字(进程名称)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribePrivilegeRulesRequest ¶
func NewDescribePrivilegeRulesRequest() (request *DescribePrivilegeRulesRequest)
func (*DescribePrivilegeRulesRequest) FromJsonString ¶
func (r *DescribePrivilegeRulesRequest) FromJsonString(s string) error
func (*DescribePrivilegeRulesRequest) ToJsonString ¶
func (r *DescribePrivilegeRulesRequest) ToJsonString() string
type DescribePrivilegeRulesResponse ¶
type DescribePrivilegeRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 列表内容
List []*PrivilegeRule `json:"List,omitempty" name:"List" list`
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePrivilegeRulesResponse ¶
func NewDescribePrivilegeRulesResponse() (response *DescribePrivilegeRulesResponse)
func (*DescribePrivilegeRulesResponse) FromJsonString ¶
func (r *DescribePrivilegeRulesResponse) FromJsonString(s string) error
func (*DescribePrivilegeRulesResponse) ToJsonString ¶
func (r *DescribePrivilegeRulesResponse) ToJsonString() string
type DescribeProVersionInfoRequest ¶
type DescribeProVersionInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribeProVersionInfoRequest ¶
func NewDescribeProVersionInfoRequest() (request *DescribeProVersionInfoRequest)
func (*DescribeProVersionInfoRequest) FromJsonString ¶
func (r *DescribeProVersionInfoRequest) FromJsonString(s string) error
func (*DescribeProVersionInfoRequest) ToJsonString ¶
func (r *DescribeProVersionInfoRequest) ToJsonString() string
type DescribeProVersionInfoResponse ¶
type DescribeProVersionInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 后付费昨日扣费
PostPayCost *uint64 `json:"PostPayCost,omitempty" name:"PostPayCost"`
// 新增主机是否自动开通专业版
IsAutoOpenProVersion *bool `json:"IsAutoOpenProVersion,omitempty" name:"IsAutoOpenProVersion"`
// 开通专业版主机数
ProVersionNum *uint64 `json:"ProVersionNum,omitempty" name:"ProVersionNum"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeProVersionInfoResponse ¶
func NewDescribeProVersionInfoResponse() (response *DescribeProVersionInfoResponse)
func (*DescribeProVersionInfoResponse) FromJsonString ¶
func (r *DescribeProVersionInfoResponse) FromJsonString(s string) error
func (*DescribeProVersionInfoResponse) ToJsonString ¶
func (r *DescribeProVersionInfoResponse) ToJsonString() string
type DescribeProcessStatisticsRequest ¶
type DescribeProcessStatisticsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>ProcessName - String - 是否必填:否 - 进程名</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeProcessStatisticsRequest ¶
func NewDescribeProcessStatisticsRequest() (request *DescribeProcessStatisticsRequest)
func (*DescribeProcessStatisticsRequest) FromJsonString ¶
func (r *DescribeProcessStatisticsRequest) FromJsonString(s string) error
func (*DescribeProcessStatisticsRequest) ToJsonString ¶
func (r *DescribeProcessStatisticsRequest) ToJsonString() string
type DescribeProcessStatisticsResponse ¶
type DescribeProcessStatisticsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 进程统计列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 进程统计列表数据数组。
ProcessStatistics []*ProcessStatistics `json:"ProcessStatistics,omitempty" name:"ProcessStatistics" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeProcessStatisticsResponse ¶
func NewDescribeProcessStatisticsResponse() (response *DescribeProcessStatisticsResponse)
func (*DescribeProcessStatisticsResponse) FromJsonString ¶
func (r *DescribeProcessStatisticsResponse) FromJsonString(s string) error
func (*DescribeProcessStatisticsResponse) ToJsonString ¶
func (r *DescribeProcessStatisticsResponse) ToJsonString() string
type DescribeProcessTaskStatusRequest ¶
type DescribeProcessTaskStatusRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewDescribeProcessTaskStatusRequest ¶
func NewDescribeProcessTaskStatusRequest() (request *DescribeProcessTaskStatusRequest)
func (*DescribeProcessTaskStatusRequest) FromJsonString ¶
func (r *DescribeProcessTaskStatusRequest) FromJsonString(s string) error
func (*DescribeProcessTaskStatusRequest) ToJsonString ¶
func (r *DescribeProcessTaskStatusRequest) ToJsonString() string
type DescribeProcessTaskStatusResponse ¶
type DescribeProcessTaskStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 任务状态。
// <li>COMPLETE:完成(此时可以调用DescribeProcesses接口获取实时进程列表)</li>
// <li>AGENT_OFFLINE:云镜客户端离线</li>
// <li>COLLECTING:进程获取中</li>
// <li>FAILED:进程获取失败</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeProcessTaskStatusResponse ¶
func NewDescribeProcessTaskStatusResponse() (response *DescribeProcessTaskStatusResponse)
func (*DescribeProcessTaskStatusResponse) FromJsonString ¶
func (r *DescribeProcessTaskStatusResponse) FromJsonString(s string) error
func (*DescribeProcessTaskStatusResponse) ToJsonString ¶
func (r *DescribeProcessTaskStatusResponse) ToJsonString() string
type DescribeProcessesRequest ¶
type DescribeProcessesRequest struct {
*tchttp.BaseRequest
// 云镜客户端唯一Uuid。Uuid和ProcessName必填其一,使用Uuid表示,查询该主机列表信息。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 进程名。Uuid和ProcessName必填其一,使用ProcessName表示,查询该进程列表信息。
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>ProcessName - String - 是否必填:否 - 进程名</li>
// <li>MachineIp - String - 是否必填:否 - 主机内网IP</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeProcessesRequest ¶
func NewDescribeProcessesRequest() (request *DescribeProcessesRequest)
func (*DescribeProcessesRequest) FromJsonString ¶
func (r *DescribeProcessesRequest) FromJsonString(s string) error
func (*DescribeProcessesRequest) ToJsonString ¶
func (r *DescribeProcessesRequest) ToJsonString() string
type DescribeProcessesResponse ¶
type DescribeProcessesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 进程列表记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 进程列表数据数组。
Processes []*Process `json:"Processes,omitempty" name:"Processes" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeProcessesResponse ¶
func NewDescribeProcessesResponse() (response *DescribeProcessesResponse)
func (*DescribeProcessesResponse) FromJsonString ¶
func (r *DescribeProcessesResponse) FromJsonString(s string) error
func (*DescribeProcessesResponse) ToJsonString ¶
func (r *DescribeProcessesResponse) ToJsonString() string
type DescribeReverseShellEventsRequest ¶
type DescribeReverseShellEventsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 关键字(主机内网IP|进程名)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeReverseShellEventsRequest ¶
func NewDescribeReverseShellEventsRequest() (request *DescribeReverseShellEventsRequest)
func (*DescribeReverseShellEventsRequest) FromJsonString ¶
func (r *DescribeReverseShellEventsRequest) FromJsonString(s string) error
func (*DescribeReverseShellEventsRequest) ToJsonString ¶
func (r *DescribeReverseShellEventsRequest) ToJsonString() string
type DescribeReverseShellEventsResponse ¶
type DescribeReverseShellEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 列表内容
List []*ReverseShell `json:"List,omitempty" name:"List" list`
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeReverseShellEventsResponse ¶
func NewDescribeReverseShellEventsResponse() (response *DescribeReverseShellEventsResponse)
func (*DescribeReverseShellEventsResponse) FromJsonString ¶
func (r *DescribeReverseShellEventsResponse) FromJsonString(s string) error
func (*DescribeReverseShellEventsResponse) ToJsonString ¶
func (r *DescribeReverseShellEventsResponse) ToJsonString() string
type DescribeReverseShellRulesRequest ¶
type DescribeReverseShellRulesRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Keywords - String - 是否必填:否 - 关键字(进程名称)</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeReverseShellRulesRequest ¶
func NewDescribeReverseShellRulesRequest() (request *DescribeReverseShellRulesRequest)
func (*DescribeReverseShellRulesRequest) FromJsonString ¶
func (r *DescribeReverseShellRulesRequest) FromJsonString(s string) error
func (*DescribeReverseShellRulesRequest) ToJsonString ¶
func (r *DescribeReverseShellRulesRequest) ToJsonString() string
type DescribeReverseShellRulesResponse ¶
type DescribeReverseShellRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 列表内容
List []*ReverseShellRule `json:"List,omitempty" name:"List" list`
// 总条数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeReverseShellRulesResponse ¶
func NewDescribeReverseShellRulesResponse() (response *DescribeReverseShellRulesResponse)
func (*DescribeReverseShellRulesResponse) FromJsonString ¶
func (r *DescribeReverseShellRulesResponse) FromJsonString(s string) error
func (*DescribeReverseShellRulesResponse) ToJsonString ¶
func (r *DescribeReverseShellRulesResponse) ToJsonString() string
type DescribeSecurityDynamicsRequest ¶
type DescribeSecurityDynamicsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeSecurityDynamicsRequest ¶
func NewDescribeSecurityDynamicsRequest() (request *DescribeSecurityDynamicsRequest)
func (*DescribeSecurityDynamicsRequest) FromJsonString ¶
func (r *DescribeSecurityDynamicsRequest) FromJsonString(s string) error
func (*DescribeSecurityDynamicsRequest) ToJsonString ¶
func (r *DescribeSecurityDynamicsRequest) ToJsonString() string
type DescribeSecurityDynamicsResponse ¶
type DescribeSecurityDynamicsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 安全事件消息数组。
SecurityDynamics []*SecurityDynamic `json:"SecurityDynamics,omitempty" name:"SecurityDynamics" list`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSecurityDynamicsResponse ¶
func NewDescribeSecurityDynamicsResponse() (response *DescribeSecurityDynamicsResponse)
func (*DescribeSecurityDynamicsResponse) FromJsonString ¶
func (r *DescribeSecurityDynamicsResponse) FromJsonString(s string) error
func (*DescribeSecurityDynamicsResponse) ToJsonString ¶
func (r *DescribeSecurityDynamicsResponse) ToJsonString() string
type DescribeSecurityTrendsRequest ¶
type DescribeSecurityTrendsRequest struct {
*tchttp.BaseRequest
// 开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
// 结束时间。
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeSecurityTrendsRequest ¶
func NewDescribeSecurityTrendsRequest() (request *DescribeSecurityTrendsRequest)
func (*DescribeSecurityTrendsRequest) FromJsonString ¶
func (r *DescribeSecurityTrendsRequest) FromJsonString(s string) error
func (*DescribeSecurityTrendsRequest) ToJsonString ¶
func (r *DescribeSecurityTrendsRequest) ToJsonString() string
type DescribeSecurityTrendsResponse ¶
type DescribeSecurityTrendsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 木马事件统计数据数组。
Malwares []*SecurityTrend `json:"Malwares,omitempty" name:"Malwares" list`
// 异地登录事件统计数据数组。
NonLocalLoginPlaces []*SecurityTrend `json:"NonLocalLoginPlaces,omitempty" name:"NonLocalLoginPlaces" list`
// 密码破解事件统计数据数组。
BruteAttacks []*SecurityTrend `json:"BruteAttacks,omitempty" name:"BruteAttacks" list`
// 漏洞统计数据数组。
Vuls []*SecurityTrend `json:"Vuls,omitempty" name:"Vuls" list`
// 基线统计数据数组。
BaseLines []*SecurityTrend `json:"BaseLines,omitempty" name:"BaseLines" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSecurityTrendsResponse ¶
func NewDescribeSecurityTrendsResponse() (response *DescribeSecurityTrendsResponse)
func (*DescribeSecurityTrendsResponse) FromJsonString ¶
func (r *DescribeSecurityTrendsResponse) FromJsonString(s string) error
func (*DescribeSecurityTrendsResponse) ToJsonString ¶
func (r *DescribeSecurityTrendsResponse) ToJsonString() string
type DescribeTagMachinesRequest ¶
type DescribeTagMachinesRequest struct {
*tchttp.BaseRequest
// 标签ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
}
func NewDescribeTagMachinesRequest ¶
func NewDescribeTagMachinesRequest() (request *DescribeTagMachinesRequest)
func (*DescribeTagMachinesRequest) FromJsonString ¶
func (r *DescribeTagMachinesRequest) FromJsonString(s string) error
func (*DescribeTagMachinesRequest) ToJsonString ¶
func (r *DescribeTagMachinesRequest) ToJsonString() string
type DescribeTagMachinesResponse ¶
type DescribeTagMachinesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 列表数据
List []*TagMachine `json:"List,omitempty" name:"List" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTagMachinesResponse ¶
func NewDescribeTagMachinesResponse() (response *DescribeTagMachinesResponse)
func (*DescribeTagMachinesResponse) FromJsonString ¶
func (r *DescribeTagMachinesResponse) FromJsonString(s string) error
func (*DescribeTagMachinesResponse) ToJsonString ¶
func (r *DescribeTagMachinesResponse) ToJsonString() string
type DescribeTagsRequest ¶
type DescribeTagsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeTagsRequest ¶
func NewDescribeTagsRequest() (request *DescribeTagsRequest)
func (*DescribeTagsRequest) FromJsonString ¶
func (r *DescribeTagsRequest) FromJsonString(s string) error
func (*DescribeTagsRequest) ToJsonString ¶
func (r *DescribeTagsRequest) ToJsonString() string
type DescribeTagsResponse ¶
type DescribeTagsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 列表信息
List []*Tag `json:"List,omitempty" name:"List" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTagsResponse ¶
func NewDescribeTagsResponse() (response *DescribeTagsResponse)
func (*DescribeTagsResponse) FromJsonString ¶
func (r *DescribeTagsResponse) FromJsonString(s string) error
func (*DescribeTagsResponse) ToJsonString ¶
func (r *DescribeTagsResponse) ToJsonString() string
type DescribeUsualLoginPlacesRequest ¶
type DescribeUsualLoginPlacesRequest struct {
*tchttp.BaseRequest
// 云镜客户端UUID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
func NewDescribeUsualLoginPlacesRequest ¶
func NewDescribeUsualLoginPlacesRequest() (request *DescribeUsualLoginPlacesRequest)
func (*DescribeUsualLoginPlacesRequest) FromJsonString ¶
func (r *DescribeUsualLoginPlacesRequest) FromJsonString(s string) error
func (*DescribeUsualLoginPlacesRequest) ToJsonString ¶
func (r *DescribeUsualLoginPlacesRequest) ToJsonString() string
type DescribeUsualLoginPlacesResponse ¶
type DescribeUsualLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 常用登录地数组
UsualLoginPlaces []*UsualPlace `json:"UsualLoginPlaces,omitempty" name:"UsualLoginPlaces" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeUsualLoginPlacesResponse ¶
func NewDescribeUsualLoginPlacesResponse() (response *DescribeUsualLoginPlacesResponse)
func (*DescribeUsualLoginPlacesResponse) FromJsonString ¶
func (r *DescribeUsualLoginPlacesResponse) FromJsonString(s string) error
func (*DescribeUsualLoginPlacesResponse) ToJsonString ¶
func (r *DescribeUsualLoginPlacesResponse) ToJsonString() string
type DescribeVulInfoRequest ¶
type DescribeVulInfoRequest struct {
*tchttp.BaseRequest
// 漏洞种类ID。
VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
}
func NewDescribeVulInfoRequest ¶
func NewDescribeVulInfoRequest() (request *DescribeVulInfoRequest)
func (*DescribeVulInfoRequest) FromJsonString ¶
func (r *DescribeVulInfoRequest) FromJsonString(s string) error
func (*DescribeVulInfoRequest) ToJsonString ¶
func (r *DescribeVulInfoRequest) ToJsonString() string
type DescribeVulInfoResponse ¶
type DescribeVulInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 漏洞种类ID。
VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
// 漏洞名称。
VulName *string `json:"VulName,omitempty" name:"VulName"`
// 漏洞等级。
VulLevel *string `json:"VulLevel,omitempty" name:"VulLevel"`
// 漏洞类型。
VulType *string `json:"VulType,omitempty" name:"VulType"`
// 漏洞描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 修复方案。
RepairPlan *string `json:"RepairPlan,omitempty" name:"RepairPlan"`
// 漏洞CVE。
CveId *string `json:"CveId,omitempty" name:"CveId"`
// 参考链接。
Reference *string `json:"Reference,omitempty" name:"Reference"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVulInfoResponse ¶
func NewDescribeVulInfoResponse() (response *DescribeVulInfoResponse)
func (*DescribeVulInfoResponse) FromJsonString ¶
func (r *DescribeVulInfoResponse) FromJsonString(s string) error
func (*DescribeVulInfoResponse) ToJsonString ¶
func (r *DescribeVulInfoResponse) ToJsonString() string
type DescribeVulScanResultRequest ¶
type DescribeVulScanResultRequest struct {
*tchttp.BaseRequest
}
func NewDescribeVulScanResultRequest ¶
func NewDescribeVulScanResultRequest() (request *DescribeVulScanResultRequest)
func (*DescribeVulScanResultRequest) FromJsonString ¶
func (r *DescribeVulScanResultRequest) FromJsonString(s string) error
func (*DescribeVulScanResultRequest) ToJsonString ¶
func (r *DescribeVulScanResultRequest) ToJsonString() string
type DescribeVulScanResultResponse ¶
type DescribeVulScanResultResponse struct {
*tchttp.BaseResponse
Response *struct {
// 漏洞数量。
VulNum *uint64 `json:"VulNum,omitempty" name:"VulNum"`
// 专业版机器数。
ProVersionNum *uint64 `json:"ProVersionNum,omitempty" name:"ProVersionNum"`
// 受影响的专业版主机数。
ImpactedHostNum *uint64 `json:"ImpactedHostNum,omitempty" name:"ImpactedHostNum"`
// 主机总数。
HostNum *uint64 `json:"HostNum,omitempty" name:"HostNum"`
// 基础版机器数。
BasicVersionNum *uint64 `json:"BasicVersionNum,omitempty" name:"BasicVersionNum"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVulScanResultResponse ¶
func NewDescribeVulScanResultResponse() (response *DescribeVulScanResultResponse)
func (*DescribeVulScanResultResponse) FromJsonString ¶
func (r *DescribeVulScanResultResponse) FromJsonString(s string) error
func (*DescribeVulScanResultResponse) ToJsonString ¶
func (r *DescribeVulScanResultResponse) ToJsonString() string
type DescribeVulsRequest ¶
type DescribeVulsRequest struct {
*tchttp.BaseRequest
// 漏洞类型。
// <li>WEB:Web应用漏洞</li>
// <li>SYSTEM:系统组件漏洞</li>
// <li>BASELINE:安全基线</li>
VulType *string `json:"VulType,omitempty" name:"VulType"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 过滤条件。
// <li>Status - String - 是否必填:否 - 状态筛选(UN_OPERATED: 待处理 | FIXED:已修复)
//
// Status过滤条件值只能取其一,不能是“或”逻辑。
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
}
func NewDescribeVulsRequest ¶
func NewDescribeVulsRequest() (request *DescribeVulsRequest)
func (*DescribeVulsRequest) FromJsonString ¶
func (r *DescribeVulsRequest) FromJsonString(s string) error
func (*DescribeVulsRequest) ToJsonString ¶
func (r *DescribeVulsRequest) ToJsonString() string
type DescribeVulsResponse ¶
type DescribeVulsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 漏洞数量。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 漏洞列表数组。
Vuls []*Vul `json:"Vuls,omitempty" name:"Vuls" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVulsResponse ¶
func NewDescribeVulsResponse() (response *DescribeVulsResponse)
func (*DescribeVulsResponse) FromJsonString ¶
func (r *DescribeVulsResponse) FromJsonString(s string) error
func (*DescribeVulsResponse) ToJsonString ¶
func (r *DescribeVulsResponse) ToJsonString() string
type DescribeWeeklyReportBruteAttacksRequest ¶
type DescribeWeeklyReportBruteAttacksRequest struct {
*tchttp.BaseRequest
// 专业周报开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeWeeklyReportBruteAttacksRequest ¶
func NewDescribeWeeklyReportBruteAttacksRequest() (request *DescribeWeeklyReportBruteAttacksRequest)
func (*DescribeWeeklyReportBruteAttacksRequest) FromJsonString ¶
func (r *DescribeWeeklyReportBruteAttacksRequest) FromJsonString(s string) error
func (*DescribeWeeklyReportBruteAttacksRequest) ToJsonString ¶
func (r *DescribeWeeklyReportBruteAttacksRequest) ToJsonString() string
type DescribeWeeklyReportBruteAttacksResponse ¶
type DescribeWeeklyReportBruteAttacksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 专业周报密码破解数组。
WeeklyReportBruteAttacks []*WeeklyReportBruteAttack `json:"WeeklyReportBruteAttacks,omitempty" name:"WeeklyReportBruteAttacks" list`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWeeklyReportBruteAttacksResponse ¶
func NewDescribeWeeklyReportBruteAttacksResponse() (response *DescribeWeeklyReportBruteAttacksResponse)
func (*DescribeWeeklyReportBruteAttacksResponse) FromJsonString ¶
func (r *DescribeWeeklyReportBruteAttacksResponse) FromJsonString(s string) error
func (*DescribeWeeklyReportBruteAttacksResponse) ToJsonString ¶
func (r *DescribeWeeklyReportBruteAttacksResponse) ToJsonString() string
type DescribeWeeklyReportInfoRequest ¶
type DescribeWeeklyReportInfoRequest struct {
*tchttp.BaseRequest
// 专业周报开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
}
func NewDescribeWeeklyReportInfoRequest ¶
func NewDescribeWeeklyReportInfoRequest() (request *DescribeWeeklyReportInfoRequest)
func (*DescribeWeeklyReportInfoRequest) FromJsonString ¶
func (r *DescribeWeeklyReportInfoRequest) FromJsonString(s string) error
func (*DescribeWeeklyReportInfoRequest) ToJsonString ¶
func (r *DescribeWeeklyReportInfoRequest) ToJsonString() string
type DescribeWeeklyReportInfoResponse ¶
type DescribeWeeklyReportInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 账号所属公司或个人名称。
CompanyName *string `json:"CompanyName,omitempty" name:"CompanyName"`
// 机器总数。
MachineNum *uint64 `json:"MachineNum,omitempty" name:"MachineNum"`
// 云镜客户端在线数。
OnlineMachineNum *uint64 `json:"OnlineMachineNum,omitempty" name:"OnlineMachineNum"`
// 云镜客户端离线数。
OfflineMachineNum *uint64 `json:"OfflineMachineNum,omitempty" name:"OfflineMachineNum"`
// 开通云镜专业版数量。
ProVersionMachineNum *uint64 `json:"ProVersionMachineNum,omitempty" name:"ProVersionMachineNum"`
// 周报开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
// 周报结束时间。
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 安全等级。
// <li>HIGH:高</li>
// <li>MIDDLE:中</li>
// <li>LOW:低</li>
Level *string `json:"Level,omitempty" name:"Level"`
// 木马记录数。
MalwareNum *uint64 `json:"MalwareNum,omitempty" name:"MalwareNum"`
// 异地登录数。
NonlocalLoginNum *uint64 `json:"NonlocalLoginNum,omitempty" name:"NonlocalLoginNum"`
// 密码破解成功数。
BruteAttackSuccessNum *uint64 `json:"BruteAttackSuccessNum,omitempty" name:"BruteAttackSuccessNum"`
// 漏洞数。
VulNum *uint64 `json:"VulNum,omitempty" name:"VulNum"`
// 导出文件下载地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWeeklyReportInfoResponse ¶
func NewDescribeWeeklyReportInfoResponse() (response *DescribeWeeklyReportInfoResponse)
func (*DescribeWeeklyReportInfoResponse) FromJsonString ¶
func (r *DescribeWeeklyReportInfoResponse) FromJsonString(s string) error
func (*DescribeWeeklyReportInfoResponse) ToJsonString ¶
func (r *DescribeWeeklyReportInfoResponse) ToJsonString() string
type DescribeWeeklyReportMalwaresRequest ¶
type DescribeWeeklyReportMalwaresRequest struct {
*tchttp.BaseRequest
// 专业周报开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeWeeklyReportMalwaresRequest ¶
func NewDescribeWeeklyReportMalwaresRequest() (request *DescribeWeeklyReportMalwaresRequest)
func (*DescribeWeeklyReportMalwaresRequest) FromJsonString ¶
func (r *DescribeWeeklyReportMalwaresRequest) FromJsonString(s string) error
func (*DescribeWeeklyReportMalwaresRequest) ToJsonString ¶
func (r *DescribeWeeklyReportMalwaresRequest) ToJsonString() string
type DescribeWeeklyReportMalwaresResponse ¶
type DescribeWeeklyReportMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 专业周报木马数据。
WeeklyReportMalwares []*WeeklyReportMalware `json:"WeeklyReportMalwares,omitempty" name:"WeeklyReportMalwares" list`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWeeklyReportMalwaresResponse ¶
func NewDescribeWeeklyReportMalwaresResponse() (response *DescribeWeeklyReportMalwaresResponse)
func (*DescribeWeeklyReportMalwaresResponse) FromJsonString ¶
func (r *DescribeWeeklyReportMalwaresResponse) FromJsonString(s string) error
func (*DescribeWeeklyReportMalwaresResponse) ToJsonString ¶
func (r *DescribeWeeklyReportMalwaresResponse) ToJsonString() string
type DescribeWeeklyReportNonlocalLoginPlacesRequest ¶
type DescribeWeeklyReportNonlocalLoginPlacesRequest struct {
*tchttp.BaseRequest
// 专业周报开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeWeeklyReportNonlocalLoginPlacesRequest ¶
func NewDescribeWeeklyReportNonlocalLoginPlacesRequest() (request *DescribeWeeklyReportNonlocalLoginPlacesRequest)
func (*DescribeWeeklyReportNonlocalLoginPlacesRequest) FromJsonString ¶
func (r *DescribeWeeklyReportNonlocalLoginPlacesRequest) FromJsonString(s string) error
func (*DescribeWeeklyReportNonlocalLoginPlacesRequest) ToJsonString ¶
func (r *DescribeWeeklyReportNonlocalLoginPlacesRequest) ToJsonString() string
type DescribeWeeklyReportNonlocalLoginPlacesResponse ¶
type DescribeWeeklyReportNonlocalLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 专业周报异地登录数据。
WeeklyReportNonlocalLoginPlaces []*WeeklyReportNonlocalLoginPlace `json:"WeeklyReportNonlocalLoginPlaces,omitempty" name:"WeeklyReportNonlocalLoginPlaces" list`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWeeklyReportNonlocalLoginPlacesResponse ¶
func NewDescribeWeeklyReportNonlocalLoginPlacesResponse() (response *DescribeWeeklyReportNonlocalLoginPlacesResponse)
func (*DescribeWeeklyReportNonlocalLoginPlacesResponse) FromJsonString ¶
func (r *DescribeWeeklyReportNonlocalLoginPlacesResponse) FromJsonString(s string) error
func (*DescribeWeeklyReportNonlocalLoginPlacesResponse) ToJsonString ¶
func (r *DescribeWeeklyReportNonlocalLoginPlacesResponse) ToJsonString() string
type DescribeWeeklyReportVulsRequest ¶
type DescribeWeeklyReportVulsRequest struct {
*tchttp.BaseRequest
// 专业版周报开始时间。
BeginDate *string `json:"BeginDate,omitempty" name:"BeginDate"`
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeWeeklyReportVulsRequest ¶
func NewDescribeWeeklyReportVulsRequest() (request *DescribeWeeklyReportVulsRequest)
func (*DescribeWeeklyReportVulsRequest) FromJsonString ¶
func (r *DescribeWeeklyReportVulsRequest) FromJsonString(s string) error
func (*DescribeWeeklyReportVulsRequest) ToJsonString ¶
func (r *DescribeWeeklyReportVulsRequest) ToJsonString() string
type DescribeWeeklyReportVulsResponse ¶
type DescribeWeeklyReportVulsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 专业周报漏洞数据数组。
WeeklyReportVuls []*WeeklyReportVul `json:"WeeklyReportVuls,omitempty" name:"WeeklyReportVuls" list`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWeeklyReportVulsResponse ¶
func NewDescribeWeeklyReportVulsResponse() (response *DescribeWeeklyReportVulsResponse)
func (*DescribeWeeklyReportVulsResponse) FromJsonString ¶
func (r *DescribeWeeklyReportVulsResponse) FromJsonString(s string) error
func (*DescribeWeeklyReportVulsResponse) ToJsonString ¶
func (r *DescribeWeeklyReportVulsResponse) ToJsonString() string
type DescribeWeeklyReportsRequest ¶
type DescribeWeeklyReportsRequest struct {
*tchttp.BaseRequest
// 返回数量,默认为10,最大值为100。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeWeeklyReportsRequest ¶
func NewDescribeWeeklyReportsRequest() (request *DescribeWeeklyReportsRequest)
func (*DescribeWeeklyReportsRequest) FromJsonString ¶
func (r *DescribeWeeklyReportsRequest) FromJsonString(s string) error
func (*DescribeWeeklyReportsRequest) ToJsonString ¶
func (r *DescribeWeeklyReportsRequest) ToJsonString() string
type DescribeWeeklyReportsResponse ¶
type DescribeWeeklyReportsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 专业周报列表数组。
WeeklyReports []*WeeklyReport `json:"WeeklyReports,omitempty" name:"WeeklyReports" list`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWeeklyReportsResponse ¶
func NewDescribeWeeklyReportsResponse() (response *DescribeWeeklyReportsResponse)
func (*DescribeWeeklyReportsResponse) FromJsonString ¶
func (r *DescribeWeeklyReportsResponse) FromJsonString(s string) error
func (*DescribeWeeklyReportsResponse) ToJsonString ¶
func (r *DescribeWeeklyReportsResponse) ToJsonString() string
type EditBashRuleRequest ¶
type EditBashRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
Name *string `json:"Name,omitempty" name:"Name"`
// 危险等级(1: 高危 2:中危 3: 低危)
Level *uint64 `json:"Level,omitempty" name:"Level"`
// 正则表达式
Rule *string `json:"Rule,omitempty" name:"Rule"`
// 规则ID(新增时不填)
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
// 是否全局规则(默认否)
IsGlobal *uint64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
}
func NewEditBashRuleRequest ¶
func NewEditBashRuleRequest() (request *EditBashRuleRequest)
func (*EditBashRuleRequest) FromJsonString ¶
func (r *EditBashRuleRequest) FromJsonString(s string) error
func (*EditBashRuleRequest) ToJsonString ¶
func (r *EditBashRuleRequest) ToJsonString() string
type EditBashRuleResponse ¶
type EditBashRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEditBashRuleResponse ¶
func NewEditBashRuleResponse() (response *EditBashRuleResponse)
func (*EditBashRuleResponse) FromJsonString ¶
func (r *EditBashRuleResponse) FromJsonString(s string) error
func (*EditBashRuleResponse) ToJsonString ¶
func (r *EditBashRuleResponse) ToJsonString() string
type EditPrivilegeRuleRequest ¶
type EditPrivilegeRuleRequest struct {
*tchttp.BaseRequest
// 规则ID(新增时请留空)
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
// 进程名
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 是否S权限进程
SMode *uint64 `json:"SMode,omitempty" name:"SMode"`
// 是否全局规则(默认否)
IsGlobal *uint64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
}
func NewEditPrivilegeRuleRequest ¶
func NewEditPrivilegeRuleRequest() (request *EditPrivilegeRuleRequest)
func (*EditPrivilegeRuleRequest) FromJsonString ¶
func (r *EditPrivilegeRuleRequest) FromJsonString(s string) error
func (*EditPrivilegeRuleRequest) ToJsonString ¶
func (r *EditPrivilegeRuleRequest) ToJsonString() string
type EditPrivilegeRuleResponse ¶
type EditPrivilegeRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEditPrivilegeRuleResponse ¶
func NewEditPrivilegeRuleResponse() (response *EditPrivilegeRuleResponse)
func (*EditPrivilegeRuleResponse) FromJsonString ¶
func (r *EditPrivilegeRuleResponse) FromJsonString(s string) error
func (*EditPrivilegeRuleResponse) ToJsonString ¶
func (r *EditPrivilegeRuleResponse) ToJsonString() string
type EditReverseShellRuleRequest ¶
type EditReverseShellRuleRequest struct {
*tchttp.BaseRequest
// 规则ID(新增时请留空)
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
// 目标IP
DestIp *string `json:"DestIp,omitempty" name:"DestIp"`
// 目标端口
DestPort *string `json:"DestPort,omitempty" name:"DestPort"`
// 进程名
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 是否全局规则(默认否)
IsGlobal *uint64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
}
func NewEditReverseShellRuleRequest ¶
func NewEditReverseShellRuleRequest() (request *EditReverseShellRuleRequest)
func (*EditReverseShellRuleRequest) FromJsonString ¶
func (r *EditReverseShellRuleRequest) FromJsonString(s string) error
func (*EditReverseShellRuleRequest) ToJsonString ¶
func (r *EditReverseShellRuleRequest) ToJsonString() string
type EditReverseShellRuleResponse ¶
type EditReverseShellRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEditReverseShellRuleResponse ¶
func NewEditReverseShellRuleResponse() (response *EditReverseShellRuleResponse)
func (*EditReverseShellRuleResponse) FromJsonString ¶
func (r *EditReverseShellRuleResponse) FromJsonString(s string) error
func (*EditReverseShellRuleResponse) ToJsonString ¶
func (r *EditReverseShellRuleResponse) ToJsonString() string
type EditTagsRequest ¶
type EditTagsRequest struct {
*tchttp.BaseRequest
// 标签名
Name *string `json:"Name,omitempty" name:"Name"`
// 标签ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// CVM主机ID
Quuids []*string `json:"Quuids,omitempty" name:"Quuids" list`
}
func NewEditTagsRequest ¶
func NewEditTagsRequest() (request *EditTagsRequest)
func (*EditTagsRequest) FromJsonString ¶
func (r *EditTagsRequest) FromJsonString(s string) error
func (*EditTagsRequest) ToJsonString ¶
func (r *EditTagsRequest) ToJsonString() string
type EditTagsResponse ¶
type EditTagsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEditTagsResponse ¶
func NewEditTagsResponse() (response *EditTagsResponse)
func (*EditTagsResponse) FromJsonString ¶
func (r *EditTagsResponse) FromJsonString(s string) error
func (*EditTagsResponse) ToJsonString ¶
func (r *EditTagsResponse) ToJsonString() string
type ExportAttackLogsRequest ¶
type ExportAttackLogsRequest struct {
*tchttp.BaseRequest
}
func NewExportAttackLogsRequest ¶
func NewExportAttackLogsRequest() (request *ExportAttackLogsRequest)
func (*ExportAttackLogsRequest) FromJsonString ¶
func (r *ExportAttackLogsRequest) FromJsonString(s string) error
func (*ExportAttackLogsRequest) ToJsonString ¶
func (r *ExportAttackLogsRequest) ToJsonString() string
type ExportAttackLogsResponse ¶
type ExportAttackLogsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportAttackLogsResponse ¶
func NewExportAttackLogsResponse() (response *ExportAttackLogsResponse)
func (*ExportAttackLogsResponse) FromJsonString ¶
func (r *ExportAttackLogsResponse) FromJsonString(s string) error
func (*ExportAttackLogsResponse) ToJsonString ¶
func (r *ExportAttackLogsResponse) ToJsonString() string
type ExportBashEventsRequest ¶
type ExportBashEventsRequest struct {
*tchttp.BaseRequest
}
func NewExportBashEventsRequest ¶
func NewExportBashEventsRequest() (request *ExportBashEventsRequest)
func (*ExportBashEventsRequest) FromJsonString ¶
func (r *ExportBashEventsRequest) FromJsonString(s string) error
func (*ExportBashEventsRequest) ToJsonString ¶
func (r *ExportBashEventsRequest) ToJsonString() string
type ExportBashEventsResponse ¶
type ExportBashEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportBashEventsResponse ¶
func NewExportBashEventsResponse() (response *ExportBashEventsResponse)
func (*ExportBashEventsResponse) FromJsonString ¶
func (r *ExportBashEventsResponse) FromJsonString(s string) error
func (*ExportBashEventsResponse) ToJsonString ¶
func (r *ExportBashEventsResponse) ToJsonString() string
type ExportBruteAttacksRequest ¶
type ExportBruteAttacksRequest struct {
*tchttp.BaseRequest
}
func NewExportBruteAttacksRequest ¶
func NewExportBruteAttacksRequest() (request *ExportBruteAttacksRequest)
func (*ExportBruteAttacksRequest) FromJsonString ¶
func (r *ExportBruteAttacksRequest) FromJsonString(s string) error
func (*ExportBruteAttacksRequest) ToJsonString ¶
func (r *ExportBruteAttacksRequest) ToJsonString() string
type ExportBruteAttacksResponse ¶
type ExportBruteAttacksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportBruteAttacksResponse ¶
func NewExportBruteAttacksResponse() (response *ExportBruteAttacksResponse)
func (*ExportBruteAttacksResponse) FromJsonString ¶
func (r *ExportBruteAttacksResponse) FromJsonString(s string) error
func (*ExportBruteAttacksResponse) ToJsonString ¶
func (r *ExportBruteAttacksResponse) ToJsonString() string
type ExportMaliciousRequestsRequest ¶
type ExportMaliciousRequestsRequest struct {
*tchttp.BaseRequest
}
func NewExportMaliciousRequestsRequest ¶
func NewExportMaliciousRequestsRequest() (request *ExportMaliciousRequestsRequest)
func (*ExportMaliciousRequestsRequest) FromJsonString ¶
func (r *ExportMaliciousRequestsRequest) FromJsonString(s string) error
func (*ExportMaliciousRequestsRequest) ToJsonString ¶
func (r *ExportMaliciousRequestsRequest) ToJsonString() string
type ExportMaliciousRequestsResponse ¶
type ExportMaliciousRequestsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportMaliciousRequestsResponse ¶
func NewExportMaliciousRequestsResponse() (response *ExportMaliciousRequestsResponse)
func (*ExportMaliciousRequestsResponse) FromJsonString ¶
func (r *ExportMaliciousRequestsResponse) FromJsonString(s string) error
func (*ExportMaliciousRequestsResponse) ToJsonString ¶
func (r *ExportMaliciousRequestsResponse) ToJsonString() string
type ExportMalwaresRequest ¶
type ExportMalwaresRequest struct {
*tchttp.BaseRequest
}
func NewExportMalwaresRequest ¶
func NewExportMalwaresRequest() (request *ExportMalwaresRequest)
func (*ExportMalwaresRequest) FromJsonString ¶
func (r *ExportMalwaresRequest) FromJsonString(s string) error
func (*ExportMalwaresRequest) ToJsonString ¶
func (r *ExportMalwaresRequest) ToJsonString() string
type ExportMalwaresResponse ¶
type ExportMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportMalwaresResponse ¶
func NewExportMalwaresResponse() (response *ExportMalwaresResponse)
func (*ExportMalwaresResponse) FromJsonString ¶
func (r *ExportMalwaresResponse) FromJsonString(s string) error
func (*ExportMalwaresResponse) ToJsonString ¶
func (r *ExportMalwaresResponse) ToJsonString() string
type ExportNonlocalLoginPlacesRequest ¶
type ExportNonlocalLoginPlacesRequest struct {
*tchttp.BaseRequest
}
func NewExportNonlocalLoginPlacesRequest ¶
func NewExportNonlocalLoginPlacesRequest() (request *ExportNonlocalLoginPlacesRequest)
func (*ExportNonlocalLoginPlacesRequest) FromJsonString ¶
func (r *ExportNonlocalLoginPlacesRequest) FromJsonString(s string) error
func (*ExportNonlocalLoginPlacesRequest) ToJsonString ¶
func (r *ExportNonlocalLoginPlacesRequest) ToJsonString() string
type ExportNonlocalLoginPlacesResponse ¶
type ExportNonlocalLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportNonlocalLoginPlacesResponse ¶
func NewExportNonlocalLoginPlacesResponse() (response *ExportNonlocalLoginPlacesResponse)
func (*ExportNonlocalLoginPlacesResponse) FromJsonString ¶
func (r *ExportNonlocalLoginPlacesResponse) FromJsonString(s string) error
func (*ExportNonlocalLoginPlacesResponse) ToJsonString ¶
func (r *ExportNonlocalLoginPlacesResponse) ToJsonString() string
type ExportPrivilegeEventsRequest ¶
type ExportPrivilegeEventsRequest struct {
*tchttp.BaseRequest
}
func NewExportPrivilegeEventsRequest ¶
func NewExportPrivilegeEventsRequest() (request *ExportPrivilegeEventsRequest)
func (*ExportPrivilegeEventsRequest) FromJsonString ¶
func (r *ExportPrivilegeEventsRequest) FromJsonString(s string) error
func (*ExportPrivilegeEventsRequest) ToJsonString ¶
func (r *ExportPrivilegeEventsRequest) ToJsonString() string
type ExportPrivilegeEventsResponse ¶
type ExportPrivilegeEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportPrivilegeEventsResponse ¶
func NewExportPrivilegeEventsResponse() (response *ExportPrivilegeEventsResponse)
func (*ExportPrivilegeEventsResponse) FromJsonString ¶
func (r *ExportPrivilegeEventsResponse) FromJsonString(s string) error
func (*ExportPrivilegeEventsResponse) ToJsonString ¶
func (r *ExportPrivilegeEventsResponse) ToJsonString() string
type ExportReverseShellEventsRequest ¶
type ExportReverseShellEventsRequest struct {
*tchttp.BaseRequest
}
func NewExportReverseShellEventsRequest ¶
func NewExportReverseShellEventsRequest() (request *ExportReverseShellEventsRequest)
func (*ExportReverseShellEventsRequest) FromJsonString ¶
func (r *ExportReverseShellEventsRequest) FromJsonString(s string) error
func (*ExportReverseShellEventsRequest) ToJsonString ¶
func (r *ExportReverseShellEventsRequest) ToJsonString() string
type ExportReverseShellEventsResponse ¶
type ExportReverseShellEventsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 导出文件下载链接地址。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewExportReverseShellEventsResponse ¶
func NewExportReverseShellEventsResponse() (response *ExportReverseShellEventsResponse)
func (*ExportReverseShellEventsResponse) FromJsonString ¶
func (r *ExportReverseShellEventsResponse) FromJsonString(s string) error
func (*ExportReverseShellEventsResponse) ToJsonString ¶
func (r *ExportReverseShellEventsResponse) ToJsonString() string
type HistoryAccount ¶
type HistoryAccount struct {
// 唯一ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端唯一Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机内网IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 帐号名。
Username *string `json:"Username,omitempty" name:"Username"`
// 帐号变更类型。
// <li>CREATE:表示新增帐号</li>
// <li>MODIFY:表示修改帐号</li>
// <li>DELETE:表示删除帐号</li>
ModifyType *string `json:"ModifyType,omitempty" name:"ModifyType"`
// 变更时间。
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}
type IgnoreImpactedHostsRequest ¶
type IgnoreImpactedHostsRequest struct {
*tchttp.BaseRequest
// 漏洞ID数组。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewIgnoreImpactedHostsRequest ¶
func NewIgnoreImpactedHostsRequest() (request *IgnoreImpactedHostsRequest)
func (*IgnoreImpactedHostsRequest) FromJsonString ¶
func (r *IgnoreImpactedHostsRequest) FromJsonString(s string) error
func (*IgnoreImpactedHostsRequest) ToJsonString ¶
func (r *IgnoreImpactedHostsRequest) ToJsonString() string
type IgnoreImpactedHostsResponse ¶
type IgnoreImpactedHostsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewIgnoreImpactedHostsResponse ¶
func NewIgnoreImpactedHostsResponse() (response *IgnoreImpactedHostsResponse)
func (*IgnoreImpactedHostsResponse) FromJsonString ¶
func (r *IgnoreImpactedHostsResponse) FromJsonString(s string) error
func (*IgnoreImpactedHostsResponse) ToJsonString ¶
func (r *IgnoreImpactedHostsResponse) ToJsonString() string
type ImpactedHost ¶
type ImpactedHost struct {
// 漏洞ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 最后检测时间。
LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`
// 漏洞状态。
// <li>UN_OPERATED :待处理</li>
// <li>SCANING : 扫描中</li>
// <li>FIXED : 已修复</li>
VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`
// 云镜客户端唯一标识UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 漏洞描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 漏洞种类ID。
VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
// 是否为专业版。
IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`
}
type InquiryPriceOpenProVersionPrepaidRequest ¶
type InquiryPriceOpenProVersionPrepaidRequest struct {
*tchttp.BaseRequest
// 预付费模式(包年包月)参数设置。
ChargePrepaid *ChargePrepaid `json:"ChargePrepaid,omitempty" name:"ChargePrepaid"`
// 需要开通专业版机器列表数组。
Machines []*ProVersionMachine `json:"Machines,omitempty" name:"Machines" list`
}
func NewInquiryPriceOpenProVersionPrepaidRequest ¶
func NewInquiryPriceOpenProVersionPrepaidRequest() (request *InquiryPriceOpenProVersionPrepaidRequest)
func (*InquiryPriceOpenProVersionPrepaidRequest) FromJsonString ¶
func (r *InquiryPriceOpenProVersionPrepaidRequest) FromJsonString(s string) error
func (*InquiryPriceOpenProVersionPrepaidRequest) ToJsonString ¶
func (r *InquiryPriceOpenProVersionPrepaidRequest) ToJsonString() string
type InquiryPriceOpenProVersionPrepaidResponse ¶
type InquiryPriceOpenProVersionPrepaidResponse struct {
*tchttp.BaseResponse
Response *struct {
// 预支费用的原价,单位:元。
OriginalPrice *float64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`
// 预支费用的折扣价,单位:元。
DiscountPrice *float64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewInquiryPriceOpenProVersionPrepaidResponse ¶
func NewInquiryPriceOpenProVersionPrepaidResponse() (response *InquiryPriceOpenProVersionPrepaidResponse)
func (*InquiryPriceOpenProVersionPrepaidResponse) FromJsonString ¶
func (r *InquiryPriceOpenProVersionPrepaidResponse) FromJsonString(s string) error
func (*InquiryPriceOpenProVersionPrepaidResponse) ToJsonString ¶
func (r *InquiryPriceOpenProVersionPrepaidResponse) ToJsonString() string
type LoginWhiteLists ¶
type LoginWhiteLists struct {
// 记录ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 白名单地域
Places []*Place `json:"Places,omitempty" name:"Places" list`
// 白名单用户(多个用户逗号隔开)
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 白名单IP(多个IP逗号隔开)
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 是否为全局规则
IsGlobal *bool `json:"IsGlobal,omitempty" name:"IsGlobal"`
// 创建白名单时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 修改白名单时间
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
// 机器名
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 机器IP
HostIp *string `json:"HostIp,omitempty" name:"HostIp"`
}
type LoginWhiteListsRule ¶
type LoginWhiteListsRule struct {
// 加白地域
Places []*Place `json:"Places,omitempty" name:"Places" list`
// 加白源IP,支持网段,多个IP以逗号隔开
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 加白用户名,多个用户名以逗号隔开
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 是否对全局生效
IsGlobal *bool `json:"IsGlobal,omitempty" name:"IsGlobal"`
// 白名单生效的机器
HostIp *string `json:"HostIp,omitempty" name:"HostIp"`
// 规则ID,用于更新规则
Id *uint64 `json:"Id,omitempty" name:"Id"`
}
type Machine ¶
type Machine struct {
// 主机名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 主机系统。
MachineOs *string `json:"MachineOs,omitempty" name:"MachineOs"`
// 主机状态。
// <li>OFFLINE: 离线 </li>
// <li>ONLINE: 在线</li>
// <li>MACHINE_STOPPED: 已关机</li>
MachineStatus *string `json:"MachineStatus,omitempty" name:"MachineStatus"`
// 云镜客户端唯一Uuid,若客户端长时间不在线将返回空字符。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// CVM或BM机器唯一Uuid。
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 漏洞数。
VulNum *int64 `json:"VulNum,omitempty" name:"VulNum"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 是否是专业版。
// <li>true: 是</li>
// <li>false:否</li>
IsProVersion *bool `json:"IsProVersion,omitempty" name:"IsProVersion"`
// 主机外网IP。
MachineWanIp *string `json:"MachineWanIp,omitempty" name:"MachineWanIp"`
// 主机状态。
// <li>POSTPAY: 表示后付费,即按量计费 </li>
// <li>PREPAY: 表示预付费,即包年包月</li>
PayMode *string `json:"PayMode,omitempty" name:"PayMode"`
// 木马数。
MalwareNum *int64 `json:"MalwareNum,omitempty" name:"MalwareNum"`
// 标签信息
Tag []*MachineTag `json:"Tag,omitempty" name:"Tag" list`
}
type MachineTag ¶
type MaliciousRequest ¶
type MaliciousRequest struct {
*tchttp.BaseRequest
// 记录ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机内网IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 恶意请求域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 恶意请求数。
Count *uint64 `json:"Count,omitempty" name:"Count"`
// 进程名。
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 记录状态。
// <li>UN_OPERATED:待处理</li>
// <li>TRUSTED:已信任</li>
// <li>UN_TRUSTED:已取消信任</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 恶意请求域名描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 参考地址。
Reference *string `json:"Reference,omitempty" name:"Reference"`
// 发现时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 记录合并时间。
MergeTime *string `json:"MergeTime,omitempty" name:"MergeTime"`
// 进程MD5
// 值。
ProcessMd5 *string `json:"ProcessMd5,omitempty" name:"ProcessMd5"`
// 执行命令行。
CmdLine *string `json:"CmdLine,omitempty" name:"CmdLine"`
// 进程PID。
Pid *uint64 `json:"Pid,omitempty" name:"Pid"`
}
func (*MaliciousRequest) FromJsonString ¶
func (r *MaliciousRequest) FromJsonString(s string) error
func (*MaliciousRequest) ToJsonString ¶
func (r *MaliciousRequest) ToJsonString() string
type Malware ¶
type Malware struct {
// 事件ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 当前木马状态。
// <li>UN_OPERATED:未处理</li><li>SEGREGATED:已隔离</li><li>TRUSTED:已信任</li>
// <li>SEPARATING:隔离中</li><li>RECOVERING:恢复中</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 木马所在的路径。
FilePath *string `json:"FilePath,omitempty" name:"FilePath"`
// 木马描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 主机名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 木马文件创建时间。
FileCreateTime *string `json:"FileCreateTime,omitempty" name:"FileCreateTime"`
// 木马文件修改时间。
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
// 云镜客户端唯一标识UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
type MisAlarmNonlocalLoginPlacesRequest ¶
type MisAlarmNonlocalLoginPlacesRequest struct {
*tchttp.BaseRequest
// 异地登录事件Id数组。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewMisAlarmNonlocalLoginPlacesRequest ¶
func NewMisAlarmNonlocalLoginPlacesRequest() (request *MisAlarmNonlocalLoginPlacesRequest)
func (*MisAlarmNonlocalLoginPlacesRequest) FromJsonString ¶
func (r *MisAlarmNonlocalLoginPlacesRequest) FromJsonString(s string) error
func (*MisAlarmNonlocalLoginPlacesRequest) ToJsonString ¶
func (r *MisAlarmNonlocalLoginPlacesRequest) ToJsonString() string
type MisAlarmNonlocalLoginPlacesResponse ¶
type MisAlarmNonlocalLoginPlacesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewMisAlarmNonlocalLoginPlacesResponse ¶
func NewMisAlarmNonlocalLoginPlacesResponse() (response *MisAlarmNonlocalLoginPlacesResponse)
func (*MisAlarmNonlocalLoginPlacesResponse) FromJsonString ¶
func (r *MisAlarmNonlocalLoginPlacesResponse) FromJsonString(s string) error
func (*MisAlarmNonlocalLoginPlacesResponse) ToJsonString ¶
func (r *MisAlarmNonlocalLoginPlacesResponse) ToJsonString() string
type ModifyAlarmAttributeRequest ¶
type ModifyAlarmAttributeRequest struct {
*tchttp.BaseRequest
// 告警项目。
// <li>Offline:防护软件离线</li>
// <li>Malware:发现木马文件</li>
// <li>NonlocalLogin:发现异地登录行为</li>
// <li>CrackSuccess:被暴力破解成功</li>
Attribute *string `json:"Attribute,omitempty" name:"Attribute"`
// 告警项目属性。
// <li>CLOSE:关闭</li>
// <li>OPEN:打开</li>
Value *string `json:"Value,omitempty" name:"Value"`
}
func NewModifyAlarmAttributeRequest ¶
func NewModifyAlarmAttributeRequest() (request *ModifyAlarmAttributeRequest)
func (*ModifyAlarmAttributeRequest) FromJsonString ¶
func (r *ModifyAlarmAttributeRequest) FromJsonString(s string) error
func (*ModifyAlarmAttributeRequest) ToJsonString ¶
func (r *ModifyAlarmAttributeRequest) ToJsonString() string
type ModifyAlarmAttributeResponse ¶
type ModifyAlarmAttributeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyAlarmAttributeResponse ¶
func NewModifyAlarmAttributeResponse() (response *ModifyAlarmAttributeResponse)
func (*ModifyAlarmAttributeResponse) FromJsonString ¶
func (r *ModifyAlarmAttributeResponse) FromJsonString(s string) error
func (*ModifyAlarmAttributeResponse) ToJsonString ¶
func (r *ModifyAlarmAttributeResponse) ToJsonString() string
type ModifyAutoOpenProVersionConfigRequest ¶
type ModifyAutoOpenProVersionConfigRequest struct {
*tchttp.BaseRequest
// 设置自动开通状态。
// <li>CLOSE:关闭</li>
// <li>OPEN:打开</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyAutoOpenProVersionConfigRequest ¶
func NewModifyAutoOpenProVersionConfigRequest() (request *ModifyAutoOpenProVersionConfigRequest)
func (*ModifyAutoOpenProVersionConfigRequest) FromJsonString ¶
func (r *ModifyAutoOpenProVersionConfigRequest) FromJsonString(s string) error
func (*ModifyAutoOpenProVersionConfigRequest) ToJsonString ¶
func (r *ModifyAutoOpenProVersionConfigRequest) ToJsonString() string
type ModifyAutoOpenProVersionConfigResponse ¶
type ModifyAutoOpenProVersionConfigResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyAutoOpenProVersionConfigResponse ¶
func NewModifyAutoOpenProVersionConfigResponse() (response *ModifyAutoOpenProVersionConfigResponse)
func (*ModifyAutoOpenProVersionConfigResponse) FromJsonString ¶
func (r *ModifyAutoOpenProVersionConfigResponse) FromJsonString(s string) error
func (*ModifyAutoOpenProVersionConfigResponse) ToJsonString ¶
func (r *ModifyAutoOpenProVersionConfigResponse) ToJsonString() string
type ModifyLoginWhiteListRequest ¶
type ModifyLoginWhiteListRequest struct {
*tchttp.BaseRequest
// 白名单规则
Rules *LoginWhiteListsRule `json:"Rules,omitempty" name:"Rules"`
}
func NewModifyLoginWhiteListRequest ¶
func NewModifyLoginWhiteListRequest() (request *ModifyLoginWhiteListRequest)
func (*ModifyLoginWhiteListRequest) FromJsonString ¶
func (r *ModifyLoginWhiteListRequest) FromJsonString(s string) error
func (*ModifyLoginWhiteListRequest) ToJsonString ¶
func (r *ModifyLoginWhiteListRequest) ToJsonString() string
type ModifyLoginWhiteListResponse ¶
type ModifyLoginWhiteListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyLoginWhiteListResponse ¶
func NewModifyLoginWhiteListResponse() (response *ModifyLoginWhiteListResponse)
func (*ModifyLoginWhiteListResponse) FromJsonString ¶
func (r *ModifyLoginWhiteListResponse) FromJsonString(s string) error
func (*ModifyLoginWhiteListResponse) ToJsonString ¶
func (r *ModifyLoginWhiteListResponse) ToJsonString() string
type ModifyProVersionRenewFlagRequest ¶
type ModifyProVersionRenewFlagRequest struct {
*tchttp.BaseRequest
// 自动续费标识。取值范围:
// <li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li>
// <li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li>
// <li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li>
RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"`
// 主机唯一ID,对应CVM的uuid、BM的instanceId。
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}
func NewModifyProVersionRenewFlagRequest ¶
func NewModifyProVersionRenewFlagRequest() (request *ModifyProVersionRenewFlagRequest)
func (*ModifyProVersionRenewFlagRequest) FromJsonString ¶
func (r *ModifyProVersionRenewFlagRequest) FromJsonString(s string) error
func (*ModifyProVersionRenewFlagRequest) ToJsonString ¶
func (r *ModifyProVersionRenewFlagRequest) ToJsonString() string
type ModifyProVersionRenewFlagResponse ¶
type ModifyProVersionRenewFlagResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyProVersionRenewFlagResponse ¶
func NewModifyProVersionRenewFlagResponse() (response *ModifyProVersionRenewFlagResponse)
func (*ModifyProVersionRenewFlagResponse) FromJsonString ¶
func (r *ModifyProVersionRenewFlagResponse) FromJsonString(s string) error
func (*ModifyProVersionRenewFlagResponse) ToJsonString ¶
func (r *ModifyProVersionRenewFlagResponse) ToJsonString() string
type NonLocalLoginPlace ¶
type NonLocalLoginPlace struct {
// 事件ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 登录状态
// <li>NON_LOCAL_LOGIN:异地登录</li>
// <li>NORMAL_LOGIN:正常登录</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 用户名。
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 城市ID。
City *uint64 `json:"City,omitempty" name:"City"`
// 国家ID。
Country *uint64 `json:"Country,omitempty" name:"Country"`
// 省份ID。
Province *uint64 `json:"Province,omitempty" name:"Province"`
// 登录IP。
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 机器名称。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 登录时间。
LoginTime *string `json:"LoginTime,omitempty" name:"LoginTime"`
// 云镜客户端唯一标识Uuid。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
}
type OpenPort ¶
type OpenPort struct {
// 唯一ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端唯一UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 开放端口号。
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 端口对应进程名。
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 端口对应进程Pid。
Pid *uint64 `json:"Pid,omitempty" name:"Pid"`
// 记录创建时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 记录更新时间。
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}
type OpenPortStatistics ¶
type OpenProVersionPrepaidRequest ¶
type OpenProVersionPrepaidRequest struct {
*tchttp.BaseRequest
// 购买相关参数。
ChargePrepaid *ChargePrepaid `json:"ChargePrepaid,omitempty" name:"ChargePrepaid"`
// 需要开通专业版主机信息数组。
Machines []*ProVersionMachine `json:"Machines,omitempty" name:"Machines" list`
}
func NewOpenProVersionPrepaidRequest ¶
func NewOpenProVersionPrepaidRequest() (request *OpenProVersionPrepaidRequest)
func (*OpenProVersionPrepaidRequest) FromJsonString ¶
func (r *OpenProVersionPrepaidRequest) FromJsonString(s string) error
func (*OpenProVersionPrepaidRequest) ToJsonString ¶
func (r *OpenProVersionPrepaidRequest) ToJsonString() string
type OpenProVersionPrepaidResponse ¶
type OpenProVersionPrepaidResponse struct {
*tchttp.BaseResponse
Response *struct {
// 订单ID列表。
DealIds []*string `json:"DealIds,omitempty" name:"DealIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewOpenProVersionPrepaidResponse ¶
func NewOpenProVersionPrepaidResponse() (response *OpenProVersionPrepaidResponse)
func (*OpenProVersionPrepaidResponse) FromJsonString ¶
func (r *OpenProVersionPrepaidResponse) FromJsonString(s string) error
func (*OpenProVersionPrepaidResponse) ToJsonString ¶
func (r *OpenProVersionPrepaidResponse) ToJsonString() string
type OpenProVersionRequest ¶
type OpenProVersionRequest struct {
*tchttp.BaseRequest
// 云主机类型。
// <li>CVM:表示虚拟主机</li>
// <li>BM: 表示黑石物理机</li>
MachineType *string `json:"MachineType,omitempty" name:"MachineType"`
// 机器所属地域。
// 如:ap-guangzhou,ap-shanghai
MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`
// 主机唯一标识Uuid数组。
// 黑石的InstanceId,CVM的Uuid
Quuids []*string `json:"Quuids,omitempty" name:"Quuids" list`
// 活动ID。
ActivityId *uint64 `json:"ActivityId,omitempty" name:"ActivityId"`
}
func NewOpenProVersionRequest ¶
func NewOpenProVersionRequest() (request *OpenProVersionRequest)
func (*OpenProVersionRequest) FromJsonString ¶
func (r *OpenProVersionRequest) FromJsonString(s string) error
func (*OpenProVersionRequest) ToJsonString ¶
func (r *OpenProVersionRequest) ToJsonString() string
type OpenProVersionResponse ¶
type OpenProVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewOpenProVersionResponse ¶
func NewOpenProVersionResponse() (response *OpenProVersionResponse)
func (*OpenProVersionResponse) FromJsonString ¶
func (r *OpenProVersionResponse) FromJsonString(s string) error
func (*OpenProVersionResponse) ToJsonString ¶
func (r *OpenProVersionResponse) ToJsonString() string
type PrivilegeEscalationProcess ¶
type PrivilegeEscalationProcess struct {
// 数据ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机ID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 主机内网IP
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
// 进程名
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 进程路径
FullPath *string `json:"FullPath,omitempty" name:"FullPath"`
// 执行命令
CmdLine *string `json:"CmdLine,omitempty" name:"CmdLine"`
// 用户名
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 用户组
UserGroup *string `json:"UserGroup,omitempty" name:"UserGroup"`
// 进程文件权限
ProcFilePrivilege *string `json:"ProcFilePrivilege,omitempty" name:"ProcFilePrivilege"`
// 父进程名
ParentProcName *string `json:"ParentProcName,omitempty" name:"ParentProcName"`
// 父进程用户名
ParentProcUser *string `json:"ParentProcUser,omitempty" name:"ParentProcUser"`
// 父进程用户组
ParentProcGroup *string `json:"ParentProcGroup,omitempty" name:"ParentProcGroup"`
// 父进程路径
ParentProcPath *string `json:"ParentProcPath,omitempty" name:"ParentProcPath"`
// 进程树
ProcTree *string `json:"ProcTree,omitempty" name:"ProcTree"`
// 处理状态
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 发生时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 机器名
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
}
type PrivilegeRule ¶
type PrivilegeRule struct {
// 规则ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 进程名
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 是否S权限
SMode *uint64 `json:"SMode,omitempty" name:"SMode"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 是否全局规则
IsGlobal *uint64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
// 状态(0: 有效 1: 无效)
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 修改时间
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
// 主机IP
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
}
type ProVersionMachine ¶
type ProVersionMachine struct {
// 主机类型。
// <li>CVM: 虚拟主机</li>
// <li>BM: 黑石物理机</li>
MachineType *string `json:"MachineType,omitempty" name:"MachineType"`
// 主机所在地域。
// 如:ap-guangzhou、ap-beijing
MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`
// 主机唯一标识Uuid。
// 黑石的InstanceId,CVM的Uuid
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}
type Process ¶
type Process struct {
// 唯一ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端唯一UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机内网IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机名。
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 进程Pid。
Pid *uint64 `json:"Pid,omitempty" name:"Pid"`
// 进程Ppid。
Ppid *uint64 `json:"Ppid,omitempty" name:"Ppid"`
// 进程名。
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 进程用户名。
Username *string `json:"Username,omitempty" name:"Username"`
// 所属平台。
// <li>WIN32:windows32位</li>
// <li>WIN64:windows64位</li>
// <li>LINUX32:Linux32位</li>
// <li>LINUX64:Linux64位</li>
Platform *string `json:"Platform,omitempty" name:"Platform"`
// 进程路径。
FullPath *string `json:"FullPath,omitempty" name:"FullPath"`
// 创建时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}
type ProcessStatistics ¶
type RecoverMalwaresRequest ¶
type RecoverMalwaresRequest struct {
*tchttp.BaseRequest
// 木马Id数组,单次最大删除不能超过200条
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewRecoverMalwaresRequest ¶
func NewRecoverMalwaresRequest() (request *RecoverMalwaresRequest)
func (*RecoverMalwaresRequest) FromJsonString ¶
func (r *RecoverMalwaresRequest) FromJsonString(s string) error
func (*RecoverMalwaresRequest) ToJsonString ¶
func (r *RecoverMalwaresRequest) ToJsonString() string
type RecoverMalwaresResponse ¶
type RecoverMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 恢复成功id数组
SuccessIds []*uint64 `json:"SuccessIds,omitempty" name:"SuccessIds" list`
// 恢复失败id数组
FailedIds []*uint64 `json:"FailedIds,omitempty" name:"FailedIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRecoverMalwaresResponse ¶
func NewRecoverMalwaresResponse() (response *RecoverMalwaresResponse)
func (*RecoverMalwaresResponse) FromJsonString ¶
func (r *RecoverMalwaresResponse) FromJsonString(s string) error
func (*RecoverMalwaresResponse) ToJsonString ¶
func (r *RecoverMalwaresResponse) ToJsonString() string
type RenewProVersionRequest ¶
type RenewProVersionRequest struct {
*tchttp.BaseRequest
// 购买相关参数。
ChargePrepaid *ChargePrepaid `json:"ChargePrepaid,omitempty" name:"ChargePrepaid"`
// 主机唯一ID,对应CVM的uuid、BM的InstanceId。
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
}
func NewRenewProVersionRequest ¶
func NewRenewProVersionRequest() (request *RenewProVersionRequest)
func (*RenewProVersionRequest) FromJsonString ¶
func (r *RenewProVersionRequest) FromJsonString(s string) error
func (*RenewProVersionRequest) ToJsonString ¶
func (r *RenewProVersionRequest) ToJsonString() string
type RenewProVersionResponse ¶
type RenewProVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRenewProVersionResponse ¶
func NewRenewProVersionResponse() (response *RenewProVersionResponse)
func (*RenewProVersionResponse) FromJsonString ¶
func (r *RenewProVersionResponse) FromJsonString(s string) error
func (*RenewProVersionResponse) ToJsonString ¶
func (r *RenewProVersionResponse) ToJsonString() string
type RescanImpactedHostRequest ¶
type RescanImpactedHostRequest struct {
*tchttp.BaseRequest
// 漏洞ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
}
func NewRescanImpactedHostRequest ¶
func NewRescanImpactedHostRequest() (request *RescanImpactedHostRequest)
func (*RescanImpactedHostRequest) FromJsonString ¶
func (r *RescanImpactedHostRequest) FromJsonString(s string) error
func (*RescanImpactedHostRequest) ToJsonString ¶
func (r *RescanImpactedHostRequest) ToJsonString() string
type RescanImpactedHostResponse ¶
type RescanImpactedHostResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRescanImpactedHostResponse ¶
func NewRescanImpactedHostResponse() (response *RescanImpactedHostResponse)
func (*RescanImpactedHostResponse) FromJsonString ¶
func (r *RescanImpactedHostResponse) FromJsonString(s string) error
func (*RescanImpactedHostResponse) ToJsonString ¶
func (r *RescanImpactedHostResponse) ToJsonString() string
type ReverseShell ¶
type ReverseShell struct {
// ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜UUID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 主机ID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 主机内网IP
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
// 目标IP
DstIp *string `json:"DstIp,omitempty" name:"DstIp"`
// 目标端口
DstPort *uint64 `json:"DstPort,omitempty" name:"DstPort"`
// 进程名
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 进程路径
FullPath *string `json:"FullPath,omitempty" name:"FullPath"`
// 命令详情
CmdLine *string `json:"CmdLine,omitempty" name:"CmdLine"`
// 执行用户
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 执行用户组
UserGroup *string `json:"UserGroup,omitempty" name:"UserGroup"`
// 父进程名
ParentProcName *string `json:"ParentProcName,omitempty" name:"ParentProcName"`
// 父进程用户
ParentProcUser *string `json:"ParentProcUser,omitempty" name:"ParentProcUser"`
// 父进程用户组
ParentProcGroup *string `json:"ParentProcGroup,omitempty" name:"ParentProcGroup"`
// 父进程路径
ParentProcPath *string `json:"ParentProcPath,omitempty" name:"ParentProcPath"`
// 处理状态
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 产生时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 主机名
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 进程树
ProcTree *string `json:"ProcTree,omitempty" name:"ProcTree"`
}
type ReverseShellRule ¶
type ReverseShellRule struct {
// 规则ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 客户端ID
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 进程名称
ProcessName *string `json:"ProcessName,omitempty" name:"ProcessName"`
// 目标IP
DestIp *string `json:"DestIp,omitempty" name:"DestIp"`
// 目标端口
DestPort *string `json:"DestPort,omitempty" name:"DestPort"`
// 操作人
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 是否全局规则
IsGlobal *uint64 `json:"IsGlobal,omitempty" name:"IsGlobal"`
// 状态 (0: 有效 1: 无效)
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 修改时间
ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
// 主机IP
Hostip *string `json:"Hostip,omitempty" name:"Hostip"`
}
type SecurityDynamic ¶
type SecurityDynamic struct {
// 云镜客户端UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 安全事件发生事件。
EventTime *string `json:"EventTime,omitempty" name:"EventTime"`
// 安全事件类型。
// <li>MALWARE:木马事件</li>
// <li>NON_LOCAL_LOGIN:异地登录</li>
// <li>BRUTEATTACK_SUCCESS:密码破解成功</li>
// <li>VUL:漏洞</li>
// <li>BASELINE:安全基线</li>
EventType *string `json:"EventType,omitempty" name:"EventType"`
// 安全事件消息。
Message *string `json:"Message,omitempty" name:"Message"`
}
type SecurityTrend ¶
type SeparateMalwaresRequest ¶
type SeparateMalwaresRequest struct {
*tchttp.BaseRequest
// 木马事件ID数组。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewSeparateMalwaresRequest ¶
func NewSeparateMalwaresRequest() (request *SeparateMalwaresRequest)
func (*SeparateMalwaresRequest) FromJsonString ¶
func (r *SeparateMalwaresRequest) FromJsonString(s string) error
func (*SeparateMalwaresRequest) ToJsonString ¶
func (r *SeparateMalwaresRequest) ToJsonString() string
type SeparateMalwaresResponse ¶
type SeparateMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 隔离成功的id数组。
SuccessIds []*uint64 `json:"SuccessIds,omitempty" name:"SuccessIds" list`
// 隔离失败的id数组。
FailedIds []*uint64 `json:"FailedIds,omitempty" name:"FailedIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSeparateMalwaresResponse ¶
func NewSeparateMalwaresResponse() (response *SeparateMalwaresResponse)
func (*SeparateMalwaresResponse) FromJsonString ¶
func (r *SeparateMalwaresResponse) FromJsonString(s string) error
func (*SeparateMalwaresResponse) ToJsonString ¶
func (r *SeparateMalwaresResponse) ToJsonString() string
type SetBashEventsStatusRequest ¶
type SetBashEventsStatusRequest struct {
*tchttp.BaseRequest
// ID数组,最大100条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
// 新状态(0-待处理 1-高危 2-正常)
Status *uint64 `json:"Status,omitempty" name:"Status"`
}
func NewSetBashEventsStatusRequest ¶
func NewSetBashEventsStatusRequest() (request *SetBashEventsStatusRequest)
func (*SetBashEventsStatusRequest) FromJsonString ¶
func (r *SetBashEventsStatusRequest) FromJsonString(s string) error
func (*SetBashEventsStatusRequest) ToJsonString ¶
func (r *SetBashEventsStatusRequest) ToJsonString() string
type SetBashEventsStatusResponse ¶
type SetBashEventsStatusResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSetBashEventsStatusResponse ¶
func NewSetBashEventsStatusResponse() (response *SetBashEventsStatusResponse)
func (*SetBashEventsStatusResponse) FromJsonString ¶
func (r *SetBashEventsStatusResponse) FromJsonString(s string) error
func (*SetBashEventsStatusResponse) ToJsonString ¶
func (r *SetBashEventsStatusResponse) ToJsonString() string
type SwitchBashRulesRequest ¶
type SwitchBashRulesRequest struct {
*tchttp.BaseRequest
// 规则ID
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 是否禁用
Disabled *uint64 `json:"Disabled,omitempty" name:"Disabled"`
}
func NewSwitchBashRulesRequest ¶
func NewSwitchBashRulesRequest() (request *SwitchBashRulesRequest)
func (*SwitchBashRulesRequest) FromJsonString ¶
func (r *SwitchBashRulesRequest) FromJsonString(s string) error
func (*SwitchBashRulesRequest) ToJsonString ¶
func (r *SwitchBashRulesRequest) ToJsonString() string
type SwitchBashRulesResponse ¶
type SwitchBashRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSwitchBashRulesResponse ¶
func NewSwitchBashRulesResponse() (response *SwitchBashRulesResponse)
func (*SwitchBashRulesResponse) FromJsonString ¶
func (r *SwitchBashRulesResponse) FromJsonString(s string) error
func (*SwitchBashRulesResponse) ToJsonString ¶
func (r *SwitchBashRulesResponse) ToJsonString() string
type TagMachine ¶
type TagMachine struct {
// ID
Id *string `json:"Id,omitempty" name:"Id"`
// 主机ID
Quuid *string `json:"Quuid,omitempty" name:"Quuid"`
// 主机名称
MachineName *string `json:"MachineName,omitempty" name:"MachineName"`
// 主机内网IP
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 主机外网IP
MachineWanIp *string `json:"MachineWanIp,omitempty" name:"MachineWanIp"`
// 主机区域
MachineRegion *string `json:"MachineRegion,omitempty" name:"MachineRegion"`
// 主机区域类型
MachineType *string `json:"MachineType,omitempty" name:"MachineType"`
}
type TrustMaliciousRequestRequest ¶
type TrustMaliciousRequestRequest struct {
*tchttp.BaseRequest
// 恶意请求记录ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
}
func NewTrustMaliciousRequestRequest ¶
func NewTrustMaliciousRequestRequest() (request *TrustMaliciousRequestRequest)
func (*TrustMaliciousRequestRequest) FromJsonString ¶
func (r *TrustMaliciousRequestRequest) FromJsonString(s string) error
func (*TrustMaliciousRequestRequest) ToJsonString ¶
func (r *TrustMaliciousRequestRequest) ToJsonString() string
type TrustMaliciousRequestResponse ¶
type TrustMaliciousRequestResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewTrustMaliciousRequestResponse ¶
func NewTrustMaliciousRequestResponse() (response *TrustMaliciousRequestResponse)
func (*TrustMaliciousRequestResponse) FromJsonString ¶
func (r *TrustMaliciousRequestResponse) FromJsonString(s string) error
func (*TrustMaliciousRequestResponse) ToJsonString ¶
func (r *TrustMaliciousRequestResponse) ToJsonString() string
type TrustMalwaresRequest ¶
type TrustMalwaresRequest struct {
*tchttp.BaseRequest
// 木马ID数组。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewTrustMalwaresRequest ¶
func NewTrustMalwaresRequest() (request *TrustMalwaresRequest)
func (*TrustMalwaresRequest) FromJsonString ¶
func (r *TrustMalwaresRequest) FromJsonString(s string) error
func (*TrustMalwaresRequest) ToJsonString ¶
func (r *TrustMalwaresRequest) ToJsonString() string
type TrustMalwaresResponse ¶
type TrustMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewTrustMalwaresResponse ¶
func NewTrustMalwaresResponse() (response *TrustMalwaresResponse)
func (*TrustMalwaresResponse) FromJsonString ¶
func (r *TrustMalwaresResponse) FromJsonString(s string) error
func (*TrustMalwaresResponse) ToJsonString ¶
func (r *TrustMalwaresResponse) ToJsonString() string
type UntrustMaliciousRequestRequest ¶
type UntrustMaliciousRequestRequest struct {
*tchttp.BaseRequest
// 受信任记录ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
}
func NewUntrustMaliciousRequestRequest ¶
func NewUntrustMaliciousRequestRequest() (request *UntrustMaliciousRequestRequest)
func (*UntrustMaliciousRequestRequest) FromJsonString ¶
func (r *UntrustMaliciousRequestRequest) FromJsonString(s string) error
func (*UntrustMaliciousRequestRequest) ToJsonString ¶
func (r *UntrustMaliciousRequestRequest) ToJsonString() string
type UntrustMaliciousRequestResponse ¶
type UntrustMaliciousRequestResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUntrustMaliciousRequestResponse ¶
func NewUntrustMaliciousRequestResponse() (response *UntrustMaliciousRequestResponse)
func (*UntrustMaliciousRequestResponse) FromJsonString ¶
func (r *UntrustMaliciousRequestResponse) FromJsonString(s string) error
func (*UntrustMaliciousRequestResponse) ToJsonString ¶
func (r *UntrustMaliciousRequestResponse) ToJsonString() string
type UntrustMalwaresRequest ¶
type UntrustMalwaresRequest struct {
*tchttp.BaseRequest
// 木马ID数组,单次最大处理不能超过200条。
Ids []*uint64 `json:"Ids,omitempty" name:"Ids" list`
}
func NewUntrustMalwaresRequest ¶
func NewUntrustMalwaresRequest() (request *UntrustMalwaresRequest)
func (*UntrustMalwaresRequest) FromJsonString ¶
func (r *UntrustMalwaresRequest) FromJsonString(s string) error
func (*UntrustMalwaresRequest) ToJsonString ¶
func (r *UntrustMalwaresRequest) ToJsonString() string
type UntrustMalwaresResponse ¶
type UntrustMalwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUntrustMalwaresResponse ¶
func NewUntrustMalwaresResponse() (response *UntrustMalwaresResponse)
func (*UntrustMalwaresResponse) FromJsonString ¶
func (r *UntrustMalwaresResponse) FromJsonString(s string) error
func (*UntrustMalwaresResponse) ToJsonString ¶
func (r *UntrustMalwaresResponse) ToJsonString() string
type UsualPlace ¶
type UsualPlace struct {
// ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云镜客户端唯一标识UUID。
Uuid *string `json:"Uuid,omitempty" name:"Uuid"`
// 国家 ID。
CountryId *uint64 `json:"CountryId,omitempty" name:"CountryId"`
// 省份 ID。
ProvinceId *uint64 `json:"ProvinceId,omitempty" name:"ProvinceId"`
// 城市 ID。
CityId *uint64 `json:"CityId,omitempty" name:"CityId"`
}
type Vul ¶
type Vul struct {
// 漏洞种类ID
VulId *uint64 `json:"VulId,omitempty" name:"VulId"`
// 漏洞名称
VulName *string `json:"VulName,omitempty" name:"VulName"`
// 漏洞危害等级:
// HIGH:高危
// MIDDLE:中危
// LOW:低危
// NOTICE:提示
VulLevel *string `json:"VulLevel,omitempty" name:"VulLevel"`
// 最后扫描时间
LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`
// 受影响机器数量
ImpactedHostNum *uint64 `json:"ImpactedHostNum,omitempty" name:"ImpactedHostNum"`
// 漏洞状态
// * UN_OPERATED : 待处理
// * FIXED : 已修复
VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`
}
type WeeklyReport ¶
type WeeklyReportBruteAttack ¶
type WeeklyReportBruteAttack struct {
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 被破解用户名。
Username *string `json:"Username,omitempty" name:"Username"`
// 源IP。
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 尝试次数。
Count *uint64 `json:"Count,omitempty" name:"Count"`
// 攻击时间。
AttackTime *string `json:"AttackTime,omitempty" name:"AttackTime"`
}
type WeeklyReportMalware ¶
type WeeklyReportMalware struct {
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 木马文件路径。
FilePath *string `json:"FilePath,omitempty" name:"FilePath"`
// 木马文件MD5值。
Md5 *string `json:"Md5,omitempty" name:"Md5"`
// 木马发现时间。
FindTime *string `json:"FindTime,omitempty" name:"FindTime"`
// 当前木马状态。
// <li>UN_OPERATED:未处理</li>
// <li>SEGREGATED:已隔离</li>
// <li>TRUSTED:已信任</li>
// <li>SEPARATING:隔离中</li>
// <li>RECOVERING:恢复中</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
type WeeklyReportNonlocalLoginPlace ¶
type WeeklyReportNonlocalLoginPlace struct {
// 主机IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 用户名。
Username *string `json:"Username,omitempty" name:"Username"`
// 源IP。
SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"`
// 国家ID。
Country *uint64 `json:"Country,omitempty" name:"Country"`
// 省份ID。
Province *uint64 `json:"Province,omitempty" name:"Province"`
// 城市ID。
City *uint64 `json:"City,omitempty" name:"City"`
// 登录时间。
LoginTime *string `json:"LoginTime,omitempty" name:"LoginTime"`
}
type WeeklyReportVul ¶
type WeeklyReportVul struct {
// 主机内网IP。
MachineIp *string `json:"MachineIp,omitempty" name:"MachineIp"`
// 漏洞名称。
VulName *string `json:"VulName,omitempty" name:"VulName"`
// 漏洞类型。
// <li> WEB : Web漏洞</li>
// <li> SYSTEM :系统组件漏洞</li>
// <li> BASELINE : 安全基线</li>
VulType *string `json:"VulType,omitempty" name:"VulType"`
// 漏洞描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 漏洞状态。
// <li> UN_OPERATED : 待处理</li>
// <li> SCANING : 扫描中</li>
// <li> FIXED : 已修复</li>
VulStatus *string `json:"VulStatus,omitempty" name:"VulStatus"`
// 最后扫描时间。
LastScanTime *string `json:"LastScanTime,omitempty" name:"LastScanTime"`
}