v1

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForApplyCertificateToHost

func GenReqDefForApplyCertificateToHost() *def.HttpRequestDef

func GenReqDefForCreateAntiTamperRule

func GenReqDefForCreateAntiTamperRule() *def.HttpRequestDef

func GenReqDefForCreateCertificate

func GenReqDefForCreateCertificate() *def.HttpRequestDef

func GenReqDefForCreateGeoipRule

func GenReqDefForCreateGeoipRule() *def.HttpRequestDef

func GenReqDefForCreateHost

func GenReqDefForCreateHost() *def.HttpRequestDef

func GenReqDefForCreatePolicy

func GenReqDefForCreatePolicy() *def.HttpRequestDef

func GenReqDefForCreatePremiumHost

func GenReqDefForCreatePremiumHost() *def.HttpRequestDef

func GenReqDefForCreatePrivacyRule

func GenReqDefForCreatePrivacyRule() *def.HttpRequestDef

func GenReqDefForCreateValueList

func GenReqDefForCreateValueList() *def.HttpRequestDef

func GenReqDefForCreateWhiteblackipRule

func GenReqDefForCreateWhiteblackipRule() *def.HttpRequestDef

func GenReqDefForDeleteAntitamperRule

func GenReqDefForDeleteAntitamperRule() *def.HttpRequestDef

func GenReqDefForDeleteCertificate

func GenReqDefForDeleteCertificate() *def.HttpRequestDef

func GenReqDefForDeleteGeoipRule

func GenReqDefForDeleteGeoipRule() *def.HttpRequestDef

func GenReqDefForDeleteHost

func GenReqDefForDeleteHost() *def.HttpRequestDef

func GenReqDefForDeletePolicy

func GenReqDefForDeletePolicy() *def.HttpRequestDef

func GenReqDefForDeletePremiumHost

func GenReqDefForDeletePremiumHost() *def.HttpRequestDef

func GenReqDefForDeletePrivacyRule

func GenReqDefForDeletePrivacyRule() *def.HttpRequestDef

func GenReqDefForDeleteValueList

func GenReqDefForDeleteValueList() *def.HttpRequestDef

func GenReqDefForDeleteWhiteBlackIpRule

func GenReqDefForDeleteWhiteBlackIpRule() *def.HttpRequestDef

func GenReqDefForListAntitamperRule

func GenReqDefForListAntitamperRule() *def.HttpRequestDef

func GenReqDefForListBandwidthTimeline added in v0.0.63

func GenReqDefForListBandwidthTimeline() *def.HttpRequestDef

func GenReqDefForListCertificates

func GenReqDefForListCertificates() *def.HttpRequestDef

func GenReqDefForListCompositeHosts

func GenReqDefForListCompositeHosts() *def.HttpRequestDef

func GenReqDefForListEvent

func GenReqDefForListEvent() *def.HttpRequestDef

func GenReqDefForListGeoipRule

func GenReqDefForListGeoipRule() *def.HttpRequestDef

func GenReqDefForListHost

func GenReqDefForListHost() *def.HttpRequestDef

func GenReqDefForListHostRoute

func GenReqDefForListHostRoute() *def.HttpRequestDef

func GenReqDefForListIgnoreRule added in v0.0.63

func GenReqDefForListIgnoreRule() *def.HttpRequestDef

func GenReqDefForListPolicy

func GenReqDefForListPolicy() *def.HttpRequestDef

func GenReqDefForListPremiumHost

func GenReqDefForListPremiumHost() *def.HttpRequestDef

func GenReqDefForListPrivacyRule

func GenReqDefForListPrivacyRule() *def.HttpRequestDef

func GenReqDefForListQpsTimeline added in v0.0.63

func GenReqDefForListQpsTimeline() *def.HttpRequestDef

func GenReqDefForListResponseCodeTimeline added in v0.0.63

func GenReqDefForListResponseCodeTimeline() *def.HttpRequestDef

func GenReqDefForListStatistics added in v0.0.63

func GenReqDefForListStatistics() *def.HttpRequestDef

func GenReqDefForListTopAbnormal added in v0.0.63

func GenReqDefForListTopAbnormal() *def.HttpRequestDef

func GenReqDefForListValueList

func GenReqDefForListValueList() *def.HttpRequestDef

func GenReqDefForListWhiteblackipRule

func GenReqDefForListWhiteblackipRule() *def.HttpRequestDef

func GenReqDefForShowCertificate

func GenReqDefForShowCertificate() *def.HttpRequestDef

func GenReqDefForShowCompositeHost

func GenReqDefForShowCompositeHost() *def.HttpRequestDef

func GenReqDefForShowConsoleConfig added in v0.0.63

func GenReqDefForShowConsoleConfig() *def.HttpRequestDef

func GenReqDefForShowEvent

func GenReqDefForShowEvent() *def.HttpRequestDef

func GenReqDefForShowHost

func GenReqDefForShowHost() *def.HttpRequestDef

func GenReqDefForShowPolicy

func GenReqDefForShowPolicy() *def.HttpRequestDef

func GenReqDefForShowPremiumHost

func GenReqDefForShowPremiumHost() *def.HttpRequestDef

func GenReqDefForUpdateCertificate

func GenReqDefForUpdateCertificate() *def.HttpRequestDef

func GenReqDefForUpdateGeoipRule

func GenReqDefForUpdateGeoipRule() *def.HttpRequestDef

func GenReqDefForUpdateHost

func GenReqDefForUpdateHost() *def.HttpRequestDef

func GenReqDefForUpdateHostProtectStatus

func GenReqDefForUpdateHostProtectStatus() *def.HttpRequestDef

func GenReqDefForUpdatePolicy

func GenReqDefForUpdatePolicy() *def.HttpRequestDef

func GenReqDefForUpdatePolicyProtectHost

func GenReqDefForUpdatePolicyProtectHost() *def.HttpRequestDef

func GenReqDefForUpdatePolicyRuleStatus

func GenReqDefForUpdatePolicyRuleStatus() *def.HttpRequestDef

func GenReqDefForUpdatePremiumHost

func GenReqDefForUpdatePremiumHost() *def.HttpRequestDef

func GenReqDefForUpdatePremiumHostProtectStatus

func GenReqDefForUpdatePremiumHostProtectStatus() *def.HttpRequestDef

func GenReqDefForUpdatePrivacyRule

func GenReqDefForUpdatePrivacyRule() *def.HttpRequestDef

func GenReqDefForUpdateValueList

func GenReqDefForUpdateValueList() *def.HttpRequestDef

func GenReqDefForUpdateWhiteblackipRule

func GenReqDefForUpdateWhiteblackipRule() *def.HttpRequestDef

func WafClientBuilder

func WafClientBuilder() *http_client.HcHttpClientBuilder

Types

type WafClient

type WafClient struct {
	HcClient *http_client.HcHttpClient
}

func NewWafClient

func NewWafClient(hcClient *http_client.HcHttpClient) *WafClient

func (*WafClient) ApplyCertificateToHost

绑定证书到域名

func (*WafClient) CreateAntiTamperRule

创建防篡改规则

func (*WafClient) CreateCertificate

func (c *WafClient) CreateCertificate(request *model.CreateCertificateRequest) (*model.CreateCertificateResponse, error)

创建证书

func (*WafClient) CreateGeoipRule

func (c *WafClient) CreateGeoipRule(request *model.CreateGeoipRuleRequest) (*model.CreateGeoipRuleResponse, error)

创建地理位置规则

func (*WafClient) CreateHost

func (c *WafClient) CreateHost(request *model.CreateHostRequest) (*model.CreateHostResponse, error)

创建云模式防护域名

func (*WafClient) CreatePolicy

func (c *WafClient) CreatePolicy(request *model.CreatePolicyRequest) (*model.CreatePolicyResponse, error)

创建防护策略

func (*WafClient) CreatePremiumHost

func (c *WafClient) CreatePremiumHost(request *model.CreatePremiumHostRequest) (*model.CreatePremiumHostResponse, error)

创建独享模式域名

func (*WafClient) CreatePrivacyRule

func (c *WafClient) CreatePrivacyRule(request *model.CreatePrivacyRuleRequest) (*model.CreatePrivacyRuleResponse, error)

创建隐私屏蔽防护规则

func (*WafClient) CreateValueList

func (c *WafClient) CreateValueList(request *model.CreateValueListRequest) (*model.CreateValueListResponse, error)

创建引用表

func (*WafClient) CreateWhiteblackipRule

创建黑白名单规则

func (*WafClient) DeleteAntitamperRule

删除防篡改防护规则

func (*WafClient) DeleteCertificate

func (c *WafClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)

删除证书

func (*WafClient) DeleteGeoipRule

func (c *WafClient) DeleteGeoipRule(request *model.DeleteGeoipRuleRequest) (*model.DeleteGeoipRuleResponse, error)

删除地理位置防护规则

func (*WafClient) DeleteHost

func (c *WafClient) DeleteHost(request *model.DeleteHostRequest) (*model.DeleteHostResponse, error)

删除云模式防护域名

func (*WafClient) DeletePolicy

func (c *WafClient) DeletePolicy(request *model.DeletePolicyRequest) (*model.DeletePolicyResponse, error)

删除防护策略

func (*WafClient) DeletePremiumHost

func (c *WafClient) DeletePremiumHost(request *model.DeletePremiumHostRequest) (*model.DeletePremiumHostResponse, error)

删除独享模式域名

func (*WafClient) DeletePrivacyRule

func (c *WafClient) DeletePrivacyRule(request *model.DeletePrivacyRuleRequest) (*model.DeletePrivacyRuleResponse, error)

删除隐私屏蔽防护规则

func (*WafClient) DeleteValueList

func (c *WafClient) DeleteValueList(request *model.DeleteValueListRequest) (*model.DeleteValueListResponse, error)

删除引用表

func (*WafClient) DeleteWhiteBlackIpRule

删除黑白名单防护规则

func (*WafClient) ListAntitamperRule

func (c *WafClient) ListAntitamperRule(request *model.ListAntitamperRuleRequest) (*model.ListAntitamperRuleResponse, error)

查询防篡改规则列表

func (*WafClient) ListBandwidthTimeline added in v0.0.63

查询安全统计带宽数据

func (*WafClient) ListCertificates

func (c *WafClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)

查询证书列表

func (*WafClient) ListCompositeHosts

func (c *WafClient) ListCompositeHosts(request *model.ListCompositeHostsRequest) (*model.ListCompositeHostsResponse, error)

查询全部防护域名列表

func (*WafClient) ListEvent

func (c *WafClient) ListEvent(request *model.ListEventRequest) (*model.ListEventResponse, error)

查询攻击事件列表

func (*WafClient) ListGeoipRule

func (c *WafClient) ListGeoipRule(request *model.ListGeoipRuleRequest) (*model.ListGeoipRuleResponse, error)

查询地理位置规则列表

func (*WafClient) ListHost

func (c *WafClient) ListHost(request *model.ListHostRequest) (*model.ListHostResponse, error)

查询云模式防护域名列表

func (*WafClient) ListHostRoute

func (c *WafClient) ListHostRoute(request *model.ListHostRouteRequest) (*model.ListHostRouteResponse, error)

返回路由信息

func (*WafClient) ListIgnoreRule added in v0.0.63

func (c *WafClient) ListIgnoreRule(request *model.ListIgnoreRuleRequest) (*model.ListIgnoreRuleResponse, error)

查询误报屏蔽规则列表

func (*WafClient) ListPolicy

func (c *WafClient) ListPolicy(request *model.ListPolicyRequest) (*model.ListPolicyResponse, error)

查询防护策略列表

func (*WafClient) ListPremiumHost

func (c *WafClient) ListPremiumHost(request *model.ListPremiumHostRequest) (*model.ListPremiumHostResponse, error)

独享模式域名列表

func (*WafClient) ListPrivacyRule

func (c *WafClient) ListPrivacyRule(request *model.ListPrivacyRuleRequest) (*model.ListPrivacyRuleResponse, error)

查询隐私屏蔽防护规则

func (*WafClient) ListQpsTimeline added in v0.0.63

func (c *WafClient) ListQpsTimeline(request *model.ListQpsTimelineRequest) (*model.ListQpsTimelineResponse, error)

查询安全统计qps次数

func (*WafClient) ListResponseCodeTimeline added in v0.0.63

查询安全统计响应码数据

func (*WafClient) ListStatistics added in v0.0.63

func (c *WafClient) ListStatistics(request *model.ListStatisticsRequest) (*model.ListStatisticsResponse, error)

查询安全总览请求数据

func (*WafClient) ListTopAbnormal added in v0.0.63

func (c *WafClient) ListTopAbnormal(request *model.ListTopAbnormalRequest) (*model.ListTopAbnormalResponse, error)

查询业务异常数量

func (*WafClient) ListValueList

func (c *WafClient) ListValueList(request *model.ListValueListRequest) (*model.ListValueListResponse, error)

查询引用表列表

func (*WafClient) ListWhiteblackipRule

查询黑白名单规则列表

func (*WafClient) ShowCertificate

func (c *WafClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)

查询证书

func (*WafClient) ShowCompositeHost

func (c *WafClient) ShowCompositeHost(request *model.ShowCompositeHostRequest) (*model.ShowCompositeHostResponse, error)

根据Id查询防护域名

func (*WafClient) ShowConsoleConfig added in v0.0.63

func (c *WafClient) ShowConsoleConfig(request *model.ShowConsoleConfigRequest) (*model.ShowConsoleConfigResponse, error)

局点支持特性查询

func (*WafClient) ShowEvent

func (c *WafClient) ShowEvent(request *model.ShowEventRequest) (*model.ShowEventResponse, error)

查询攻击事件详情

func (*WafClient) ShowHost

func (c *WafClient) ShowHost(request *model.ShowHostRequest) (*model.ShowHostResponse, error)

根据Id查询云模式防护域名

func (*WafClient) ShowPolicy

func (c *WafClient) ShowPolicy(request *model.ShowPolicyRequest) (*model.ShowPolicyResponse, error)

根据Id查询防护策略

func (*WafClient) ShowPremiumHost

func (c *WafClient) ShowPremiumHost(request *model.ShowPremiumHostRequest) (*model.ShowPremiumHostResponse, error)

查看独享模式域名配置

func (*WafClient) UpdateCertificate

func (c *WafClient) UpdateCertificate(request *model.UpdateCertificateRequest) (*model.UpdateCertificateResponse, error)

修改证书

func (*WafClient) UpdateGeoipRule

func (c *WafClient) UpdateGeoipRule(request *model.UpdateGeoipRuleRequest) (*model.UpdateGeoipRuleResponse, error)

更新地理位置防护规则

func (*WafClient) UpdateHost

func (c *WafClient) UpdateHost(request *model.UpdateHostRequest) (*model.UpdateHostResponse, error)

更新云模式防护域名

func (*WafClient) UpdateHostProtectStatus

返回路由信息

func (*WafClient) UpdatePolicy

func (c *WafClient) UpdatePolicy(request *model.UpdatePolicyRequest) (*model.UpdatePolicyResponse, error)

更新防护策略,请求体可只传需要更新的部分

func (*WafClient) UpdatePolicyProtectHost

更新防护策略的防护域名

func (*WafClient) UpdatePolicyRuleStatus

查询敏感信息选项的详细信息。

func (*WafClient) UpdatePremiumHost

func (c *WafClient) UpdatePremiumHost(request *model.UpdatePremiumHostRequest) (*model.UpdatePremiumHostResponse, error)

修改独享模式域名配置

func (*WafClient) UpdatePremiumHostProtectStatus

修改独享模式域名防护状态

func (*WafClient) UpdatePrivacyRule

func (c *WafClient) UpdatePrivacyRule(request *model.UpdatePrivacyRuleRequest) (*model.UpdatePrivacyRuleResponse, error)

更新隐私屏蔽防护规则

func (*WafClient) UpdateValueList

func (c *WafClient) UpdateValueList(request *model.UpdateValueListRequest) (*model.UpdateValueListResponse, error)

修改引用表

func (*WafClient) UpdateWhiteblackipRule

更新黑白名单防护规则

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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