Documentation
¶
Overview ¶
Package uhids include resources of ucloud uhids product
See also
- API: https://docs.ucloud.cn/api/uhids-api/index
- Product: https://www.ucloud.cn/site/product/uhids.html
for detail.
Index ¶
- type AddUHostSecBaseCheckWhiteRuleRequest
- type AddUHostSecBaseCheckWhiteRuleResponse
- type AddUHostSecWebRiskWhiteRuleRequest
- type AddUHostSecWebRiskWhiteRuleResponse
- type AddUhostsecCommonLoginIpRequest
- type AddUhostsecCommonLoginIpResponse
- type AddUhostsecCommonLoginLocationRequest
- type AddUhostsecCommonLoginLocationResponse
- type AgentOSStatisticRequest
- type AgentOSStatisticResponse
- type AgentWarnningStatisticInfo
- type AgentWarnningStatisticRequest
- type AgentWarnningStatisticResponse
- type BaseCheckWarning
- type BuyBillPointRequest
- type BuyBillPointResponse
- type CommonLoginLocationInfo
- type CycleBillPointStat
- type DataSignatureNewestUpdateTime
- type DelUHostSecBaseCheckWhiteRuleRequest
- type DelUHostSecBaseCheckWhiteRuleResponse
- type DelUHostSecCommonLoginRequest
- type DelUHostSecCommonLoginResponse
- type DelUHostSecWarningsRequest
- type DelUHostSecWarningsResponse
- type GetUHostsecAgentDeploymentStatisticsRequest
- type GetUHostsecAgentDeploymentStatisticsResponse
- type GetUHostsecAgentInstallScriptRequest
- type GetUHostsecAgentInstallScriptResponse
- type GetUHostsecBaseCheckRuleDescriptionRequest
- type GetUHostsecBaseCheckRuleDescriptionResponse
- type GetUhostsecAgentDeploymentSituationWithVerInfoRequest
- type GetUhostsecAgentDeploymentSituationWithVerInfoResponse
- type GetUhostsecTrojanDescriptionRequest
- type GetUhostsecTrojanDescriptionResponse
- type HostAgentStatusInfo
- type IP
- type ListUHostsecWarnDaysStatisticsV2Request
- type ListUHostsecWarnDaysStatisticsV2Response
- type ListUHostsecWarnStatisticsV2Request
- type ListUHostsecWarnStatisticsV2Response
- type ListUhostsecCommonLoginIpRequest
- type ListUhostsecCommonLoginIpResponse
- type ListUhostsecCommonLoginLocationRequest
- type ListUhostsecCommonLoginLocationResponse
- type NIC
- type OSInfo
- type OSList
- type OSVersion
- type OptBusinessVerAutoRequest
- type OptBusinessVerAutoResponse
- type OptPayAutoRenewRequest
- type OptPayAutoRenewResponse
- type QueryBillPointDeductionFlowByCycleRequest
- type QueryBillPointDeductionFlowByCycleResponse
- type QueryNewestUpdateTimeRequest
- type QueryNewestUpdateTimeResponse
- type QueryPayInfoRequest
- type QueryPayInfoResponse
- type QueryUHostSecWarningBaseChecksRequest
- type QueryUHostSecWarningBaseChecksResponse
- type QueryWeekReportListRequest
- type QueryWeekReportListResponse
- type Statistics
- type SwitchAgentFunctionVersionRequest
- type SwitchAgentFunctionVersionResponse
- type SwitchAgentRecord
- type UHIDSClient
- func (c *UHIDSClient) AddUHostSecBaseCheckWhiteRule(req *AddUHostSecBaseCheckWhiteRuleRequest) (*AddUHostSecBaseCheckWhiteRuleResponse, error)
- func (c *UHIDSClient) AddUHostSecWebRiskWhiteRule(req *AddUHostSecWebRiskWhiteRuleRequest) (*AddUHostSecWebRiskWhiteRuleResponse, error)
- func (c *UHIDSClient) AddUhostsecCommonLoginIp(req *AddUhostsecCommonLoginIpRequest) (*AddUhostsecCommonLoginIpResponse, error)
- func (c *UHIDSClient) AddUhostsecCommonLoginLocation(req *AddUhostsecCommonLoginLocationRequest) (*AddUhostsecCommonLoginLocationResponse, error)
- func (c *UHIDSClient) AgentOSStatistic(req *AgentOSStatisticRequest) (*AgentOSStatisticResponse, error)
- func (c *UHIDSClient) AgentWarnningStatistic(req *AgentWarnningStatisticRequest) (*AgentWarnningStatisticResponse, error)
- func (c *UHIDSClient) BuyBillPoint(req *BuyBillPointRequest) (*BuyBillPointResponse, error)
- func (c *UHIDSClient) DelUHostSecBaseCheckWhiteRule(req *DelUHostSecBaseCheckWhiteRuleRequest) (*DelUHostSecBaseCheckWhiteRuleResponse, error)
- func (c *UHIDSClient) DelUHostSecCommonLogin(req *DelUHostSecCommonLoginRequest) (*DelUHostSecCommonLoginResponse, error)
- func (c *UHIDSClient) DelUHostSecWarnings(req *DelUHostSecWarningsRequest) (*DelUHostSecWarningsResponse, error)
- func (c *UHIDSClient) GetUHostsecAgentDeploymentStatistics(req *GetUHostsecAgentDeploymentStatisticsRequest) (*GetUHostsecAgentDeploymentStatisticsResponse, error)
- func (c *UHIDSClient) GetUHostsecAgentInstallScript(req *GetUHostsecAgentInstallScriptRequest) (*GetUHostsecAgentInstallScriptResponse, error)
- func (c *UHIDSClient) GetUHostsecBaseCheckRuleDescription(req *GetUHostsecBaseCheckRuleDescriptionRequest) (*GetUHostsecBaseCheckRuleDescriptionResponse, error)
- func (c *UHIDSClient) GetUhostsecAgentDeploymentSituationWithVerInfo(req *GetUhostsecAgentDeploymentSituationWithVerInfoRequest) (*GetUhostsecAgentDeploymentSituationWithVerInfoResponse, error)
- func (c *UHIDSClient) GetUhostsecTrojanDescription(req *GetUhostsecTrojanDescriptionRequest) (*GetUhostsecTrojanDescriptionResponse, error)
- func (c *UHIDSClient) ListUHostsecWarnDaysStatisticsV2(req *ListUHostsecWarnDaysStatisticsV2Request) (*ListUHostsecWarnDaysStatisticsV2Response, error)
- func (c *UHIDSClient) ListUHostsecWarnStatisticsV2(req *ListUHostsecWarnStatisticsV2Request) (*ListUHostsecWarnStatisticsV2Response, error)
- func (c *UHIDSClient) ListUhostsecCommonLoginIp(req *ListUhostsecCommonLoginIpRequest) (*ListUhostsecCommonLoginIpResponse, error)
- func (c *UHIDSClient) ListUhostsecCommonLoginLocation(req *ListUhostsecCommonLoginLocationRequest) (*ListUhostsecCommonLoginLocationResponse, error)
- func (c *UHIDSClient) NewAddUHostSecBaseCheckWhiteRuleRequest() *AddUHostSecBaseCheckWhiteRuleRequest
- func (c *UHIDSClient) NewAddUHostSecWebRiskWhiteRuleRequest() *AddUHostSecWebRiskWhiteRuleRequest
- func (c *UHIDSClient) NewAddUhostsecCommonLoginIpRequest() *AddUhostsecCommonLoginIpRequest
- func (c *UHIDSClient) NewAddUhostsecCommonLoginLocationRequest() *AddUhostsecCommonLoginLocationRequest
- func (c *UHIDSClient) NewAgentOSStatisticRequest() *AgentOSStatisticRequest
- func (c *UHIDSClient) NewAgentWarnningStatisticRequest() *AgentWarnningStatisticRequest
- func (c *UHIDSClient) NewBuyBillPointRequest() *BuyBillPointRequest
- func (c *UHIDSClient) NewDelUHostSecBaseCheckWhiteRuleRequest() *DelUHostSecBaseCheckWhiteRuleRequest
- func (c *UHIDSClient) NewDelUHostSecCommonLoginRequest() *DelUHostSecCommonLoginRequest
- func (c *UHIDSClient) NewDelUHostSecWarningsRequest() *DelUHostSecWarningsRequest
- func (c *UHIDSClient) NewGetUHostsecAgentDeploymentStatisticsRequest() *GetUHostsecAgentDeploymentStatisticsRequest
- func (c *UHIDSClient) NewGetUHostsecAgentInstallScriptRequest() *GetUHostsecAgentInstallScriptRequest
- func (c *UHIDSClient) NewGetUHostsecBaseCheckRuleDescriptionRequest() *GetUHostsecBaseCheckRuleDescriptionRequest
- func (c *UHIDSClient) NewGetUhostsecAgentDeploymentSituationWithVerInfoRequest() *GetUhostsecAgentDeploymentSituationWithVerInfoRequest
- func (c *UHIDSClient) NewGetUhostsecTrojanDescriptionRequest() *GetUhostsecTrojanDescriptionRequest
- func (c *UHIDSClient) NewListUHostsecWarnDaysStatisticsV2Request() *ListUHostsecWarnDaysStatisticsV2Request
- func (c *UHIDSClient) NewListUHostsecWarnStatisticsV2Request() *ListUHostsecWarnStatisticsV2Request
- func (c *UHIDSClient) NewListUhostsecCommonLoginIpRequest() *ListUhostsecCommonLoginIpRequest
- func (c *UHIDSClient) NewListUhostsecCommonLoginLocationRequest() *ListUhostsecCommonLoginLocationRequest
- func (c *UHIDSClient) NewOptBusinessVerAutoRequest() *OptBusinessVerAutoRequest
- func (c *UHIDSClient) NewOptPayAutoRenewRequest() *OptPayAutoRenewRequest
- func (c *UHIDSClient) NewQueryBillPointDeductionFlowByCycleRequest() *QueryBillPointDeductionFlowByCycleRequest
- func (c *UHIDSClient) NewQueryNewestUpdateTimeRequest() *QueryNewestUpdateTimeRequest
- func (c *UHIDSClient) NewQueryPayInfoRequest() *QueryPayInfoRequest
- func (c *UHIDSClient) NewQueryUHostSecWarningBaseChecksRequest() *QueryUHostSecWarningBaseChecksRequest
- func (c *UHIDSClient) NewQueryWeekReportListRequest() *QueryWeekReportListRequest
- func (c *UHIDSClient) NewSwitchAgentFunctionVersionRequest() *SwitchAgentFunctionVersionRequest
- func (c *UHIDSClient) NewVulStatisticTopNRequest() *VulStatisticTopNRequest
- func (c *UHIDSClient) OptBusinessVerAuto(req *OptBusinessVerAutoRequest) (*OptBusinessVerAutoResponse, error)
- func (c *UHIDSClient) OptPayAutoRenew(req *OptPayAutoRenewRequest) (*OptPayAutoRenewResponse, error)
- func (c *UHIDSClient) QueryBillPointDeductionFlowByCycle(req *QueryBillPointDeductionFlowByCycleRequest) (*QueryBillPointDeductionFlowByCycleResponse, error)
- func (c *UHIDSClient) QueryNewestUpdateTime(req *QueryNewestUpdateTimeRequest) (*QueryNewestUpdateTimeResponse, error)
- func (c *UHIDSClient) QueryPayInfo(req *QueryPayInfoRequest) (*QueryPayInfoResponse, error)
- func (c *UHIDSClient) QueryUHostSecWarningBaseChecks(req *QueryUHostSecWarningBaseChecksRequest) (*QueryUHostSecWarningBaseChecksResponse, error)
- func (c *UHIDSClient) QueryWeekReportList(req *QueryWeekReportListRequest) (*QueryWeekReportListResponse, error)
- func (c *UHIDSClient) SwitchAgentFunctionVersion(req *SwitchAgentFunctionVersionRequest) (*SwitchAgentFunctionVersionResponse, error)
- func (c *UHIDSClient) VulStatisticTopN(req *VulStatisticTopNRequest) (*VulStatisticTopNResponse, error)
- type VulStatisticTopNInfo
- type VulStatisticTopNRequest
- type VulStatisticTopNResponse
- type WarnStatistics
- type WeekReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUHostSecBaseCheckWhiteRuleRequest ¶
type AddUHostSecBaseCheckWhiteRuleRequest struct {
request.CommonBase
// 基线白名单规则信息(值为以下字段的json转base64后字符串,json格式:{"Data":[{"IP":{"Type":"ip","IPs":["192.168.3.4","192.168.3.4"]},"RuleID":"B0101001V01","AppName":"Linux","Description":"存在弱口令用户[testUser]","RiskType":"配置缺陷","RiskLevel":"高危","User":"testUser"},{"IP":{"Type":"all","IPs":[]},"RuleID":"B0101001V01","AppName":"Linux","Description":"存在弱口令用户[testUser]","RiskType":"配置缺陷","RiskLevel":"高危","User":"testUser"}]})
Data *string `required:"true"`
}
AddUHostSecBaseCheckWhiteRuleRequest is request schema for AddUHostSecBaseCheckWhiteRule action
type AddUHostSecBaseCheckWhiteRuleResponse ¶
type AddUHostSecBaseCheckWhiteRuleResponse struct {
response.CommonBase
// 失败数
Fail int
// 成功数
Success int
}
AddUHostSecBaseCheckWhiteRuleResponse is response schema for AddUHostSecBaseCheckWhiteRule action
type AddUHostSecWebRiskWhiteRuleRequest ¶
type AddUHostSecWebRiskWhiteRuleRequest struct {
request.CommonBase
// webrisk白名单规则信息(值为以下字段的json转base64后字符串,json格式:{"Data":[{"IP":{"Type":"subnet","IPs":["192.168.1.0/24","172.36.1.0-172.36.255.255"]},"Type":"不安全的配置","RuleId":"30001","RiskDesc":"未删除的.git目录","Detail":"未删除的.git目录,黑客可以直接下载git相关文件","FileName":"/var/www/html/DiscuzX/install/index.php"},{"IP":{"Type":"all","IPs":[]},"Type":"不安全的配置","RuleId":"30001","RiskDesc":"未删除的.git目录","Detail":"未删除的.git目录,黑客可以直接下载git相关文件","FileName":"/var/www/html/DiscuzX/install/index.php"}]})
Data *string `required:"true"`
}
AddUHostSecWebRiskWhiteRuleRequest is request schema for AddUHostSecWebRiskWhiteRule action
type AddUHostSecWebRiskWhiteRuleResponse ¶
type AddUHostSecWebRiskWhiteRuleResponse struct {
response.CommonBase
// 失败数
Fail int
// 成功数
Success int
}
AddUHostSecWebRiskWhiteRuleResponse is response schema for AddUHostSecWebRiskWhiteRule action
type AddUhostsecCommonLoginIpRequest ¶
type AddUhostsecCommonLoginIpRequest struct {
request.CommonBase
// IP白名单列表,多个逗号间隔
IPs *string `required:"true"`
}
AddUhostsecCommonLoginIpRequest is request schema for AddUhostsecCommonLoginIp action
type AddUhostsecCommonLoginIpResponse ¶
type AddUhostsecCommonLoginIpResponse struct {
response.CommonBase
}
AddUhostsecCommonLoginIpResponse is response schema for AddUhostsecCommonLoginIp action
type AddUhostsecCommonLoginLocationRequest ¶
type AddUhostsecCommonLoginLocationRequest struct {
request.CommonBase
// 登录地址信息(值为以下字段的json转base64后字符串,json格式:{"Data":[{"Country":"中国","Province":"广东","City":"深圳"},{"Country":"中国","Province":"广东","City":"广州"}]})
Data *string `required:"true"`
}
AddUhostsecCommonLoginLocationRequest is request schema for AddUhostsecCommonLoginLocation action
type AddUhostsecCommonLoginLocationResponse ¶
type AddUhostsecCommonLoginLocationResponse struct {
response.CommonBase
}
AddUhostsecCommonLoginLocationResponse is response schema for AddUhostsecCommonLoginLocation action
type AgentOSStatisticRequest ¶
type AgentOSStatisticRequest struct {
request.CommonBase
}
AgentOSStatisticRequest is request schema for AgentOSStatistic action
type AgentOSStatisticResponse ¶
type AgentOSStatisticResponse struct {
response.CommonBase
// 操作系统安装量统计结果
Result OSList
}
AgentOSStatisticResponse is response schema for AgentOSStatistic action
type AgentWarnningStatisticInfo ¶
type AgentWarnningStatisticInfo struct {
// 主机总数
AgentTotal int
// 离线主机数
Offline int
// 在线主机数
Online int
// 无风险主机数
SafeCount int
// 有风险主机数
WarnningCount int
}
AgentWarnningStatisticInfo - 服务器状态统计Result数据信息
type AgentWarnningStatisticRequest ¶
type AgentWarnningStatisticRequest struct {
request.CommonBase
}
AgentWarnningStatisticRequest is request schema for AgentWarnningStatistic action
type AgentWarnningStatisticResponse ¶
type AgentWarnningStatisticResponse struct {
response.CommonBase
// 主机状态统计结果值
Result AgentWarnningStatisticInfo
}
AgentWarnningStatisticResponse is response schema for AgentWarnningStatistic action
type BaseCheckWarning ¶
type BaseCheckWarning struct {
// 影响主机数
AgentCount int
// 应用类
AppName string
// 风险描述
Description string
// 风险英文描述
DescriptionEn string
// 风险等级
RiskLevel string
// 风险类型
RiskType string
// 基线规则ID
RuleID string
}
BaseCheckWarning - 基线告警信息
type BuyBillPointRequest ¶
type BuyBillPointRequest struct {
request.CommonBase
// 是否自动设置企业版(true-是,false-否)
AutoBusiness *bool `required:"true"`
// 是否自动续费(true-是,false-否)
AutoRenew *bool `required:"true"`
// 购买数量
PointNum *int `required:"true"`
}
BuyBillPointRequest is request schema for BuyBillPoint action
type BuyBillPointResponse ¶
type BuyBillPointResponse struct {
response.CommonBase
}
BuyBillPointResponse is response schema for BuyBillPoint action
type CommonLoginLocationInfo ¶
type CommonLoginLocationInfo struct {
// 账号
Account string
// 城市
City string
// 国家
Country string
// 创建/修改时间
CreateTime string
// 省份
Province string
}
CommonLoginLocationInfo - 公共登录地信息
type CycleBillPointStat ¶
type CycleBillPointStat struct {
// 减少的减少
AddPointNum int
// 余留的点数
RemainPointNum int
// 增加的点数
SubPointNum int
// 统计时间
Time string
}
CycleBillPointStat - 周期统计的计费点数情况
type DataSignatureNewestUpdateTime ¶
type DataSignatureNewestUpdateTime struct {
// 登录流水最新更新时间
Login string
// 木马样本最新更新时间
Torojan string
// 漏洞最新更新时间
Vul string
// web基线最新更新时间
WebBase string
// Webshell最新更新时间
Webshell string
}
DataSignatureNewestUpdateTime - 数据下载最新更新时间
type DelUHostSecBaseCheckWhiteRuleRequest ¶
type DelUHostSecBaseCheckWhiteRuleRequest struct {
request.CommonBase
// 基线白名单ID
WhiteID *string `required:"true"`
}
DelUHostSecBaseCheckWhiteRuleRequest is request schema for DelUHostSecBaseCheckWhiteRule action
type DelUHostSecBaseCheckWhiteRuleResponse ¶
type DelUHostSecBaseCheckWhiteRuleResponse struct {
response.CommonBase
}
DelUHostSecBaseCheckWhiteRuleResponse is response schema for DelUHostSecBaseCheckWhiteRule action
type DelUHostSecCommonLoginRequest ¶
type DelUHostSecCommonLoginRequest struct {
request.CommonBase
// 登录白名单ID
WhiteID *string `required:"true"`
}
DelUHostSecCommonLoginRequest is request schema for DelUHostSecCommonLogin action
type DelUHostSecCommonLoginResponse ¶
type DelUHostSecCommonLoginResponse struct {
response.CommonBase
}
DelUHostSecCommonLoginResponse is response schema for DelUHostSecCommonLogin action
type DelUHostSecWarningsRequest ¶
type DelUHostSecWarningsRequest struct {
request.CommonBase
// 要删除告警的列表json格式:{"Data":[{"WarnType":"WebShellAlarm","ID":"59e870483ef9f419617b7744"},{"WarnType":"checkCockhorse","ID":"59f67a26812c307b65d72e99"}]})WarnType类型:WebShellAlarm,checkCockhorse,BaseCheck,webRisk,VulCheck2,AbnormalLogin,SshBruteSucceeded
Data *string `required:"true"`
}
DelUHostSecWarningsRequest is request schema for DelUHostSecWarnings action
type DelUHostSecWarningsResponse ¶
type DelUHostSecWarningsResponse struct {
response.CommonBase
}
DelUHostSecWarningsResponse is response schema for DelUHostSecWarnings action
type GetUHostsecAgentDeploymentStatisticsRequest ¶
type GetUHostsecAgentDeploymentStatisticsRequest struct {
request.CommonBase
}
GetUHostsecAgentDeploymentStatisticsRequest is request schema for GetUHostsecAgentDeploymentStatistics action
type GetUHostsecAgentDeploymentStatisticsResponse ¶
type GetUHostsecAgentDeploymentStatisticsResponse struct {
response.CommonBase
// 已安装台数
Installed int
// 未安装台数
Uninstalled int
}
GetUHostsecAgentDeploymentStatisticsResponse is response schema for GetUHostsecAgentDeploymentStatistics action
type GetUHostsecAgentInstallScriptRequest ¶
type GetUHostsecAgentInstallScriptRequest struct {
request.CommonBase
}
GetUHostsecAgentInstallScriptRequest is request schema for GetUHostsecAgentInstallScript action
type GetUHostsecAgentInstallScriptResponse ¶
type GetUHostsecAgentInstallScriptResponse struct {
response.CommonBase
// 安装脚本内容
InstallScript string
}
GetUHostsecAgentInstallScriptResponse is response schema for GetUHostsecAgentInstallScript action
type GetUHostsecBaseCheckRuleDescriptionRequest ¶
type GetUHostsecBaseCheckRuleDescriptionRequest struct {
request.CommonBase
// 规则ID
RuleID *string `required:"true"`
}
GetUHostsecBaseCheckRuleDescriptionRequest is request schema for GetUHostsecBaseCheckRuleDescription action
type GetUHostsecBaseCheckRuleDescriptionResponse ¶
type GetUHostsecBaseCheckRuleDescriptionResponse struct {
response.CommonBase
// 规则描述
Description string
}
GetUHostsecBaseCheckRuleDescriptionResponse is response schema for GetUHostsecBaseCheckRuleDescription action
type GetUhostsecAgentDeploymentSituationWithVerInfoRequest ¶
type GetUhostsecAgentDeploymentSituationWithVerInfoRequest struct {
request.CommonBase
}
GetUhostsecAgentDeploymentSituationWithVerInfoRequest is request schema for GetUhostsecAgentDeploymentSituationWithVerInfo action
type GetUhostsecAgentDeploymentSituationWithVerInfoResponse ¶
type GetUhostsecAgentDeploymentSituationWithVerInfoResponse struct {
response.CommonBase
// 主机信息
InfoList []HostAgentStatusInfo
// 已安装UHIDS的主机数
InstallNum int
// 主机总数
TotalNum int
// 未安装UHIDS的主机数
UninstallNum int
}
GetUhostsecAgentDeploymentSituationWithVerInfoResponse is response schema for GetUhostsecAgentDeploymentSituationWithVerInfo action
type GetUhostsecTrojanDescriptionRequest ¶
type GetUhostsecTrojanDescriptionRequest struct {
request.CommonBase
// 获取指定当前木马对应的告警表名,指定当前木马对应的告警表名,利用告警表名来获取当前的描述信息,可以通过获取ListUHostsecTrojanWarnsResponse的返回信息提供TableName值内容,值:WebShellAlarm、checkCockhorse
TableName *string `required:"true"`
}
GetUhostsecTrojanDescriptionRequest is request schema for GetUhostsecTrojanDescription action
type GetUhostsecTrojanDescriptionResponse ¶
type GetUhostsecTrojanDescriptionResponse struct {
response.CommonBase
// 木马描述信息
Description string
}
GetUhostsecTrojanDescriptionResponse is response schema for GetUhostsecTrojanDescription action
type HostAgentStatusInfo ¶
type HostAgentStatusInfo struct {
// UHIDS的Agent识别ID
AgentId string
// uhost的备注名
HostName string
// 是否已经安装
Installed bool
// 主机IP列表
Ip []string
// 网卡信息列表
NICs []NIC
// 此主机当前UHIDS版本信息
NowVer int
// 系统版本
OsName string
// 用户设置此主机UHIDS版本信息
SetVer int
// uhost资源短ID
UHostId string
// 可用区
Zone string
}
HostAgentStatusInfo - 主机的Agent状态信息
type ListUHostsecWarnDaysStatisticsV2Request ¶
type ListUHostsecWarnDaysStatisticsV2Request struct {
request.CommonBase
// 统计结束时间(y-m-d hh:mm:ss)。不填写默认为当前时间
EndTime *string `required:"false"`
// 统计开始时间(y-m-d hh:mm:ss)。不填写默认从一周前开始统计
StartTime *string `required:"false"`
}
ListUHostsecWarnDaysStatisticsV2Request is request schema for ListUHostsecWarnDaysStatisticsV2 action
type ListUHostsecWarnDaysStatisticsV2Response ¶
type ListUHostsecWarnDaysStatisticsV2Response struct {
response.CommonBase
// 按天的统计对象数组
Statistics []Statistics
}
ListUHostsecWarnDaysStatisticsV2Response is response schema for ListUHostsecWarnDaysStatisticsV2 action
type ListUHostsecWarnStatisticsV2Request ¶
type ListUHostsecWarnStatisticsV2Request struct {
request.CommonBase
}
ListUHostsecWarnStatisticsV2Request is request schema for ListUHostsecWarnStatisticsV2 action
type ListUHostsecWarnStatisticsV2Response ¶
type ListUHostsecWarnStatisticsV2Response struct {
response.CommonBase
// 主机安全各告警统计值
WarnStatistics WarnStatistics
}
ListUHostsecWarnStatisticsV2Response is response schema for ListUHostsecWarnStatisticsV2 action
type ListUhostsecCommonLoginIpRequest ¶
type ListUhostsecCommonLoginIpRequest struct {
request.CommonBase
}
ListUhostsecCommonLoginIpRequest is request schema for ListUhostsecCommonLoginIp action
type ListUhostsecCommonLoginIpResponse ¶
type ListUhostsecCommonLoginIpResponse struct {
response.CommonBase
// IP白名单列表
Infos []IP
}
ListUhostsecCommonLoginIpResponse is response schema for ListUhostsecCommonLoginIp action
type ListUhostsecCommonLoginLocationRequest ¶
type ListUhostsecCommonLoginLocationRequest struct {
request.CommonBase
}
ListUhostsecCommonLoginLocationRequest is request schema for ListUhostsecCommonLoginLocation action
type ListUhostsecCommonLoginLocationResponse ¶
type ListUhostsecCommonLoginLocationResponse struct {
response.CommonBase
// 公共登录地列表
Infos []CommonLoginLocationInfo
}
ListUhostsecCommonLoginLocationResponse is response schema for ListUhostsecCommonLoginLocation action
type OptBusinessVerAutoRequest ¶
type OptBusinessVerAutoRequest struct {
request.CommonBase
// 开(true)/关(false)
Open *bool `required:"true"`
}
OptBusinessVerAutoRequest is request schema for OptBusinessVerAuto action
type OptBusinessVerAutoResponse ¶
type OptBusinessVerAutoResponse struct {
response.CommonBase
// 当前开关状态,false-关闭,true-开启
OpenStatus bool
}
OptBusinessVerAutoResponse is response schema for OptBusinessVerAuto action
type OptPayAutoRenewRequest ¶
type OptPayAutoRenewRequest struct {
request.CommonBase
// 开(true)/关(false)
Open *bool `required:"true"`
}
OptPayAutoRenewRequest is request schema for OptPayAutoRenew action
type OptPayAutoRenewResponse ¶
type OptPayAutoRenewResponse struct {
response.CommonBase
// 当前开关状态,false-关闭,true-开启
OpenStatus bool
}
OptPayAutoRenewResponse is response schema for OptPayAutoRenew action
type QueryBillPointDeductionFlowByCycleRequest ¶
type QueryBillPointDeductionFlowByCycleRequest struct {
request.CommonBase
// (可选)查询结束时间,格式xxxx-xx-xx
EndTime *string `required:"false"`
// (可选)查询开始时间,格式xxxx-xx-xx
StartTime *string `required:"false"`
// 周期(可用值:day)
Type *string `required:"true"`
}
QueryBillPointDeductionFlowByCycleRequest is request schema for QueryBillPointDeductionFlowByCycle action
type QueryBillPointDeductionFlowByCycleResponse ¶
type QueryBillPointDeductionFlowByCycleResponse struct {
response.CommonBase
// 返回的数据
Result []CycleBillPointStat
}
QueryBillPointDeductionFlowByCycleResponse is response schema for QueryBillPointDeductionFlowByCycle action
type QueryNewestUpdateTimeRequest ¶
type QueryNewestUpdateTimeRequest struct {
request.CommonBase
}
QueryNewestUpdateTimeRequest is request schema for QueryNewestUpdateTime action
type QueryNewestUpdateTimeResponse ¶
type QueryNewestUpdateTimeResponse struct {
response.CommonBase
// 数据最新更新时间
Result DataSignatureNewestUpdateTime
}
QueryNewestUpdateTimeResponse is response schema for QueryNewestUpdateTime action
type QueryPayInfoRequest ¶
type QueryPayInfoRequest struct {
request.CommonBase
}
QueryPayInfoRequest is request schema for QueryPayInfo action
type QueryPayInfoResponse ¶
type QueryPayInfoResponse struct {
response.CommonBase
// 自动企业版开关
AutoBusinessVer bool
// 自动续费开关
AutoRenew bool
// 未消费预付费点数
BillPoint int
// 公司ID
CompanyId int
// 预付费点数过期时间
ExpiratTime string
// 项目ID
OrganizationId int
// 预付费点数剩余使用时长
RemainTime string
// 用户最近一次购买的点数大小
RenewPointNum int
// 资源ID
ResourceLongId string
// 更改时间
UpdateTime string
}
QueryPayInfoResponse is response schema for QueryPayInfo action
type QueryUHostSecWarningBaseChecksRequest ¶
type QueryUHostSecWarningBaseChecksRequest struct {
request.CommonBase
// 过滤BaseCheck告警类型,sys:系统安全检查,app:应用安全检查
Type *string `required:"true"`
}
QueryUHostSecWarningBaseChecksRequest is request schema for QueryUHostSecWarningBaseChecks action
type QueryUHostSecWarningBaseChecksResponse ¶
type QueryUHostSecWarningBaseChecksResponse struct {
response.CommonBase
// 正在告警基线类型
Result []BaseCheckWarning
}
QueryUHostSecWarningBaseChecksResponse is response schema for QueryUHostSecWarningBaseChecks action
type QueryWeekReportListRequest ¶
type QueryWeekReportListRequest struct {
request.CommonBase
// 第N页
PageIndex *int `required:"false"`
// 页大小
PageSize *int `required:"false"`
}
QueryWeekReportListRequest is request schema for QueryWeekReportList action
type QueryWeekReportListResponse ¶
type QueryWeekReportListResponse struct {
response.CommonBase
// 文件列表
Result []WeekReport
// 记录总数
Total int
}
QueryWeekReportListResponse is response schema for QueryWeekReportList action
type Statistics ¶
type Statistics struct {
// 异常登录告警统计值
AbnormalLogin int
// 安全基线检查告警统计值
BaseCheck int
// 进行告警统计的时间
Date string
// 暴力破解失败统计值
SshBruteFailed int
// 暴力破解成功告警统计值
SshBruteSucceeded int
// 木马告警统计值
Trojan int
// 漏洞检查告警统计值
VulCheck int
}
Statistics - 主机安全告警按时间段统计
type SwitchAgentFunctionVersionRequest ¶
type SwitchAgentFunctionVersionRequest struct {
request.CommonBase
// 操作的Agent列表,以逗号分隔,如全部则设成ALL
AgentList *string `required:"true"`
// 付费类型 月付或年付
ChargeType *int `required:"true"`
// 代金券
Coupon *string `required:"false"`
// 功能版本(0-基础版 1-企业版)
FuncVersion *int `required:"true"`
// 购买数量
Quantity *int `required:"false"`
}
SwitchAgentFunctionVersionRequest is request schema for SwitchAgentFunctionVersion action
type SwitchAgentFunctionVersionResponse ¶
type SwitchAgentFunctionVersionResponse struct {
response.CommonBase
// 切换 Agent 版本结果
Records SwitchAgentRecord
}
SwitchAgentFunctionVersionResponse is response schema for SwitchAgentFunctionVersion action
type SwitchAgentRecord ¶
SwitchAgentRecord - 切换Agent 版本记录
type UHIDSClient ¶
UHIDSClient is the client of UHIDS
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *UHIDSClient
NewClient will return a instance of UHIDSClient
func (*UHIDSClient) AddUHostSecBaseCheckWhiteRule ¶
func (c *UHIDSClient) AddUHostSecBaseCheckWhiteRule(req *AddUHostSecBaseCheckWhiteRuleRequest) (*AddUHostSecBaseCheckWhiteRuleResponse, error)
API: AddUHostSecBaseCheckWhiteRule
添加安全基线白名单
func (*UHIDSClient) AddUHostSecWebRiskWhiteRule ¶
func (c *UHIDSClient) AddUHostSecWebRiskWhiteRule(req *AddUHostSecWebRiskWhiteRuleRequest) (*AddUHostSecWebRiskWhiteRuleResponse, error)
API: AddUHostSecWebRiskWhiteRule
添加webrisk白名单
func (*UHIDSClient) AddUhostsecCommonLoginIp ¶
func (c *UHIDSClient) AddUhostsecCommonLoginIp(req *AddUhostsecCommonLoginIpRequest) (*AddUhostsecCommonLoginIpResponse, error)
API: AddUhostsecCommonLoginIp
添加常用登陆Ip
func (*UHIDSClient) AddUhostsecCommonLoginLocation ¶
func (c *UHIDSClient) AddUhostsecCommonLoginLocation(req *AddUhostsecCommonLoginLocationRequest) (*AddUhostsecCommonLoginLocationResponse, error)
API: AddUhostsecCommonLoginLocation
添加常用登录地
func (*UHIDSClient) AgentOSStatistic ¶
func (c *UHIDSClient) AgentOSStatistic(req *AgentOSStatisticRequest) (*AgentOSStatisticResponse, error)
API: AgentOSStatistic
统计当前主机安装哪些系统,并统计各系统安装数
func (*UHIDSClient) AgentWarnningStatistic ¶
func (c *UHIDSClient) AgentWarnningStatistic(req *AgentWarnningStatisticRequest) (*AgentWarnningStatisticResponse, error)
API: AgentWarnningStatistic
统计总主机数,在线数,离线数,有风险主机数,无风险主机数
func (*UHIDSClient) BuyBillPoint ¶
func (c *UHIDSClient) BuyBillPoint(req *BuyBillPointRequest) (*BuyBillPointResponse, error)
API: BuyBillPoint
购买付费点数
func (*UHIDSClient) DelUHostSecBaseCheckWhiteRule ¶
func (c *UHIDSClient) DelUHostSecBaseCheckWhiteRule(req *DelUHostSecBaseCheckWhiteRuleRequest) (*DelUHostSecBaseCheckWhiteRuleResponse, error)
API: DelUHostSecBaseCheckWhiteRule
删除安全基线白名单
func (*UHIDSClient) DelUHostSecCommonLogin ¶
func (c *UHIDSClient) DelUHostSecCommonLogin(req *DelUHostSecCommonLoginRequest) (*DelUHostSecCommonLoginResponse, error)
API: DelUHostSecCommonLogin
删除常用登陆IP或常用登陆地
func (*UHIDSClient) DelUHostSecWarnings ¶
func (c *UHIDSClient) DelUHostSecWarnings(req *DelUHostSecWarningsRequest) (*DelUHostSecWarningsResponse, error)
API: DelUHostSecWarnings
删除告警
func (*UHIDSClient) GetUHostsecAgentDeploymentStatistics ¶
func (c *UHIDSClient) GetUHostsecAgentDeploymentStatistics(req *GetUHostsecAgentDeploymentStatisticsRequest) (*GetUHostsecAgentDeploymentStatisticsResponse, error)
API: GetUHostsecAgentDeploymentStatistics
获取当前项目制定工程的Agent部署统计值,包括安装与未安装信息
func (*UHIDSClient) GetUHostsecAgentInstallScript ¶
func (c *UHIDSClient) GetUHostsecAgentInstallScript(req *GetUHostsecAgentInstallScriptRequest) (*GetUHostsecAgentInstallScriptResponse, error)
API: GetUHostsecAgentInstallScript
不同的项目使用的安装脚本附带的属性值会有差异,这里需要根据每个不同的项目来获取相应的主机安全agent安装脚本下载地址
func (*UHIDSClient) GetUHostsecBaseCheckRuleDescription ¶
func (c *UHIDSClient) GetUHostsecBaseCheckRuleDescription(req *GetUHostsecBaseCheckRuleDescriptionRequest) (*GetUHostsecBaseCheckRuleDescriptionResponse, error)
API: GetUHostsecBaseCheckRuleDescription
获取基线检测指定规则详细描述
func (*UHIDSClient) GetUhostsecAgentDeploymentSituationWithVerInfo ¶
func (c *UHIDSClient) GetUhostsecAgentDeploymentSituationWithVerInfo(req *GetUhostsecAgentDeploymentSituationWithVerInfoRequest) (*GetUhostsecAgentDeploymentSituationWithVerInfoResponse, error)
API: GetUhostsecAgentDeploymentSituationWithVerInfo
获取当前项目的主机安装信息,包括IP,当前付费版本等信息
func (*UHIDSClient) GetUhostsecTrojanDescription ¶
func (c *UHIDSClient) GetUhostsecTrojanDescription(req *GetUhostsecTrojanDescriptionRequest) (*GetUhostsecTrojanDescriptionResponse, error)
API: GetUhostsecTrojanDescription
获取某一类木马告警的详细描述信息
func (*UHIDSClient) ListUHostsecWarnDaysStatisticsV2 ¶
func (c *UHIDSClient) ListUHostsecWarnDaysStatisticsV2(req *ListUHostsecWarnDaysStatisticsV2Request) (*ListUHostsecWarnDaysStatisticsV2Response, error)
API: ListUHostsecWarnDaysStatisticsV2
获取按天列出各类告警统计值,但不统计暴力破解失败数据,SshBruteFailed为0
func (*UHIDSClient) ListUHostsecWarnStatisticsV2 ¶
func (c *UHIDSClient) ListUHostsecWarnStatisticsV2(req *ListUHostsecWarnStatisticsV2Request) (*ListUHostsecWarnStatisticsV2Response, error)
API: ListUHostsecWarnStatisticsV2
获取当前账号与项目下的各类主机安全告警统计值,但不统计暴力破解失败数据,SshBruteFailed为0
func (*UHIDSClient) ListUhostsecCommonLoginIp ¶
func (c *UHIDSClient) ListUhostsecCommonLoginIp(req *ListUhostsecCommonLoginIpRequest) (*ListUhostsecCommonLoginIpResponse, error)
API: ListUhostsecCommonLoginIp
列出公共登录ip列表
func (*UHIDSClient) ListUhostsecCommonLoginLocation ¶
func (c *UHIDSClient) ListUhostsecCommonLoginLocation(req *ListUhostsecCommonLoginLocationRequest) (*ListUhostsecCommonLoginLocationResponse, error)
API: ListUhostsecCommonLoginLocation
获取公共登录地列表
func (*UHIDSClient) NewAddUHostSecBaseCheckWhiteRuleRequest ¶
func (c *UHIDSClient) NewAddUHostSecBaseCheckWhiteRuleRequest() *AddUHostSecBaseCheckWhiteRuleRequest
NewAddUHostSecBaseCheckWhiteRuleRequest will create request of AddUHostSecBaseCheckWhiteRule action.
func (*UHIDSClient) NewAddUHostSecWebRiskWhiteRuleRequest ¶
func (c *UHIDSClient) NewAddUHostSecWebRiskWhiteRuleRequest() *AddUHostSecWebRiskWhiteRuleRequest
NewAddUHostSecWebRiskWhiteRuleRequest will create request of AddUHostSecWebRiskWhiteRule action.
func (*UHIDSClient) NewAddUhostsecCommonLoginIpRequest ¶
func (c *UHIDSClient) NewAddUhostsecCommonLoginIpRequest() *AddUhostsecCommonLoginIpRequest
NewAddUhostsecCommonLoginIpRequest will create request of AddUhostsecCommonLoginIp action.
func (*UHIDSClient) NewAddUhostsecCommonLoginLocationRequest ¶
func (c *UHIDSClient) NewAddUhostsecCommonLoginLocationRequest() *AddUhostsecCommonLoginLocationRequest
NewAddUhostsecCommonLoginLocationRequest will create request of AddUhostsecCommonLoginLocation action.
func (*UHIDSClient) NewAgentOSStatisticRequest ¶
func (c *UHIDSClient) NewAgentOSStatisticRequest() *AgentOSStatisticRequest
NewAgentOSStatisticRequest will create request of AgentOSStatistic action.
func (*UHIDSClient) NewAgentWarnningStatisticRequest ¶
func (c *UHIDSClient) NewAgentWarnningStatisticRequest() *AgentWarnningStatisticRequest
NewAgentWarnningStatisticRequest will create request of AgentWarnningStatistic action.
func (*UHIDSClient) NewBuyBillPointRequest ¶
func (c *UHIDSClient) NewBuyBillPointRequest() *BuyBillPointRequest
NewBuyBillPointRequest will create request of BuyBillPoint action.
func (*UHIDSClient) NewDelUHostSecBaseCheckWhiteRuleRequest ¶
func (c *UHIDSClient) NewDelUHostSecBaseCheckWhiteRuleRequest() *DelUHostSecBaseCheckWhiteRuleRequest
NewDelUHostSecBaseCheckWhiteRuleRequest will create request of DelUHostSecBaseCheckWhiteRule action.
func (*UHIDSClient) NewDelUHostSecCommonLoginRequest ¶
func (c *UHIDSClient) NewDelUHostSecCommonLoginRequest() *DelUHostSecCommonLoginRequest
NewDelUHostSecCommonLoginRequest will create request of DelUHostSecCommonLogin action.
func (*UHIDSClient) NewDelUHostSecWarningsRequest ¶
func (c *UHIDSClient) NewDelUHostSecWarningsRequest() *DelUHostSecWarningsRequest
NewDelUHostSecWarningsRequest will create request of DelUHostSecWarnings action.
func (*UHIDSClient) NewGetUHostsecAgentDeploymentStatisticsRequest ¶
func (c *UHIDSClient) NewGetUHostsecAgentDeploymentStatisticsRequest() *GetUHostsecAgentDeploymentStatisticsRequest
NewGetUHostsecAgentDeploymentStatisticsRequest will create request of GetUHostsecAgentDeploymentStatistics action.
func (*UHIDSClient) NewGetUHostsecAgentInstallScriptRequest ¶
func (c *UHIDSClient) NewGetUHostsecAgentInstallScriptRequest() *GetUHostsecAgentInstallScriptRequest
NewGetUHostsecAgentInstallScriptRequest will create request of GetUHostsecAgentInstallScript action.
func (*UHIDSClient) NewGetUHostsecBaseCheckRuleDescriptionRequest ¶
func (c *UHIDSClient) NewGetUHostsecBaseCheckRuleDescriptionRequest() *GetUHostsecBaseCheckRuleDescriptionRequest
NewGetUHostsecBaseCheckRuleDescriptionRequest will create request of GetUHostsecBaseCheckRuleDescription action.
func (*UHIDSClient) NewGetUhostsecAgentDeploymentSituationWithVerInfoRequest ¶
func (c *UHIDSClient) NewGetUhostsecAgentDeploymentSituationWithVerInfoRequest() *GetUhostsecAgentDeploymentSituationWithVerInfoRequest
NewGetUhostsecAgentDeploymentSituationWithVerInfoRequest will create request of GetUhostsecAgentDeploymentSituationWithVerInfo action.
func (*UHIDSClient) NewGetUhostsecTrojanDescriptionRequest ¶
func (c *UHIDSClient) NewGetUhostsecTrojanDescriptionRequest() *GetUhostsecTrojanDescriptionRequest
NewGetUhostsecTrojanDescriptionRequest will create request of GetUhostsecTrojanDescription action.
func (*UHIDSClient) NewListUHostsecWarnDaysStatisticsV2Request ¶
func (c *UHIDSClient) NewListUHostsecWarnDaysStatisticsV2Request() *ListUHostsecWarnDaysStatisticsV2Request
NewListUHostsecWarnDaysStatisticsV2Request will create request of ListUHostsecWarnDaysStatisticsV2 action.
func (*UHIDSClient) NewListUHostsecWarnStatisticsV2Request ¶
func (c *UHIDSClient) NewListUHostsecWarnStatisticsV2Request() *ListUHostsecWarnStatisticsV2Request
NewListUHostsecWarnStatisticsV2Request will create request of ListUHostsecWarnStatisticsV2 action.
func (*UHIDSClient) NewListUhostsecCommonLoginIpRequest ¶
func (c *UHIDSClient) NewListUhostsecCommonLoginIpRequest() *ListUhostsecCommonLoginIpRequest
NewListUhostsecCommonLoginIpRequest will create request of ListUhostsecCommonLoginIp action.
func (*UHIDSClient) NewListUhostsecCommonLoginLocationRequest ¶
func (c *UHIDSClient) NewListUhostsecCommonLoginLocationRequest() *ListUhostsecCommonLoginLocationRequest
NewListUhostsecCommonLoginLocationRequest will create request of ListUhostsecCommonLoginLocation action.
func (*UHIDSClient) NewOptBusinessVerAutoRequest ¶
func (c *UHIDSClient) NewOptBusinessVerAutoRequest() *OptBusinessVerAutoRequest
NewOptBusinessVerAutoRequest will create request of OptBusinessVerAuto action.
func (*UHIDSClient) NewOptPayAutoRenewRequest ¶
func (c *UHIDSClient) NewOptPayAutoRenewRequest() *OptPayAutoRenewRequest
NewOptPayAutoRenewRequest will create request of OptPayAutoRenew action.
func (*UHIDSClient) NewQueryBillPointDeductionFlowByCycleRequest ¶
func (c *UHIDSClient) NewQueryBillPointDeductionFlowByCycleRequest() *QueryBillPointDeductionFlowByCycleRequest
NewQueryBillPointDeductionFlowByCycleRequest will create request of QueryBillPointDeductionFlowByCycle action.
func (*UHIDSClient) NewQueryNewestUpdateTimeRequest ¶
func (c *UHIDSClient) NewQueryNewestUpdateTimeRequest() *QueryNewestUpdateTimeRequest
NewQueryNewestUpdateTimeRequest will create request of QueryNewestUpdateTime action.
func (*UHIDSClient) NewQueryPayInfoRequest ¶
func (c *UHIDSClient) NewQueryPayInfoRequest() *QueryPayInfoRequest
NewQueryPayInfoRequest will create request of QueryPayInfo action.
func (*UHIDSClient) NewQueryUHostSecWarningBaseChecksRequest ¶
func (c *UHIDSClient) NewQueryUHostSecWarningBaseChecksRequest() *QueryUHostSecWarningBaseChecksRequest
NewQueryUHostSecWarningBaseChecksRequest will create request of QueryUHostSecWarningBaseChecks action.
func (*UHIDSClient) NewQueryWeekReportListRequest ¶
func (c *UHIDSClient) NewQueryWeekReportListRequest() *QueryWeekReportListRequest
NewQueryWeekReportListRequest will create request of QueryWeekReportList action.
func (*UHIDSClient) NewSwitchAgentFunctionVersionRequest ¶
func (c *UHIDSClient) NewSwitchAgentFunctionVersionRequest() *SwitchAgentFunctionVersionRequest
NewSwitchAgentFunctionVersionRequest will create request of SwitchAgentFunctionVersion action.
func (*UHIDSClient) NewVulStatisticTopNRequest ¶
func (c *UHIDSClient) NewVulStatisticTopNRequest() *VulStatisticTopNRequest
NewVulStatisticTopNRequest will create request of VulStatisticTopN action.
func (*UHIDSClient) OptBusinessVerAuto ¶
func (c *UHIDSClient) OptBusinessVerAuto(req *OptBusinessVerAutoRequest) (*OptBusinessVerAutoResponse, error)
API: OptBusinessVerAuto
对自动设置企业版的开关设置
func (*UHIDSClient) OptPayAutoRenew ¶
func (c *UHIDSClient) OptPayAutoRenew(req *OptPayAutoRenewRequest) (*OptPayAutoRenewResponse, error)
API: OptPayAutoRenew
自动续费功能的开关
func (*UHIDSClient) QueryBillPointDeductionFlowByCycle ¶
func (c *UHIDSClient) QueryBillPointDeductionFlowByCycle(req *QueryBillPointDeductionFlowByCycleRequest) (*QueryBillPointDeductionFlowByCycleResponse, error)
API: QueryBillPointDeductionFlowByCycle
按照周期(目前只支持按天)统计用户计费点数变化(增加/减少/预留)情况
func (*UHIDSClient) QueryNewestUpdateTime ¶
func (c *UHIDSClient) QueryNewestUpdateTime(req *QueryNewestUpdateTimeRequest) (*QueryNewestUpdateTimeResponse, error)
API: QueryNewestUpdateTime
查询下载数据最新更新时间
func (*UHIDSClient) QueryPayInfo ¶
func (c *UHIDSClient) QueryPayInfo(req *QueryPayInfoRequest) (*QueryPayInfoResponse, error)
API: QueryPayInfo
查询用户的付费信息,保护目前未消费点数,点数过期时间,自动续费开关等
func (*UHIDSClient) QueryUHostSecWarningBaseChecks ¶
func (c *UHIDSClient) QueryUHostSecWarningBaseChecks(req *QueryUHostSecWarningBaseChecksRequest) (*QueryUHostSecWarningBaseChecksResponse, error)
API: QueryUHostSecWarningBaseChecks
查询正在告警的安全基线类型列表
func (*UHIDSClient) QueryWeekReportList ¶
func (c *UHIDSClient) QueryWeekReportList(req *QueryWeekReportListRequest) (*QueryWeekReportListResponse, error)
API: QueryWeekReportList
查询主机安全周报
func (*UHIDSClient) SwitchAgentFunctionVersion ¶
func (c *UHIDSClient) SwitchAgentFunctionVersion(req *SwitchAgentFunctionVersionRequest) (*SwitchAgentFunctionVersionResponse, error)
API: SwitchAgentFunctionVersion
对agent在各个功能版本之间切换
func (*UHIDSClient) VulStatisticTopN ¶
func (c *UHIDSClient) VulStatisticTopN(req *VulStatisticTopNRequest) (*VulStatisticTopNResponse, error)
API: VulStatisticTopN
某种类型漏洞存在主机的主机数TOP N
type VulStatisticTopNInfo ¶
type VulStatisticTopNInfo struct {
// 存在该漏洞的主机数
AgentCount int
// 漏洞名称
Name string
// 漏洞ID
VulID string
}
VulStatisticTopNInfo - 高危漏洞TOP N列表漏洞信息
type VulStatisticTopNRequest ¶
type VulStatisticTopNRequest struct {
request.CommonBase
// 感染主机数量最多的前N个漏洞,最小为10
TopN *int `required:"false"`
}
VulStatisticTopNRequest is request schema for VulStatisticTopN action
type VulStatisticTopNResponse ¶
type VulStatisticTopNResponse struct {
response.CommonBase
// 感染主机数量最多的前N个漏洞列表信息
Result []VulStatisticTopNInfo
}
VulStatisticTopNResponse is response schema for VulStatisticTopN action