v5

package
v0.1.47 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAddHostsGroup added in v0.1.16

func GenReqDefForAddHostsGroup() *def.HttpRequestDef

func GenReqDefForAssociatePolicyGroup added in v0.1.16

func GenReqDefForAssociatePolicyGroup() *def.HttpRequestDef

func GenReqDefForBatchCreateTags added in v0.1.6

func GenReqDefForBatchCreateTags() *def.HttpRequestDef

func GenReqDefForChangeEvent added in v0.1.16

func GenReqDefForChangeEvent() *def.HttpRequestDef

func GenReqDefForChangeHostsGroup added in v0.1.16

func GenReqDefForChangeHostsGroup() *def.HttpRequestDef

func GenReqDefForChangeVulStatus added in v0.1.16

func GenReqDefForChangeVulStatus() *def.HttpRequestDef

func GenReqDefForDeleteHostsGroup added in v0.1.16

func GenReqDefForDeleteHostsGroup() *def.HttpRequestDef

func GenReqDefForDeleteResourceInstanceTag added in v0.1.6

func GenReqDefForDeleteResourceInstanceTag() *def.HttpRequestDef

func GenReqDefForListAlarmWhiteList added in v0.1.16

func GenReqDefForListAlarmWhiteList() *def.HttpRequestDef

func GenReqDefForListAppChangeHistories added in v0.1.16

func GenReqDefForListAppChangeHistories() *def.HttpRequestDef

func GenReqDefForListAppStatistics added in v0.1.16

func GenReqDefForListAppStatistics() *def.HttpRequestDef

func GenReqDefForListApps added in v0.1.16

func GenReqDefForListApps() *def.HttpRequestDef

func GenReqDefForListAutoLaunchChangeHistories added in v0.1.16

func GenReqDefForListAutoLaunchChangeHistories() *def.HttpRequestDef

func GenReqDefForListAutoLaunchStatistics added in v0.1.16

func GenReqDefForListAutoLaunchStatistics() *def.HttpRequestDef

func GenReqDefForListAutoLaunchs added in v0.1.16

func GenReqDefForListAutoLaunchs() *def.HttpRequestDef

func GenReqDefForListHostGroups added in v0.1.16

func GenReqDefForListHostGroups() *def.HttpRequestDef

func GenReqDefForListHostProtectHistoryInfo added in v0.1.16

func GenReqDefForListHostProtectHistoryInfo() *def.HttpRequestDef

func GenReqDefForListHostRaspProtectHistoryInfo added in v0.1.16

func GenReqDefForListHostRaspProtectHistoryInfo() *def.HttpRequestDef

func GenReqDefForListHostStatus

func GenReqDefForListHostStatus() *def.HttpRequestDef

func GenReqDefForListHostVuls added in v0.1.47

func GenReqDefForListHostVuls() *def.HttpRequestDef

func GenReqDefForListJarPackageHostInfo added in v0.1.47

func GenReqDefForListJarPackageHostInfo() *def.HttpRequestDef

func GenReqDefForListJarPackageStatistics added in v0.1.47

func GenReqDefForListJarPackageStatistics() *def.HttpRequestDef

func GenReqDefForListPasswordComplexity

func GenReqDefForListPasswordComplexity() *def.HttpRequestDef

func GenReqDefForListPolicyGroup added in v0.1.16

func GenReqDefForListPolicyGroup() *def.HttpRequestDef

func GenReqDefForListPortStatistics added in v0.1.16

func GenReqDefForListPortStatistics() *def.HttpRequestDef

func GenReqDefForListPorts added in v0.1.16

func GenReqDefForListPorts() *def.HttpRequestDef

func GenReqDefForListProcessStatistics added in v0.1.16

func GenReqDefForListProcessStatistics() *def.HttpRequestDef

func GenReqDefForListProtectionPolicy added in v0.1.16

func GenReqDefForListProtectionPolicy() *def.HttpRequestDef

func GenReqDefForListProtectionServer added in v0.1.16

func GenReqDefForListProtectionServer() *def.HttpRequestDef

func GenReqDefForListQuotasDetail added in v0.1.6

func GenReqDefForListQuotasDetail() *def.HttpRequestDef

func GenReqDefForListRiskConfigCheckRules

func GenReqDefForListRiskConfigCheckRules() *def.HttpRequestDef

func GenReqDefForListRiskConfigHosts

func GenReqDefForListRiskConfigHosts() *def.HttpRequestDef

func GenReqDefForListRiskConfigs

func GenReqDefForListRiskConfigs() *def.HttpRequestDef

func GenReqDefForListSecurityEvents

func GenReqDefForListSecurityEvents() *def.HttpRequestDef

func GenReqDefForListUserChangeHistories added in v0.1.6

func GenReqDefForListUserChangeHistories() *def.HttpRequestDef

func GenReqDefForListUserStatistics added in v0.1.16

func GenReqDefForListUserStatistics() *def.HttpRequestDef

func GenReqDefForListUsers added in v0.1.6

func GenReqDefForListUsers() *def.HttpRequestDef

func GenReqDefForListVulHosts added in v0.1.16

func GenReqDefForListVulHosts() *def.HttpRequestDef

func GenReqDefForListVulnerabilities

func GenReqDefForListVulnerabilities() *def.HttpRequestDef

func GenReqDefForListWeakPasswordUsers

func GenReqDefForListWeakPasswordUsers() *def.HttpRequestDef

func GenReqDefForListWtpProtectHost added in v0.1.16

func GenReqDefForListWtpProtectHost() *def.HttpRequestDef

func GenReqDefForSetRaspSwitch added in v0.1.16

func GenReqDefForSetRaspSwitch() *def.HttpRequestDef

func GenReqDefForSetWtpProtectionStatusInfo added in v0.1.16

func GenReqDefForSetWtpProtectionStatusInfo() *def.HttpRequestDef

func GenReqDefForShowAssetStatistic added in v0.1.16

func GenReqDefForShowAssetStatistic() *def.HttpRequestDef

func GenReqDefForShowBackupPolicyInfo added in v0.1.16

func GenReqDefForShowBackupPolicyInfo() *def.HttpRequestDef

func GenReqDefForShowCheckRuleDetail

func GenReqDefForShowCheckRuleDetail() *def.HttpRequestDef

func GenReqDefForShowResourceQuotas added in v0.1.6

func GenReqDefForShowResourceQuotas() *def.HttpRequestDef

func GenReqDefForShowRiskConfigDetail

func GenReqDefForShowRiskConfigDetail() *def.HttpRequestDef

func GenReqDefForStartProtection added in v0.1.16

func GenReqDefForStartProtection() *def.HttpRequestDef

func GenReqDefForStopProtection added in v0.1.16

func GenReqDefForStopProtection() *def.HttpRequestDef

func GenReqDefForSwitchHostsProtectStatus added in v0.1.6

func GenReqDefForSwitchHostsProtectStatus() *def.HttpRequestDef

func GenReqDefForUpdateBackupPolicyInfo added in v0.1.16

func GenReqDefForUpdateBackupPolicyInfo() *def.HttpRequestDef

func GenReqDefForUpdateProtectionPolicy added in v0.1.16

func GenReqDefForUpdateProtectionPolicy() *def.HttpRequestDef

func HssClientBuilder

func HssClientBuilder() *http_client.HcHttpClientBuilder

Types

type AddHostsGroupInvoker added in v0.1.16

type AddHostsGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*AddHostsGroupInvoker) Invoke added in v0.1.16

type AssociatePolicyGroupInvoker added in v0.1.16

type AssociatePolicyGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*AssociatePolicyGroupInvoker) Invoke added in v0.1.16

type BatchCreateTagsInvoker added in v0.1.6

type BatchCreateTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateTagsInvoker) Invoke added in v0.1.6

type ChangeEventInvoker added in v0.1.16

type ChangeEventInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeEventInvoker) Invoke added in v0.1.16

type ChangeHostsGroupInvoker added in v0.1.16

type ChangeHostsGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeHostsGroupInvoker) Invoke added in v0.1.16

type ChangeVulStatusInvoker added in v0.1.16

type ChangeVulStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeVulStatusInvoker) Invoke added in v0.1.16

type DeleteHostsGroupInvoker added in v0.1.16

type DeleteHostsGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteHostsGroupInvoker) Invoke added in v0.1.16

type DeleteResourceInstanceTagInvoker added in v0.1.6

type DeleteResourceInstanceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteResourceInstanceTagInvoker) Invoke added in v0.1.6

type HssClient

type HssClient struct {
	HcClient *http_client.HcHttpClient
}

func NewHssClient

func NewHssClient(hcClient *http_client.HcHttpClient) *HssClient

func (*HssClient) AddHostsGroup added in v0.1.16

func (c *HssClient) AddHostsGroup(request *model.AddHostsGroupRequest) (*model.AddHostsGroupResponse, error)

AddHostsGroup 创建服务器组

创建服务器组

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) AddHostsGroupInvoker added in v0.1.16

func (c *HssClient) AddHostsGroupInvoker(request *model.AddHostsGroupRequest) *AddHostsGroupInvoker

AddHostsGroupInvoker 创建服务器组

func (*HssClient) AssociatePolicyGroup added in v0.1.16

AssociatePolicyGroup 部署策略

部署策略

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) AssociatePolicyGroupInvoker added in v0.1.16

func (c *HssClient) AssociatePolicyGroupInvoker(request *model.AssociatePolicyGroupRequest) *AssociatePolicyGroupInvoker

AssociatePolicyGroupInvoker 部署策略

func (*HssClient) BatchCreateTags added in v0.1.6

func (c *HssClient) BatchCreateTags(request *model.BatchCreateTagsRequest) (*model.BatchCreateTagsResponse, error)

BatchCreateTags 批量创建标签

批量创建标签

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) BatchCreateTagsInvoker added in v0.1.6

func (c *HssClient) BatchCreateTagsInvoker(request *model.BatchCreateTagsRequest) *BatchCreateTagsInvoker

BatchCreateTagsInvoker 批量创建标签

func (*HssClient) ChangeEvent added in v0.1.16

func (c *HssClient) ChangeEvent(request *model.ChangeEventRequest) (*model.ChangeEventResponse, error)

ChangeEvent 处理告警事件

处理告警事件

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ChangeEventInvoker added in v0.1.16

func (c *HssClient) ChangeEventInvoker(request *model.ChangeEventRequest) *ChangeEventInvoker

ChangeEventInvoker 处理告警事件

func (*HssClient) ChangeHostsGroup added in v0.1.16

func (c *HssClient) ChangeHostsGroup(request *model.ChangeHostsGroupRequest) (*model.ChangeHostsGroupResponse, error)

ChangeHostsGroup 编辑服务器组

编辑服务器组

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ChangeHostsGroupInvoker added in v0.1.16

func (c *HssClient) ChangeHostsGroupInvoker(request *model.ChangeHostsGroupRequest) *ChangeHostsGroupInvoker

ChangeHostsGroupInvoker 编辑服务器组

func (*HssClient) ChangeVulStatus added in v0.1.16

func (c *HssClient) ChangeVulStatus(request *model.ChangeVulStatusRequest) (*model.ChangeVulStatusResponse, error)

ChangeVulStatus 修改漏洞的状态

修改漏洞的状态

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ChangeVulStatusInvoker added in v0.1.16

func (c *HssClient) ChangeVulStatusInvoker(request *model.ChangeVulStatusRequest) *ChangeVulStatusInvoker

ChangeVulStatusInvoker 修改漏洞的状态

func (*HssClient) DeleteHostsGroup added in v0.1.16

func (c *HssClient) DeleteHostsGroup(request *model.DeleteHostsGroupRequest) (*model.DeleteHostsGroupResponse, error)

DeleteHostsGroup 删除服务器组

删除服务器组

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) DeleteHostsGroupInvoker added in v0.1.16

func (c *HssClient) DeleteHostsGroupInvoker(request *model.DeleteHostsGroupRequest) *DeleteHostsGroupInvoker

DeleteHostsGroupInvoker 删除服务器组

func (*HssClient) DeleteResourceInstanceTag added in v0.1.6

DeleteResourceInstanceTag 删除资源标签

删除单个资源下的标签

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) DeleteResourceInstanceTagInvoker added in v0.1.6

func (c *HssClient) DeleteResourceInstanceTagInvoker(request *model.DeleteResourceInstanceTagRequest) *DeleteResourceInstanceTagInvoker

DeleteResourceInstanceTagInvoker 删除资源标签

func (*HssClient) ListAlarmWhiteList added in v0.1.16

func (c *HssClient) ListAlarmWhiteList(request *model.ListAlarmWhiteListRequest) (*model.ListAlarmWhiteListResponse, error)

ListAlarmWhiteList 查询告警白名单列表

查询告警白名单列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAlarmWhiteListInvoker added in v0.1.16

func (c *HssClient) ListAlarmWhiteListInvoker(request *model.ListAlarmWhiteListRequest) *ListAlarmWhiteListInvoker

ListAlarmWhiteListInvoker 查询告警白名单列表

func (*HssClient) ListAppChangeHistories added in v0.1.16

ListAppChangeHistories 获取软件信息的历史变动记录

获取软件信息的历史变动记录

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAppChangeHistoriesInvoker added in v0.1.16

func (c *HssClient) ListAppChangeHistoriesInvoker(request *model.ListAppChangeHistoriesRequest) *ListAppChangeHistoriesInvoker

ListAppChangeHistoriesInvoker 获取软件信息的历史变动记录

func (*HssClient) ListAppStatistics added in v0.1.16

func (c *HssClient) ListAppStatistics(request *model.ListAppStatisticsRequest) (*model.ListAppStatisticsResponse, error)

ListAppStatistics 查询软件列表

查询软件列表,支持通过软件名称查询对应的服务器数

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAppStatisticsInvoker added in v0.1.16

func (c *HssClient) ListAppStatisticsInvoker(request *model.ListAppStatisticsRequest) *ListAppStatisticsInvoker

ListAppStatisticsInvoker 查询软件列表

func (*HssClient) ListApps added in v0.1.16

func (c *HssClient) ListApps(request *model.ListAppsRequest) (*model.ListAppsResponse, error)

ListApps 查询软件的服务器列表

查询软件的服务器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAppsInvoker added in v0.1.16

func (c *HssClient) ListAppsInvoker(request *model.ListAppsRequest) *ListAppsInvoker

ListAppsInvoker 查询软件的服务器列表

func (*HssClient) ListAutoLaunchChangeHistories added in v0.1.16

ListAutoLaunchChangeHistories 获取自启动项的历史变动记录

获取自启动项的历史变动记录

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAutoLaunchChangeHistoriesInvoker added in v0.1.16

func (c *HssClient) ListAutoLaunchChangeHistoriesInvoker(request *model.ListAutoLaunchChangeHistoriesRequest) *ListAutoLaunchChangeHistoriesInvoker

ListAutoLaunchChangeHistoriesInvoker 获取自启动项的历史变动记录

func (*HssClient) ListAutoLaunchStatistics added in v0.1.16

ListAutoLaunchStatistics 查询自启动项信息

查询自启动信息,支持通过传入自启动名称查询启动类型和服务器数

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAutoLaunchStatisticsInvoker added in v0.1.16

func (c *HssClient) ListAutoLaunchStatisticsInvoker(request *model.ListAutoLaunchStatisticsRequest) *ListAutoLaunchStatisticsInvoker

ListAutoLaunchStatisticsInvoker 查询自启动项信息

func (*HssClient) ListAutoLaunchs added in v0.1.16

func (c *HssClient) ListAutoLaunchs(request *model.ListAutoLaunchsRequest) (*model.ListAutoLaunchsResponse, error)

ListAutoLaunchs 查询自启动项的服务列表

查询自启动项的服务列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListAutoLaunchsInvoker added in v0.1.16

func (c *HssClient) ListAutoLaunchsInvoker(request *model.ListAutoLaunchsRequest) *ListAutoLaunchsInvoker

ListAutoLaunchsInvoker 查询自启动项的服务列表

func (*HssClient) ListHostGroups added in v0.1.16

func (c *HssClient) ListHostGroups(request *model.ListHostGroupsRequest) (*model.ListHostGroupsResponse, error)

ListHostGroups 查询服务器组列表

查询服务器组列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListHostGroupsInvoker added in v0.1.16

func (c *HssClient) ListHostGroupsInvoker(request *model.ListHostGroupsRequest) *ListHostGroupsInvoker

ListHostGroupsInvoker 查询服务器组列表

func (*HssClient) ListHostProtectHistoryInfo added in v0.1.16

ListHostProtectHistoryInfo 查询主机静态网页防篡改防护动态

查询主机静态网页防篡改防护动态:展示服务器名称、服务器ip、防护策略、检测时间、防护文件、事件描述信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListHostProtectHistoryInfoInvoker added in v0.1.16

func (c *HssClient) ListHostProtectHistoryInfoInvoker(request *model.ListHostProtectHistoryInfoRequest) *ListHostProtectHistoryInfoInvoker

ListHostProtectHistoryInfoInvoker 查询主机静态网页防篡改防护动态

func (*HssClient) ListHostRaspProtectHistoryInfo added in v0.1.16

ListHostRaspProtectHistoryInfo 查询主机动态网页防篡改防护动态

查询主机动态网页防篡改防护动态:包含告警级别、服务器ip、服务器名称、威胁类型、告警时间、攻击源ip、攻击源url信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListHostRaspProtectHistoryInfoInvoker added in v0.1.16

func (c *HssClient) ListHostRaspProtectHistoryInfoInvoker(request *model.ListHostRaspProtectHistoryInfoRequest) *ListHostRaspProtectHistoryInfoInvoker

ListHostRaspProtectHistoryInfoInvoker 查询主机动态网页防篡改防护动态

func (*HssClient) ListHostStatus

func (c *HssClient) ListHostStatus(request *model.ListHostStatusRequest) (*model.ListHostStatusResponse, error)

ListHostStatus 查询云服务器列表

查询云服务器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListHostStatusInvoker

func (c *HssClient) ListHostStatusInvoker(request *model.ListHostStatusRequest) *ListHostStatusInvoker

ListHostStatusInvoker 查询云服务器列表

func (*HssClient) ListHostVuls added in v0.1.47

func (c *HssClient) ListHostVuls(request *model.ListHostVulsRequest) (*model.ListHostVulsResponse, error)

ListHostVuls 查询单台服务器漏洞信息

查询单台服务器漏洞信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListHostVulsInvoker added in v0.1.47

func (c *HssClient) ListHostVulsInvoker(request *model.ListHostVulsRequest) *ListHostVulsInvoker

ListHostVulsInvoker 查询单台服务器漏洞信息

func (*HssClient) ListJarPackageHostInfo added in v0.1.47

ListJarPackageHostInfo 资产管理-资产指纹-Jar包的服务器列表

资产管理-资产指纹-Jar包的服务器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListJarPackageHostInfoInvoker added in v0.1.47

func (c *HssClient) ListJarPackageHostInfoInvoker(request *model.ListJarPackageHostInfoRequest) *ListJarPackageHostInfoInvoker

ListJarPackageHostInfoInvoker 资产管理-资产指纹-Jar包的服务器列表

func (*HssClient) ListJarPackageStatistics added in v0.1.47

ListJarPackageStatistics 查询中间件列表

查询中间件列表,支持通过中间件名称查询对应的服务器树

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListJarPackageStatisticsInvoker added in v0.1.47

func (c *HssClient) ListJarPackageStatisticsInvoker(request *model.ListJarPackageStatisticsRequest) *ListJarPackageStatisticsInvoker

ListJarPackageStatisticsInvoker 查询中间件列表

func (*HssClient) ListPasswordComplexity

ListPasswordComplexity 查询口令复杂度策略检测报告

查询口令复杂度策略检测报告

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListPasswordComplexityInvoker

func (c *HssClient) ListPasswordComplexityInvoker(request *model.ListPasswordComplexityRequest) *ListPasswordComplexityInvoker

ListPasswordComplexityInvoker 查询口令复杂度策略检测报告

func (*HssClient) ListPolicyGroup added in v0.1.16

func (c *HssClient) ListPolicyGroup(request *model.ListPolicyGroupRequest) (*model.ListPolicyGroupResponse, error)

ListPolicyGroup 查询策略组列表

查询策略组列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListPolicyGroupInvoker added in v0.1.16

func (c *HssClient) ListPolicyGroupInvoker(request *model.ListPolicyGroupRequest) *ListPolicyGroupInvoker

ListPolicyGroupInvoker 查询策略组列表

func (*HssClient) ListPortStatistics added in v0.1.16

func (c *HssClient) ListPortStatistics(request *model.ListPortStatisticsRequest) (*model.ListPortStatisticsResponse, error)

ListPortStatistics 查询开放端口列表

查询开放端口列表,支持通过传入端口或协议类型查询服务器数

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListPortStatisticsInvoker added in v0.1.16

func (c *HssClient) ListPortStatisticsInvoker(request *model.ListPortStatisticsRequest) *ListPortStatisticsInvoker

ListPortStatisticsInvoker 查询开放端口列表

func (*HssClient) ListPorts added in v0.1.16

func (c *HssClient) ListPorts(request *model.ListPortsRequest) (*model.ListPortsResponse, error)

ListPorts 查询开放端口的服务器列表

查询开放端口的服务器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListPortsInvoker added in v0.1.16

func (c *HssClient) ListPortsInvoker(request *model.ListPortsRequest) *ListPortsInvoker

ListPortsInvoker 查询开放端口的服务器列表

func (*HssClient) ListProcessStatistics added in v0.1.16

ListProcessStatistics 查询进程列表

查询进程列表,通过传入进程路径参数查询对应的服务器数

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListProcessStatisticsInvoker added in v0.1.16

func (c *HssClient) ListProcessStatisticsInvoker(request *model.ListProcessStatisticsRequest) *ListProcessStatisticsInvoker

ListProcessStatisticsInvoker 查询进程列表

func (*HssClient) ListProtectionPolicy added in v0.1.16

ListProtectionPolicy 查询防护策略列表

查询防护策略列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListProtectionPolicyInvoker added in v0.1.16

func (c *HssClient) ListProtectionPolicyInvoker(request *model.ListProtectionPolicyRequest) *ListProtectionPolicyInvoker

ListProtectionPolicyInvoker 查询防护策略列表

func (*HssClient) ListProtectionServer added in v0.1.16

ListProtectionServer 查询勒索防护服务器列表

查询勒索防护服务器列表,与云备份服务配合使用。因此使用勒索相关接口之前确保该局点有云备份服务

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListProtectionServerInvoker added in v0.1.16

func (c *HssClient) ListProtectionServerInvoker(request *model.ListProtectionServerRequest) *ListProtectionServerInvoker

ListProtectionServerInvoker 查询勒索防护服务器列表

func (*HssClient) ListQuotasDetail added in v0.1.6

func (c *HssClient) ListQuotasDetail(request *model.ListQuotasDetailRequest) (*model.ListQuotasDetailResponse, error)

ListQuotasDetail 查询配额详情

查询配额详情

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListQuotasDetailInvoker added in v0.1.6

func (c *HssClient) ListQuotasDetailInvoker(request *model.ListQuotasDetailRequest) *ListQuotasDetailInvoker

ListQuotasDetailInvoker 查询配额详情

func (*HssClient) ListRiskConfigCheckRules

ListRiskConfigCheckRules 查询指定安全配置项的检查项列表

查询指定安全配置项的检查项列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListRiskConfigCheckRulesInvoker

func (c *HssClient) ListRiskConfigCheckRulesInvoker(request *model.ListRiskConfigCheckRulesRequest) *ListRiskConfigCheckRulesInvoker

ListRiskConfigCheckRulesInvoker 查询指定安全配置项的检查项列表

func (*HssClient) ListRiskConfigHosts

ListRiskConfigHosts 查询指定安全配置项的受影响服务器列表

查询指定安全配置项的受影响服务器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListRiskConfigHostsInvoker

func (c *HssClient) ListRiskConfigHostsInvoker(request *model.ListRiskConfigHostsRequest) *ListRiskConfigHostsInvoker

ListRiskConfigHostsInvoker 查询指定安全配置项的受影响服务器列表

func (*HssClient) ListRiskConfigs

func (c *HssClient) ListRiskConfigs(request *model.ListRiskConfigsRequest) (*model.ListRiskConfigsResponse, error)

ListRiskConfigs 查询租户的服务器安全配置检测结果列表

查询租户的服务器安全配置检测结果列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListRiskConfigsInvoker

func (c *HssClient) ListRiskConfigsInvoker(request *model.ListRiskConfigsRequest) *ListRiskConfigsInvoker

ListRiskConfigsInvoker 查询租户的服务器安全配置检测结果列表

func (*HssClient) ListSecurityEvents

func (c *HssClient) ListSecurityEvents(request *model.ListSecurityEventsRequest) (*model.ListSecurityEventsResponse, error)

ListSecurityEvents 查入侵事件列表

查入侵事件列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListSecurityEventsInvoker

func (c *HssClient) ListSecurityEventsInvoker(request *model.ListSecurityEventsRequest) *ListSecurityEventsInvoker

ListSecurityEventsInvoker 查入侵事件列表

func (*HssClient) ListUserChangeHistories added in v0.1.6

ListUserChangeHistories 获取账户变动历史信息

获取账户变动历史记录信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListUserChangeHistoriesInvoker added in v0.1.6

func (c *HssClient) ListUserChangeHistoriesInvoker(request *model.ListUserChangeHistoriesRequest) *ListUserChangeHistoriesInvoker

ListUserChangeHistoriesInvoker 获取账户变动历史信息

func (*HssClient) ListUserStatistics added in v0.1.16

func (c *HssClient) ListUserStatistics(request *model.ListUserStatisticsRequest) (*model.ListUserStatisticsResponse, error)

ListUserStatistics 查询账号信息列表

查询账号信息列表,支持通过传入账号名称参数查询对应的服务器数

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListUserStatisticsInvoker added in v0.1.16

func (c *HssClient) ListUserStatisticsInvoker(request *model.ListUserStatisticsRequest) *ListUserStatisticsInvoker

ListUserStatisticsInvoker 查询账号信息列表

func (*HssClient) ListUsers added in v0.1.6

func (c *HssClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)

ListUsers 查询账号的服务器列表

查询账号的服务器列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListUsersInvoker added in v0.1.6

func (c *HssClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker

ListUsersInvoker 查询账号的服务器列表

func (*HssClient) ListVulHosts added in v0.1.16

func (c *HssClient) ListVulHosts(request *model.ListVulHostsRequest) (*model.ListVulHostsResponse, error)

ListVulHosts 查询单个漏洞影响的云服务器信息

查询单个漏洞影响的云服务器信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListVulHostsInvoker added in v0.1.16

func (c *HssClient) ListVulHostsInvoker(request *model.ListVulHostsRequest) *ListVulHostsInvoker

ListVulHostsInvoker 查询单个漏洞影响的云服务器信息

func (*HssClient) ListVulnerabilities

ListVulnerabilities 查询漏洞列表

查询漏洞列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListVulnerabilitiesInvoker

func (c *HssClient) ListVulnerabilitiesInvoker(request *model.ListVulnerabilitiesRequest) *ListVulnerabilitiesInvoker

ListVulnerabilitiesInvoker 查询漏洞列表

func (*HssClient) ListWeakPasswordUsers

ListWeakPasswordUsers 查询弱口令检测结果列表

查询弱口令检测结果列表

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListWeakPasswordUsersInvoker

func (c *HssClient) ListWeakPasswordUsersInvoker(request *model.ListWeakPasswordUsersRequest) *ListWeakPasswordUsersInvoker

ListWeakPasswordUsersInvoker 查询弱口令检测结果列表

func (*HssClient) ListWtpProtectHost added in v0.1.16

func (c *HssClient) ListWtpProtectHost(request *model.ListWtpProtectHostRequest) (*model.ListWtpProtectHostResponse, error)

ListWtpProtectHost 查询防护列表

查询防护列表:查询网页防篡改主机防护状态列表信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ListWtpProtectHostInvoker added in v0.1.16

func (c *HssClient) ListWtpProtectHostInvoker(request *model.ListWtpProtectHostRequest) *ListWtpProtectHostInvoker

ListWtpProtectHostInvoker 查询防护列表

func (*HssClient) SetRaspSwitch added in v0.1.16

func (c *HssClient) SetRaspSwitch(request *model.SetRaspSwitchRequest) (*model.SetRaspSwitchResponse, error)

SetRaspSwitch 开启/关闭动态网页防篡改防护

开启/关闭动态网页防篡改防护,下发/清空动态网页防篡改策略

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) SetRaspSwitchInvoker added in v0.1.16

func (c *HssClient) SetRaspSwitchInvoker(request *model.SetRaspSwitchRequest) *SetRaspSwitchInvoker

SetRaspSwitchInvoker 开启/关闭动态网页防篡改防护

func (*HssClient) SetWtpProtectionStatusInfo added in v0.1.16

SetWtpProtectionStatusInfo 开启关闭网页防篡改防护

开启/关闭网页防篡改功能防护,下发/清空网页防篡改策略

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) SetWtpProtectionStatusInfoInvoker added in v0.1.16

func (c *HssClient) SetWtpProtectionStatusInfoInvoker(request *model.SetWtpProtectionStatusInfoRequest) *SetWtpProtectionStatusInfoInvoker

SetWtpProtectionStatusInfoInvoker 开启关闭网页防篡改防护

func (*HssClient) ShowAssetStatistic added in v0.1.16

func (c *HssClient) ShowAssetStatistic(request *model.ShowAssetStatisticRequest) (*model.ShowAssetStatisticResponse, error)

ShowAssetStatistic 统计资产信息,账号、端口、进程等

资产统计信息,账号、端口、进程等

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ShowAssetStatisticInvoker added in v0.1.16

func (c *HssClient) ShowAssetStatisticInvoker(request *model.ShowAssetStatisticRequest) *ShowAssetStatisticInvoker

ShowAssetStatisticInvoker 统计资产信息,账号、端口、进程等

func (*HssClient) ShowBackupPolicyInfo added in v0.1.16

ShowBackupPolicyInfo 查询HSS存储库绑定的备份策略信息

查询HSS存储库绑定的备份策略信息,确保已经购买了勒索防护存储库,可以从cbr云备份服务进行验证,确保已经存在HSS_projectid命名的存储库已经购买

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ShowBackupPolicyInfoInvoker added in v0.1.16

func (c *HssClient) ShowBackupPolicyInfoInvoker(request *model.ShowBackupPolicyInfoRequest) *ShowBackupPolicyInfoInvoker

ShowBackupPolicyInfoInvoker 查询HSS存储库绑定的备份策略信息

func (*HssClient) ShowCheckRuleDetail

ShowCheckRuleDetail 查询配置检查项检测报告

查询配置检查项检测报告

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ShowCheckRuleDetailInvoker

func (c *HssClient) ShowCheckRuleDetailInvoker(request *model.ShowCheckRuleDetailRequest) *ShowCheckRuleDetailInvoker

ShowCheckRuleDetailInvoker 查询配置检查项检测报告

func (*HssClient) ShowResourceQuotas added in v0.1.6

func (c *HssClient) ShowResourceQuotas(request *model.ShowResourceQuotasRequest) (*model.ShowResourceQuotasResponse, error)

ShowResourceQuotas 查询配额信息

查询配额信息

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ShowResourceQuotasInvoker added in v0.1.6

func (c *HssClient) ShowResourceQuotasInvoker(request *model.ShowResourceQuotasRequest) *ShowResourceQuotasInvoker

ShowResourceQuotasInvoker 查询配额信息

func (*HssClient) ShowRiskConfigDetail

ShowRiskConfigDetail 查询指定安全配置项的检查结果

查询指定安全配置项的检查结果

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) ShowRiskConfigDetailInvoker

func (c *HssClient) ShowRiskConfigDetailInvoker(request *model.ShowRiskConfigDetailRequest) *ShowRiskConfigDetailInvoker

ShowRiskConfigDetailInvoker 查询指定安全配置项的检查结果

func (*HssClient) StartProtection added in v0.1.16

func (c *HssClient) StartProtection(request *model.StartProtectionRequest) (*model.StartProtectionResponse, error)

StartProtection 开启勒索病毒防护

开启勒索病毒防护,请保证该region有cbr云备份服务,勒索服务与云备份服务有关联关系

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) StartProtectionInvoker added in v0.1.16

func (c *HssClient) StartProtectionInvoker(request *model.StartProtectionRequest) *StartProtectionInvoker

StartProtectionInvoker 开启勒索病毒防护

func (*HssClient) StopProtection added in v0.1.16

func (c *HssClient) StopProtection(request *model.StopProtectionRequest) (*model.StopProtectionResponse, error)

StopProtection 关闭勒索病毒防护

关闭勒索病毒防护

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) StopProtectionInvoker added in v0.1.16

func (c *HssClient) StopProtectionInvoker(request *model.StopProtectionRequest) *StopProtectionInvoker

StopProtectionInvoker 关闭勒索病毒防护

func (*HssClient) SwitchHostsProtectStatus added in v0.1.6

SwitchHostsProtectStatus 切换防护状态

切换防护状态

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) SwitchHostsProtectStatusInvoker added in v0.1.6

func (c *HssClient) SwitchHostsProtectStatusInvoker(request *model.SwitchHostsProtectStatusRequest) *SwitchHostsProtectStatusInvoker

SwitchHostsProtectStatusInvoker 切换防护状态

func (*HssClient) UpdateBackupPolicyInfo added in v0.1.16

UpdateBackupPolicyInfo 修改存储库绑定的备份策略

修改存储库绑定的备份策略

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) UpdateBackupPolicyInfoInvoker added in v0.1.16

func (c *HssClient) UpdateBackupPolicyInfoInvoker(request *model.UpdateBackupPolicyInfoRequest) *UpdateBackupPolicyInfoInvoker

UpdateBackupPolicyInfoInvoker 修改存储库绑定的备份策略

func (*HssClient) UpdateProtectionPolicy added in v0.1.16

UpdateProtectionPolicy 修改防护策略

修改防护策略

Please refer to HUAWEI cloud API Explorer for details.

func (*HssClient) UpdateProtectionPolicyInvoker added in v0.1.16

func (c *HssClient) UpdateProtectionPolicyInvoker(request *model.UpdateProtectionPolicyRequest) *UpdateProtectionPolicyInvoker

UpdateProtectionPolicyInvoker 修改防护策略

type ListAlarmWhiteListInvoker added in v0.1.16

type ListAlarmWhiteListInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmWhiteListInvoker) Invoke added in v0.1.16

type ListAppChangeHistoriesInvoker added in v0.1.16

type ListAppChangeHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAppChangeHistoriesInvoker) Invoke added in v0.1.16

type ListAppStatisticsInvoker added in v0.1.16

type ListAppStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAppStatisticsInvoker) Invoke added in v0.1.16

type ListAppsInvoker added in v0.1.16

type ListAppsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAppsInvoker) Invoke added in v0.1.16

func (i *ListAppsInvoker) Invoke() (*model.ListAppsResponse, error)

type ListAutoLaunchChangeHistoriesInvoker added in v0.1.16

type ListAutoLaunchChangeHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAutoLaunchChangeHistoriesInvoker) Invoke added in v0.1.16

type ListAutoLaunchStatisticsInvoker added in v0.1.16

type ListAutoLaunchStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAutoLaunchStatisticsInvoker) Invoke added in v0.1.16

type ListAutoLaunchsInvoker added in v0.1.16

type ListAutoLaunchsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAutoLaunchsInvoker) Invoke added in v0.1.16

type ListHostGroupsInvoker added in v0.1.16

type ListHostGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostGroupsInvoker) Invoke added in v0.1.16

type ListHostProtectHistoryInfoInvoker added in v0.1.16

type ListHostProtectHistoryInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostProtectHistoryInfoInvoker) Invoke added in v0.1.16

type ListHostRaspProtectHistoryInfoInvoker added in v0.1.16

type ListHostRaspProtectHistoryInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostRaspProtectHistoryInfoInvoker) Invoke added in v0.1.16

type ListHostStatusInvoker

type ListHostStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostStatusInvoker) Invoke

type ListHostVulsInvoker added in v0.1.47

type ListHostVulsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostVulsInvoker) Invoke added in v0.1.47

type ListJarPackageHostInfoInvoker added in v0.1.47

type ListJarPackageHostInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ListJarPackageHostInfoInvoker) Invoke added in v0.1.47

type ListJarPackageStatisticsInvoker added in v0.1.47

type ListJarPackageStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListJarPackageStatisticsInvoker) Invoke added in v0.1.47

type ListPasswordComplexityInvoker

type ListPasswordComplexityInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPasswordComplexityInvoker) Invoke

type ListPolicyGroupInvoker added in v0.1.16

type ListPolicyGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPolicyGroupInvoker) Invoke added in v0.1.16

type ListPortStatisticsInvoker added in v0.1.16

type ListPortStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPortStatisticsInvoker) Invoke added in v0.1.16

type ListPortsInvoker added in v0.1.16

type ListPortsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPortsInvoker) Invoke added in v0.1.16

type ListProcessStatisticsInvoker added in v0.1.16

type ListProcessStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProcessStatisticsInvoker) Invoke added in v0.1.16

type ListProtectionPolicyInvoker added in v0.1.16

type ListProtectionPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectionPolicyInvoker) Invoke added in v0.1.16

type ListProtectionServerInvoker added in v0.1.16

type ListProtectionServerInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectionServerInvoker) Invoke added in v0.1.16

type ListQuotasDetailInvoker added in v0.1.6

type ListQuotasDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotasDetailInvoker) Invoke added in v0.1.6

type ListRiskConfigCheckRulesInvoker

type ListRiskConfigCheckRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRiskConfigCheckRulesInvoker) Invoke

type ListRiskConfigHostsInvoker

type ListRiskConfigHostsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRiskConfigHostsInvoker) Invoke

type ListRiskConfigsInvoker

type ListRiskConfigsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRiskConfigsInvoker) Invoke

type ListSecurityEventsInvoker

type ListSecurityEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSecurityEventsInvoker) Invoke

type ListUserChangeHistoriesInvoker added in v0.1.6

type ListUserChangeHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUserChangeHistoriesInvoker) Invoke added in v0.1.6

type ListUserStatisticsInvoker added in v0.1.16

type ListUserStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUserStatisticsInvoker) Invoke added in v0.1.16

type ListUsersInvoker added in v0.1.6

type ListUsersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUsersInvoker) Invoke added in v0.1.6

type ListVulHostsInvoker added in v0.1.16

type ListVulHostsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVulHostsInvoker) Invoke added in v0.1.16

type ListVulnerabilitiesInvoker

type ListVulnerabilitiesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVulnerabilitiesInvoker) Invoke

type ListWeakPasswordUsersInvoker

type ListWeakPasswordUsersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWeakPasswordUsersInvoker) Invoke

type ListWtpProtectHostInvoker added in v0.1.16

type ListWtpProtectHostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWtpProtectHostInvoker) Invoke added in v0.1.16

type SetRaspSwitchInvoker added in v0.1.16

type SetRaspSwitchInvoker struct {
	*invoker.BaseInvoker
}

func (*SetRaspSwitchInvoker) Invoke added in v0.1.16

type SetWtpProtectionStatusInfoInvoker added in v0.1.16

type SetWtpProtectionStatusInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*SetWtpProtectionStatusInfoInvoker) Invoke added in v0.1.16

type ShowAssetStatisticInvoker added in v0.1.16

type ShowAssetStatisticInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAssetStatisticInvoker) Invoke added in v0.1.16

type ShowBackupPolicyInfoInvoker added in v0.1.16

type ShowBackupPolicyInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBackupPolicyInfoInvoker) Invoke added in v0.1.16

type ShowCheckRuleDetailInvoker

type ShowCheckRuleDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCheckRuleDetailInvoker) Invoke

type ShowResourceQuotasInvoker added in v0.1.6

type ShowResourceQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceQuotasInvoker) Invoke added in v0.1.6

type ShowRiskConfigDetailInvoker

type ShowRiskConfigDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRiskConfigDetailInvoker) Invoke

type StartProtectionInvoker added in v0.1.16

type StartProtectionInvoker struct {
	*invoker.BaseInvoker
}

func (*StartProtectionInvoker) Invoke added in v0.1.16

type StopProtectionInvoker added in v0.1.16

type StopProtectionInvoker struct {
	*invoker.BaseInvoker
}

func (*StopProtectionInvoker) Invoke added in v0.1.16

type SwitchHostsProtectStatusInvoker added in v0.1.6

type SwitchHostsProtectStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*SwitchHostsProtectStatusInvoker) Invoke added in v0.1.6

type UpdateBackupPolicyInfoInvoker added in v0.1.16

type UpdateBackupPolicyInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBackupPolicyInfoInvoker) Invoke added in v0.1.16

type UpdateProtectionPolicyInvoker added in v0.1.16

type UpdateProtectionPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateProtectionPolicyInvoker) Invoke added in v0.1.16

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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