client

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WafClient

type WafClient struct {
	core.JDCloudClient
}

func NewWafClient

func NewWafClient(credential *core.Credential) *WafClient

func (*WafClient) AddDomain

func (c *WafClient) AddDomain(request *waf.AddDomainRequest) (*waf.AddDomainResponse, error)

新增网站

func (*WafClient) AddIps

func (c *WafClient) AddIps(request *waf.AddIpsRequest) (*waf.AddIpsResponse, error)

设置网站黑白名单ip配置

func (*WafClient) AddWebcacheUrl added in v1.62.0

func (c *WafClient) AddWebcacheUrl(request *waf.AddWebcacheUrlRequest) (*waf.AddWebcacheUrlResponse, error)

新增防篡改条目

func (*WafClient) AntiLevelWaf

func (c *WafClient) AntiLevelWaf(request *waf.AntiLevelWafRequest) (*waf.AntiLevelWafResponse, error)

设置waf策略等级

func (*WafClient) AntiModeWaf

func (c *WafClient) AntiModeWaf(request *waf.AntiModeWafRequest) (*waf.AntiModeWafResponse, error)

设置waf防护模式

func (*WafClient) ApiEnable added in v1.65.0

func (c *WafClient) ApiEnable(request *waf.ApiEnableRequest) (*waf.ApiEnableResponse, error)

开启/关闭api安全功能

func (*WafClient) ApiOperateUser added in v1.65.0

func (c *WafClient) ApiOperateUser(request *waf.ApiOperateUserRequest) (*waf.ApiOperateUserResponse, error)

自定义规则批量设置

func (*WafClient) BindCert

func (c *WafClient) BindCert(request *waf.BindCertRequest) (*waf.BindCertResponse, error)

绑定证书

func (*WafClient) CreateInstance

func (c *WafClient) CreateInstance(request *waf.CreateInstanceRequest) (*waf.CreateInstanceResponse, error)

创建waf实例

func (*WafClient) DelIps

func (c *WafClient) DelIps(request *waf.DelIpsRequest) (*waf.DelIpsResponse, error)

删除网站黑白名单ip配置

func (*WafClient) DelWafCondition

func (c *WafClient) DelWafCondition(request *waf.DelWafConditionRequest) (*waf.DelWafConditionResponse, error)

删除网站waf自定义防护条件

func (*WafClient) DelWafRule

func (c *WafClient) DelWafRule(request *waf.DelWafRuleRequest) (*waf.DelWafRuleResponse, error)

删除waf自定义规则

func (*WafClient) DeleteDomain

func (c *WafClient) DeleteDomain(request *waf.DeleteDomainRequest) (*waf.DeleteDomainResponse, error)

删除网站

func (*WafClient) DescribeLbOutIp added in v1.44.0

func (c *WafClient) DescribeLbOutIp(request *waf.DescribeLbOutIpRequest) (*waf.DescribeLbOutIpResponse, error)

获取回源ip段

func (*WafClient) DisableLogger

func (c *WafClient) DisableLogger()

func (*WafClient) DisableRules

func (c *WafClient) DisableRules(request *waf.DisableRulesRequest) (*waf.DisableRulesResponse, error)

规则开关

func (*WafClient) EnableCname2RsExternal added in v1.56.0

func (c *WafClient) EnableCname2RsExternal(request *waf.EnableCname2RsExternalRequest) (*waf.EnableCname2RsExternalResponse, error)

cname解析到回源

func (*WafClient) EnableWaf

func (c *WafClient) EnableWaf(request *waf.EnableWafRequest) (*waf.EnableWafResponse, error)

激活waf

func (*WafClient) EnableWafUserDefine

func (c *WafClient) EnableWafUserDefine(request *waf.EnableWafUserDefineRequest) (*waf.EnableWafUserDefineResponse, error)

激活waf自定义规则

func (*WafClient) GetAntiEvent added in v1.54.0

func (c *WafClient) GetAntiEvent(request *waf.GetAntiEventRequest) (*waf.GetAntiEventResponse, error)

获取网站在一定时间内的报表详情。

func (*WafClient) GetApiEnable added in v1.65.0

func (c *WafClient) GetApiEnable(request *waf.GetApiEnableRequest) (*waf.GetApiEnableResponse, error)

获取api安全功能状态

func (*WafClient) GetApiUserCount added in v1.65.0

func (c *WafClient) GetApiUserCount(request *waf.GetApiUserCountRequest) (*waf.GetApiUserCountResponse, error)

获取api自定义规则数量

func (*WafClient) GetAvailableCertForDomain

func (c *WafClient) GetAvailableCertForDomain(request *waf.GetAvailableCertForDomainRequest) (*waf.GetAvailableCertForDomainResponse, error)

获取域名可用证书列表

func (*WafClient) GetBpsData

func (c *WafClient) GetBpsData(request *waf.GetBpsDataRequest) (*waf.GetBpsDataResponse, error)

获取网站在一定时间内的bps信息。

func (*WafClient) GetDomainAntiConfig

func (c *WafClient) GetDomainAntiConfig(request *waf.GetDomainAntiConfigRequest) (*waf.GetDomainAntiConfigResponse, error)

获取域名防护配置

func (*WafClient) GetDomainLbConfig

func (c *WafClient) GetDomainLbConfig(request *waf.GetDomainLbConfigRequest) (*waf.GetDomainLbConfigResponse, error)

获取网站lb配置

func (*WafClient) GetEsLogDetail added in v1.54.0

func (c *WafClient) GetEsLogDetail(request *waf.GetEsLogDetailRequest) (*waf.GetEsLogDetailResponse, error)

获取网站在一定时间内的日志详情。

func (*WafClient) GetMainAntiInfoNew added in v1.56.0

func (c *WafClient) GetMainAntiInfoNew(request *waf.GetMainAntiInfoNewRequest) (*waf.GetMainAntiInfoNewResponse, error)

获取网站在一定时间内主要的防护信息,新接口,无url响应时间分布。

func (*WafClient) GetQpsData

func (c *WafClient) GetQpsData(request *waf.GetQpsDataRequest) (*waf.GetQpsDataResponse, error)

获取网站在一定时间内的qps信息。

func (*WafClient) GetStatusCodeInfo added in v1.56.0

func (c *WafClient) GetStatusCodeInfo(request *waf.GetStatusCodeInfoRequest) (*waf.GetStatusCodeInfoResponse, error)

获取网站在一定时间内的状态码报表信息。

func (*WafClient) GetWafInstance added in v1.54.0

func (c *WafClient) GetWafInstance(request *waf.GetWafInstanceRequest) (*waf.GetWafInstanceResponse, error)

获取实例ID及相关信息列表

func (*WafClient) ImportIpset added in v1.65.0

func (c *WafClient) ImportIpset(request *waf.ImportIpsetRequest) (*waf.ImportIpsetResponse, error)

导入ip集

func (*WafClient) ListApiDetectUser added in v1.65.0

func (c *WafClient) ListApiDetectUser(request *waf.ListApiDetectUserRequest) (*waf.ListApiDetectUserResponse, error)

获取api识别自定义规则

func (*WafClient) ListApiRiskUser added in v1.65.0

func (c *WafClient) ListApiRiskUser(request *waf.ListApiRiskUserRequest) (*waf.ListApiRiskUserResponse, error)

获取风险识别自定义规则

func (*WafClient) ListApiSenUser added in v1.65.0

func (c *WafClient) ListApiSenUser(request *waf.ListApiSenUserRequest) (*waf.ListApiSenUserResponse, error)

获取敏感数据识别自定义规则

func (*WafClient) ListApiTokenUser added in v1.65.0

func (c *WafClient) ListApiTokenUser(request *waf.ListApiTokenUserRequest) (*waf.ListApiTokenUserResponse, error)

获取登录凭证识别自定义规则

func (*WafClient) ListBotStdRules

func (c *WafClient) ListBotStdRules(request *waf.ListBotStdRulesRequest) (*waf.ListBotStdRulesResponse, error)

获取网站已知类型bot规则

func (*WafClient) ListDomains

func (c *WafClient) ListDomains(request *waf.ListDomainsRequest) (*waf.ListDomainsResponse, error)

获取网站列表

func (*WafClient) ListIps

func (c *WafClient) ListIps(request *waf.ListIpsRequest) (*waf.ListIpsResponse, error)

获取网站黑白名单ip配置

func (*WafClient) ListMainCfg

func (c *WafClient) ListMainCfg(request *waf.ListMainCfgRequest) (*waf.ListMainCfgResponse, error)

获取网站

func (*WafClient) ListWafConditions

func (c *WafClient) ListWafConditions(request *waf.ListWafConditionsRequest) (*waf.ListWafConditionsResponse, error)

获取网站waf自定义防护条件

func (*WafClient) ListWafFilter

func (c *WafClient) ListWafFilter(request *waf.ListWafFilterRequest) (*waf.ListWafFilterResponse, error)

获取网站waf自定义防护过滤器

func (*WafClient) ListWafRules

func (c *WafClient) ListWafRules(request *waf.ListWafRulesRequest) (*waf.ListWafRulesResponse, error)

获取网站的waf自定义规则

func (*WafClient) RefreshUrlCache added in v1.62.0

func (c *WafClient) RefreshUrlCache(request *waf.RefreshUrlCacheRequest) (*waf.RefreshUrlCacheResponse, error)

刷新某条防篡改条目

func (*WafClient) SetApiDetectUser added in v1.65.0

func (c *WafClient) SetApiDetectUser(request *waf.SetApiDetectUserRequest) (*waf.SetApiDetectUserResponse, error)

设置api识别自定义规则

func (*WafClient) SetApiRiskUser added in v1.65.0

func (c *WafClient) SetApiRiskUser(request *waf.SetApiRiskUserRequest) (*waf.SetApiRiskUserResponse, error)

设置风险识别自定义规则

func (*WafClient) SetApiSenUser added in v1.65.0

func (c *WafClient) SetApiSenUser(request *waf.SetApiSenUserRequest) (*waf.SetApiSenUserResponse, error)

设置敏感数据识别自定义规则

func (*WafClient) SetApiTokenUser added in v1.65.0

func (c *WafClient) SetApiTokenUser(request *waf.SetApiTokenUserRequest) (*waf.SetApiTokenUserResponse, error)

设置登录凭证识别自定义规则

func (*WafClient) SetConfig

func (c *WafClient) SetConfig(config *core.Config)

func (*WafClient) SetLogger

func (c *WafClient) SetLogger(logger core.Logger)

func (*WafClient) SetWafCondition

func (c *WafClient) SetWafCondition(request *waf.SetWafConditionRequest) (*waf.SetWafConditionResponse, error)

设置网站waf自定义防护条件

func (*WafClient) SetWafRule

func (c *WafClient) SetWafRule(request *waf.SetWafRuleRequest) (*waf.SetWafRuleResponse, error)

设置waf自定义规则

func (*WafClient) UpdateDomain

func (c *WafClient) UpdateDomain(request *waf.UpdateDomainRequest) (*waf.UpdateDomainResponse, error)

更新网站

func (*WafClient) UpdateIps

func (c *WafClient) UpdateIps(request *waf.UpdateIpsRequest) (*waf.UpdateIpsResponse, error)

更新网站黑白名单ip配置

func (*WafClient) UpgradeInstance added in v1.56.0

func (c *WafClient) UpgradeInstance(request *waf.UpgradeInstanceRequest) (*waf.UpgradeInstanceResponse, error)

升配订单

Jump to

Keyboard shortcuts

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