waf

package
v1.81.63 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CUSTOM_RULE_ACTION_TYPE_1 = "1"
	CUSTOM_RULE_ACTION_TYPE_2 = "2"
	CUSTOM_RULE_ACTION_TYPE_3 = "3"
	CUSTOM_RULE_ACTION_TYPE_4 = "4"
)
View Source
const (
	CUSTOM_RULE_STATUS_0     = "0"
	CUSTOM_RULE_STATUS_1     = "1"
	CUSTOM_RULE_STATUS_0_INT = 0
	CUSTOM_RULE_STATUS_1_INT = 1
)
View Source
const (
	CUSTOM_WHITE_RULE_STATUS_0     = "0"
	CUSTOM_WHITE_RULE_STATUS_1     = "1"
	CUSTOM_WHITE_RULE_STATUS_0_INT = 0
	CUSTOM_WHITE_RULE_STATUS_1_INT = 1
)
View Source
const (
	CLB_DOMAIN_STATUS_0 = 0
	CLB_DOMAIN_STATUS_1 = 1
)
View Source
const (
	CLB_DOMAIN_ENGINE_10 = 10
	CLB_DOMAIN_ENGINE_11 = 11
	CLB_DOMAIN_ENGINE_12 = 12
	CLB_DOMAIN_ENGINE_20 = 20
	CLB_DOMAIN_ENGINE_21 = 21
	CLB_DOMAIN_ENGINE_22 = 22
)
View Source
const (
	ISCDN_0 = 0
	ISCDN_1 = 1
	ISCDN_2 = 2
	ISCDN_3 = 3
)
View Source
const (
	FLOW_MODE_0 = 0
	FLOW_MODE_1 = 1
)
View Source
const (
	CLS_STATUS_0 = 0
	CLS_STATUS_1 = 1
)
View Source
const (
	BOT_STATUS_0 = 0
	BOT_STATUS_1 = 1
)
View Source
const (
	API_SAFE_STATUS_0 = 0
	API_SAFE_STATUS_1 = 1
)
View Source
const (
	PROTECTION_STATUS_0 = 0
	PROTECTION_STATUS_1 = 1
)
View Source
const (
	IPV6_ON  = 1
	IPV6_OFF = 2
)
View Source
const (
	ALB_TYPE_CLB    = "clb"
	ALB_TYPE_APISIX = "apisix"
	ALB_TYPE_TSEGW  = "tsegw"
)
View Source
const (
	CERT_TYPE_0 = 0
	CERT_TYPE_1 = 1
	CERT_TYPE_2 = 2
)
View Source
const (
	UPSTREAM_SCHEME_HTTP  = "http"
	UPSTREAM_SCHEME_HTTPS = "https"
)
View Source
const (
	IS_GRAY_0 = 0
	IS_GRAY_1 = 1
)
View Source
const (
	UP_STREAM_TYPE_0 = 0
	UP_STREAM_TYPE_1 = 1
)
View Source
const (
	IS_HTTP2_0 = 0
	IS_HTTP2_1 = 1
)
View Source
const (
	IS_WEBSOCKET_0 = 0
	IS_WEBSOCKET_1 = 1
)
View Source
const (
	LOAD_BALANCE_0 = "0"
	LOAD_BALANCE_1 = "1"
	LOAD_BALANCE_2 = "2"
)
View Source
const (
	HTTPS_REWRITE_0 = 0
	HTTPS_REWRITE_1 = 1
)
View Source
const (
	ANYCAST_0 = 0
	ANYCAST_1 = 1
)
View Source
const (
	ACTIVE_CHECK_0 = 0
	ACTIVE_CHECK_1 = 1
)
View Source
const (
	CIPHER_TEMPLATE_1 = 1
	CIPHER_TEMPLATE_2 = 2
	CIPHER_TEMPLATE_3 = 3
)
View Source
const (
	PROXY_READ_TIMEOUT = 300
	PROXY_SEND_TIMEOUT = 300
)
View Source
const (
	SNI_TYPE_0 = 0
	SNI_TYPE_1 = 1
	SNI_TYPE_2 = 2
	SNI_TYPE_3 = 3
)
View Source
const (
	XFF_RESET_0 = 0
	XFF_RESET_1 = 1
)
View Source
const (
	IPV6_STATUS_0 = 0
	IPV6_STATUS_1 = 1
)
View Source
const (
	SAAS_DOMAIN_STATUS_0 = 0
	SAAS_DOMAIN_STATUS_1 = 1
)
View Source
const (
	IS_KEEP_ALIVE_0 = "0"
	IS_KEEP_ALIVE_1 = "1"
)
View Source
const (
	ORDER_ASC  = "asc"
	ORDER_DESC = "desc"
)
View Source
const (
	WAF_PREMIUM_SAAS    = "premium_saas"
	WAF_ENTERPRISE_SAAS = "enterprise_saas"
	WAF_ULTIMATE_SAAS   = "ultimate_saas"
)
View Source
const (
	WAF_PREMIUM_CLB    = "premium_clb"
	WAF_ENTERPRISE_CLB = "enterprise_clb"
	WAF_ULTIMATE_CLB   = "ultimate_clb"
)
View Source
const (
	TIME_UINT_D = "d"
	TIME_UINT_M = "m"
	TIME_UINT_Y = "y"
)
View Source
const (
	REGION_ID_MAINLAND     = 1
	REGION_ID_NON_MAINLAND = 9
)
View Source
const (
	AUTO_RENEW_FLAG_0 = 0
	AUTO_RENEW_FLAG_1 = 1
)
View Source
const (
	ELASTIC_MODE_0 = 0
	ELASTIC_MODE_1 = 1
)
View Source
const (
	MAINLAND_0 = 0
	MAINLAND_1 = 1
)
View Source
const (
	DOMIAN_CATEGORY_ID_SAAS      = 102372
	DOMAIN_SUB_PRODUCT_CODE_SAAS = "sp_wsm_waf_domain"
	DOMAIN_PID_SAAS              = 1000834
	DOMAIN_LABEL_TYPE_SAAS       = "sv_wsm_waf_domain"
)
View Source
const (
	QPS_CATEGORY_ID_SAAS      = 101040
	QPS_SUB_PRODUCT_CODE_SAAS = "sp_wsm_waf_qpsep"
	QPS_PID_SAAS              = 1000481
	QPS_LABEL_TYPE_SAAS       = "sv_wsm_waf_qps_ep"
)
View Source
const (
	DOMIAN_CATEGORY_ID_CLB               = 101207
	DOMAIN_SUB_PRODUCT_CODE_CLB          = "sp_wsm_waf_domain_clb"
	DOMAIN_PID_CLB                       = 1001156
	DOMAIN_LABEL_TYPE_CLB                = "sv_wsm_waf_domain_clb"
	BOT_MANAGEMENT_CATEGORY_ID_CLB       = 1025567
	BOT_MANAGEMENT_SUB_PRODUCT_CODE_CLB  = "sp_wsm_waf_bot_protection_clb"
	BOT_MANAGEMENT_PID_CLB               = 1017001
	API_SECURITY_CATEGORY_ID_CLB         = 1027183
	API_SECURITY_SUB_PRODUCT_CODE_CLB    = "sp_wsm_waf_apiclb"
	API_SECURITY_PID_CLB                 = 1028166
	BOT_MANAGEMENT_CATEGORY_ID_SAAS      = 1025564
	BOT_MANAGEMENT_SUB_PRODUCT_CODE_SAAS = "sp_wsm_waf_bot_protection"
	BOT_MANAGEMENT_PID_SAAS              = 1016997
	API_SECURITY_CATEGORY_ID_SAAS        = 1027180
	API_SECURITY_SUB_PRODUCT_CODE_SAAS   = "sp_wsm_waf_api"
	API_SECURITY_PID_SAAS                = 1028161
)
View Source
const (
	QPS_CATEGORY_ID_CLB      = 101210
	QPS_SUB_PRODUCT_CODE_CLB = "sp_wsm_waf_qpsep_clb"
	QPS_PID_CLB              = 1001160
	QPS_LABEL_TYPE_CLB       = "sv_wsm_waf_qps_ep_clb"
)
View Source
const (
	SAAS_REAL_REGION_MAINLAND_GZ = "gz"
	SAAS_REAL_REGION_MAINLAND_SH = "sh"
	SAAS_REAL_REGION_MAINLAND_BJ = "bj"
	SAAS_REAL_REGION_MAINLAND_CD = "cd"
)
View Source
const (
	SAAS_REAL_REGION_NON_MAINLAND_HK  = "hk"
	SAAS_REAL_REGION_NON_MAINLAND_SG  = "sg"
	SAAS_REAL_REGION_NON_MAINLAND_TH  = "th"
	SAAS_REAL_REGION_NON_MAINLAND_KR  = "kr"
	SAAS_REAL_REGION_NON_MAINLAND_IN  = "in"
	SAAS_REAL_REGION_NON_MAINLAND_DE  = "de"
	SAAS_REAL_REGION_NON_MAINLAND_CA  = "ca"
	SAAS_REAL_REGION_NON_MAINLAND_USE = "use"
	SAAS_REAL_REGION_NON_MAINLAND_SAO = "sao"
	SAAS_REAL_REGION_NON_MAINLAND_USW = "usw"
	SAAS_REAL_REGION_NON_MAINLAND_JKT = "jkt"
)
View Source
const (
	EDITION_SAAS = "sparta-waf"
	EDITION_CLB  = "clb-waf"
)
View Source
const (
	REGION_GZ = "ap-guangzhou"
	REGION_KR = "ap-seoul"
)
View Source
const (
	METRIC_NAME_ACCESS              = "access"
	METRIC_NAME_BOTACCESS           = "botAccess"
	METRIC_NAME_DOWN                = "down"
	METRIC_NAME_UP                  = "up"
	METRIC_NAME_ATTACK              = "attack"
	METRIC_NAME_CC                  = "cc"
	METRIC_NAME_STATUSSERVERERROR   = "StatusServerError"
	METRIC_NAME_STATUSCLIENTERROR   = "StatusClientError"
	METRIC_NAME_STATUSREDIRECT      = "StatusRedirect"
	METRIC_NAME_STATUSOK            = "StatusOk"
	METRIC_NAME_UPSTREAMSERVERERROR = "UpstreamServerError"
	METRIC_NAME_UPSTREAMCLIENTERROR = "UpstreamClientError"
	METRIC_NAME_UPSTREAMREDIRECT    = "UpstreamRedirect"
)
View Source
const (
	ANTI_FAKE_URL_STATUS_0 = 0
	ANTI_FAKE_URL_STATUS_1 = 1
	ANTI_FAKE_URL_STATUS_2 = 2
	ANTI_FAKE_URL_STATUS_3 = 3
)
View Source
const (
	ANTI_INFO_LEAK_ACTION_TYPE_0 = 0
	ANTI_INFO_LEAK_ACTION_TYPE_1 = 1
	ANTI_INFO_LEAK_ACTION_TYPE_2 = 2
	ANTI_INFO_LEAK_ACTION_TYPE_3 = 3
	ANTI_INFO_LEAK_ACTION_TYPE_4 = 4
)
View Source
const (
	STRATEGIES_FIELD_RETURNCODE  = "returncode"
	STRATEGIES_FIELD_KEYWORDS    = "keywords"
	STRATEGIES_FIELD_INFORMATION = "information"
)
View Source
const (
	ANTI_INFO_LEAK_RULE_STATUS_0 = 0
	ANTI_INFO_LEAK_RULE_STATUS_1 = 1
)
View Source
const (
	BOT_MANAGEMENT_STATUS_0 = 0
	BOT_MANAGEMENT_STATUS_1 = 1
)
View Source
const (
	API_SECURITY_STATUS_0 = 0
	API_SECURITY_STATUS_1 = 1
)
View Source
const (
	DescribeDomainVerifyResultSUCCESS = 0
)
View Source
const (
	DescribeHostLimitSuccess = "Success"
)
View Source
const (
	TLS_VERSION_STATUS_3 = 3
)

Variables

View Source
var ACTIVE_CHECK_STATUS = []int{
	ACTIVE_CHECK_0,
	ACTIVE_CHECK_1,
}
View Source
var ANYCAST_STATUS = []int{
	ANYCAST_0,
	ANYCAST_1,
}
View Source
var API_SAFE_STATUS = []int{
	API_SAFE_STATUS_0,
	API_SAFE_STATUS_1,
}
View Source
var API_SECURITY_LABEL_TYPES_CLB_REGION1 = map[string]string{
	WAF_PREMIUM_CLB:    "sv_wsm_waf_scene_cpre",
	WAF_ENTERPRISE_CLB: "sv_wsm_waf_scene_cent",
	WAF_ULTIMATE_CLB:   "sv_wsm_waf_scene_cult",
}
View Source
var API_SECURITY_LABEL_TYPES_CLB_REGION9 = map[string]string{
	WAF_PREMIUM_CLB:    "sv_wsm_waf_scene_cipre",
	WAF_ENTERPRISE_CLB: "sv_wsm_waf_scene_cient",
	WAF_ULTIMATE_CLB:   "sv_wsm_waf_scene_ciult",
}
View Source
var API_SECURITY_LABEL_TYPES_SAAS_REGION1 = map[string]string{
	WAF_PREMIUM_SAAS:    "sv_wsm_waf_scene_pre",
	WAF_ENTERPRISE_SAAS: "sv_wsm_waf_scene_ent",
	WAF_ULTIMATE_SAAS:   "sv_wsm_waf_scene_ult",
}
View Source
var API_SECURITY_LABEL_TYPES_SAAS_REGION9 = map[string]string{
	WAF_PREMIUM_SAAS:    "sv_wsm_waf_scene_ipre",
	WAF_ENTERPRISE_SAAS: "sv_wsm_waf_scene_ient",
	WAF_ULTIMATE_SAAS:   "sv_wsm_waf_scene_iult",
}
View Source
var API_SECURITY_STATUS = []int{
	API_SECURITY_STATUS_0,
	API_SECURITY_STATUS_1,
}
View Source
var AUTO_RENEW_FLAG = []int{
	AUTO_RENEW_FLAG_0,
	AUTO_RENEW_FLAG_1,
}
View Source
var BOT_MANAGEMENT_LABEL_TYPES_CLB = map[int]string{
	REGION_ID_MAINLAND:     "sv_wsm_waf_scene_bot_protection_clb",
	REGION_ID_NON_MAINLAND: "sv_wsm_waf_scene_bot_protection_clb_intl",
}
View Source
var BOT_MANAGEMENT_LABEL_TYPES_SAAS = map[int]string{
	REGION_ID_MAINLAND:     "sv_wsm_waf_scene_bot_protection",
	REGION_ID_NON_MAINLAND: "sv_wsm_waf_scene_bot_protection_intl",
}
View Source
var BOT_MANAGEMENT_STATUS = []int{
	BOT_MANAGEMENT_STATUS_0,
	BOT_MANAGEMENT_STATUS_1,
}
View Source
var BOT_STATUS = []int{
	BOT_STATUS_0,
	BOT_STATUS_1,
}
View Source
var CLB_DOMAIN_STATUS = []int{
	CLB_DOMAIN_STATUS_0,
	CLB_DOMAIN_STATUS_1,
}
View Source
var CLS_STATUS = []int{
	CLS_STATUS_0,
	CLS_STATUS_1,
}
View Source
var EDITION_TYPE = []string{
	EDITION_SAAS,
	EDITION_CLB,
}
View Source
var ELASTIC_MODE = []int{
	ELASTIC_MODE_0,
	ELASTIC_MODE_1,
}
View Source
var FLOW_MODE_STATUS = []int{
	FLOW_MODE_0,
	FLOW_MODE_1,
}
View Source
var HTTPS_REWRITE_STATUS = []int{
	HTTPS_REWRITE_0,
	HTTPS_REWRITE_1,
}
View Source
var IPV6_STATUS = []int{
	IPV6_STATUS_0,
	IPV6_STATUS_1,
}
View Source
var ISCDN_STSTUS = []int{
	ISCDN_0,
	ISCDN_1,
	ISCDN_2,
	ISCDN_3,
}
View Source
var IS_GRAY_STATUS = []int{
	IS_GRAY_0,
	IS_GRAY_1,
}
View Source
var IS_HTTP2_STATUS = []int{
	IS_HTTP2_0,
	IS_HTTP2_1,
}
View Source
var IS_KEEP_ALIVE_STATUS = []string{
	IS_KEEP_ALIVE_0,
	IS_KEEP_ALIVE_1,
}
View Source
var IS_WEBSOCKET_STATUS = []int{
	IS_WEBSOCKET_0,
	IS_WEBSOCKET_1,
}
View Source
var LABEL_TYPES_CLB = map[string]string{
	WAF_PREMIUM_CLB:    "sv_wsm_waf_package_premium_clb",
	WAF_ENTERPRISE_CLB: "sv_wsm_waf_package_enterprise_clb",
	WAF_ULTIMATE_CLB:   "sv_wsm_waf_package_ultimate_clb",
}
View Source
var LABEL_TYPES_SAAS = map[string]string{
	WAF_PREMIUM_SAAS:    "sv_wsm_waf_package_premium",
	WAF_ENTERPRISE_SAAS: "sv_wsm_waf_package_enterprise",
	WAF_ULTIMATE_SAAS:   "sv_wsm_waf_package_ultimate",
}
View Source
var LOAD_BALANCE_STATUS = []string{
	LOAD_BALANCE_0,
	LOAD_BALANCE_1,
	LOAD_BALANCE_2,
}
View Source
var MAINLAND = []int{
	MAINLAND_0,
	MAINLAND_1,
}
View Source
var PID_CLB = map[string]int{
	WAF_PREMIUM_CLB:    1001150,
	WAF_ENTERPRISE_CLB: 1001152,
	WAF_ULTIMATE_CLB:   1001154,
}
View Source
var PID_SAAS = map[string]int{
	WAF_PREMIUM_SAAS:    1000827,
	WAF_ENTERPRISE_SAAS: 1000830,
	WAF_ULTIMATE_SAAS:   1000832,
}
View Source
var PKG_SAAS = map[string]int{
	"DOMAIN": 1000834,
	"QPS":    1000481,
}
View Source
var PROTECTION_STATUS = []int{
	PROTECTION_STATUS_0,
	PROTECTION_STATUS_1,
}
View Source
var SAAS_DOMAIN_STATUS = []int{
	SAAS_DOMAIN_STATUS_0,
	SAAS_DOMAIN_STATUS_1,
}
View Source
var (
	STATE_0 = 0
)
View Source
var SUB_PRODUCT_CODE_CLB = map[string]string{
	WAF_PREMIUM_CLB:    "sp_wsm_waf_premium_clb",
	WAF_ENTERPRISE_CLB: "sp_wsm_waf_enterprise_clb",
	WAF_ULTIMATE_CLB:   "sp_wsm_waf_ultimate_clb",
}
View Source
var SUB_PRODUCT_CODE_SAAS = map[string]string{
	WAF_PREMIUM_SAAS:    "sp_wsm_waf_premium",
	WAF_ENTERPRISE_SAAS: "sp_wsm_waf_enterprise",
	WAF_ULTIMATE_SAAS:   "sp_wsm_waf_ultimate",
}
View Source
var UP_STREAM_TYPES = []int{
	UP_STREAM_TYPE_0,
	UP_STREAM_TYPE_1,
}
View Source
var WAF_CATEGORY_ID_CLB = map[string]int{
	WAF_PREMIUM_CLB:    101198,
	WAF_ENTERPRISE_CLB: 101204,
	WAF_ULTIMATE_CLB:   101201,
}
View Source
var WAF_CATEGORY_ID_SAAS = map[string]int{
	WAF_PREMIUM_SAAS:    102375,
	WAF_ENTERPRISE_SAAS: 102378,
	WAF_ULTIMATE_SAAS:   102369,
}
View Source
var XFF_RESET_STATUS = []int{
	XFF_RESET_0,
	XFF_RESET_1,
}

Functions

func DataSourceTencentCloudWafAttackLogHistogram

func DataSourceTencentCloudWafAttackLogHistogram() *schema.Resource

func DataSourceTencentCloudWafAttackLogList

func DataSourceTencentCloudWafAttackLogList() *schema.Resource

func DataSourceTencentCloudWafAttackOverview

func DataSourceTencentCloudWafAttackOverview() *schema.Resource

func DataSourceTencentCloudWafAttackTotalCount

func DataSourceTencentCloudWafAttackTotalCount() *schema.Resource

func DataSourceTencentCloudWafCiphers

func DataSourceTencentCloudWafCiphers() *schema.Resource

func DataSourceTencentCloudWafDomains

func DataSourceTencentCloudWafDomains() *schema.Resource

func DataSourceTencentCloudWafFindDomains

func DataSourceTencentCloudWafFindDomains() *schema.Resource

func DataSourceTencentCloudWafInstanceQpsLimit

func DataSourceTencentCloudWafInstanceQpsLimit() *schema.Resource

func DataSourceTencentCloudWafPeakPoints

func DataSourceTencentCloudWafPeakPoints() *schema.Resource

func DataSourceTencentCloudWafPorts

func DataSourceTencentCloudWafPorts() *schema.Resource

func DataSourceTencentCloudWafTlsVersions

func DataSourceTencentCloudWafTlsVersions() *schema.Resource

func DataSourceTencentCloudWafUserClbRegions

func DataSourceTencentCloudWafUserClbRegions() *schema.Resource

func DataSourceTencentCloudWafUserDomains

func DataSourceTencentCloudWafUserDomains() *schema.Resource

func DataSourceTencentCloudWafWafInfos

func DataSourceTencentCloudWafWafInfos() *schema.Resource

func ResourceTencentCloudWafAntiFake

func ResourceTencentCloudWafAntiFake() *schema.Resource

func ResourceTencentCloudWafAntiInfoLeak

func ResourceTencentCloudWafAntiInfoLeak() *schema.Resource

func ResourceTencentCloudWafAutoDenyRules

func ResourceTencentCloudWafAutoDenyRules() *schema.Resource

func ResourceTencentCloudWafCc

func ResourceTencentCloudWafCc() *schema.Resource

func ResourceTencentCloudWafCcAutoStatus

func ResourceTencentCloudWafCcAutoStatus() *schema.Resource

func ResourceTencentCloudWafCcSession

func ResourceTencentCloudWafCcSession() *schema.Resource

func ResourceTencentCloudWafClbDomain

func ResourceTencentCloudWafClbDomain() *schema.Resource

func ResourceTencentCloudWafClbInstance

func ResourceTencentCloudWafClbInstance() *schema.Resource

func ResourceTencentCloudWafCustomRule

func ResourceTencentCloudWafCustomRule() *schema.Resource

func ResourceTencentCloudWafCustomWhiteRule

func ResourceTencentCloudWafCustomWhiteRule() *schema.Resource

func ResourceTencentCloudWafIpAccessControl

func ResourceTencentCloudWafIpAccessControl() *schema.Resource

func ResourceTencentCloudWafModifyAccessPeriod

func ResourceTencentCloudWafModifyAccessPeriod() *schema.Resource

func ResourceTencentCloudWafModuleStatus

func ResourceTencentCloudWafModuleStatus() *schema.Resource

func ResourceTencentCloudWafProtectionMode

func ResourceTencentCloudWafProtectionMode() *schema.Resource

func ResourceTencentCloudWafSaasDomain

func ResourceTencentCloudWafSaasDomain() *schema.Resource

func ResourceTencentCloudWafSaasInstance

func ResourceTencentCloudWafSaasInstance() *schema.Resource

func ResourceTencentCloudWafWebShell

func ResourceTencentCloudWafWebShell() *schema.Resource

Types

type WafService

type WafService struct {
	// contains filtered or unexported fields
}

func (*WafService) DeleteWafAntiFakeById

func (me *WafService) DeleteWafAntiFakeById(ctx context.Context, id, domain string) (errRet error)

func (*WafService) DeleteWafAntiInfoLeakById

func (me *WafService) DeleteWafAntiInfoLeakById(ctx context.Context, ruleId, domain string) (errRet error)

func (*WafService) DeleteWafCcAutoStatusById

func (me *WafService) DeleteWafCcAutoStatusById(ctx context.Context, domain, edition string) (errRet error)

func (*WafService) DeleteWafCcById

func (me *WafService) DeleteWafCcById(ctx context.Context, domain, ruleId, name string) (errRet error)

func (*WafService) DeleteWafCcSessionById

func (me *WafService) DeleteWafCcSessionById(ctx context.Context, domain, edition, sessionID string) (errRet error)

func (*WafService) DeleteWafClbDomainById

func (me *WafService) DeleteWafClbDomainById(ctx context.Context, instanceID, domain, domainId string) (errRet error)

func (*WafService) DeleteWafCustomRuleById

func (me *WafService) DeleteWafCustomRuleById(ctx context.Context, domain, ruleId string) (errRet error)

func (*WafService) DeleteWafCustomWhiteRuleById

func (me *WafService) DeleteWafCustomWhiteRuleById(ctx context.Context, domain, ruleId string) (errRet error)

func (*WafService) DeleteWafIpAccessControlByDiff

func (me *WafService) DeleteWafIpAccessControlByDiff(ctx context.Context, domain string, ids []string) (errRet error)

func (*WafService) DeleteWafIpAccessControlById

func (me *WafService) DeleteWafIpAccessControlById(ctx context.Context, domain string) (errRet error)

func (*WafService) DeleteWafSaasDomainById

func (me *WafService) DeleteWafSaasDomainById(ctx context.Context, instanceID, domain string) (errRet error)

func (*WafService) DescribeDomainsById

func (me *WafService) DescribeDomainsById(ctx context.Context, instanceID, domain string) (domainInfo *waf.DomainInfo, errRet error)

func (*WafService) DescribeSpartaProtectionInfoById

func (me *WafService) DescribeSpartaProtectionInfoById(ctx context.Context, domain, edition string) (protectionInfo *waf.DescribeSpartaProtectionInfoResponseParams, errRet error)

func (*WafService) DescribeWafAntiFakeById

func (me *WafService) DescribeWafAntiFakeById(ctx context.Context, id, domain string) (antiFake *waf.CacheUrlItems, errRet error)

func (*WafService) DescribeWafAntiInfoLeakById

func (me *WafService) DescribeWafAntiInfoLeakById(ctx context.Context, ruleId, domain string) (antiInfoLeak *waf.DescribeAntiLeakageItem, errRet error)

func (*WafService) DescribeWafAttackLogHistogramByFilter

func (me *WafService) DescribeWafAttackLogHistogramByFilter(ctx context.Context, param map[string]interface{}) (AttackLogHistogram *waf.GetAttackHistogramResponseParams, errRet error)

func (*WafService) DescribeWafAttackLogListByFilter

func (me *WafService) DescribeWafAttackLogListByFilter(ctx context.Context, param map[string]interface{}) (AttackLogList []*waf.AttackLogInfo, errRet error)

func (*WafService) DescribeWafAttackOverviewByFilter

func (me *WafService) DescribeWafAttackOverviewByFilter(ctx context.Context, param map[string]interface{}) (AttackOverview *waf.DescribeAttackOverviewResponseParams, errRet error)

func (*WafService) DescribeWafAttackTotalCountByFilter

func (me *WafService) DescribeWafAttackTotalCountByFilter(ctx context.Context, param map[string]interface{}) (AttackTotalCount *waf.GetAttackTotalCountResponseParams, errRet error)

func (*WafService) DescribeWafAutoDenyRulesById

func (me *WafService) DescribeWafAutoDenyRulesById(ctx context.Context, domain string) (autoDenyRules *waf.DescribeWafAutoDenyRulesResponseParams, errRet error)

func (*WafService) DescribeWafCcAutoStatusById

func (me *WafService) DescribeWafCcAutoStatusById(ctx context.Context, domain string) (CcAutoStatus *waf.DescribeCCAutoStatusResponseParams, errRet error)

func (*WafService) DescribeWafCcById

func (me *WafService) DescribeWafCcById(ctx context.Context, domain, ruleId string) (cc *waf.CCRuleItems, errRet error)

func (*WafService) DescribeWafCcSessionById

func (me *WafService) DescribeWafCcSessionById(ctx context.Context, domain, edition, sessionID string) (ccSession *waf.SessionItem, errRet error)

func (*WafService) DescribeWafCiphersByFilter

func (me *WafService) DescribeWafCiphersByFilter(ctx context.Context) (ciphers []*waf.TLSCiphers, errRet error)

func (*WafService) DescribeWafClbDomainById

func (me *WafService) DescribeWafClbDomainById(ctx context.Context, instanceID, domain, domainId string) (clbDomainInfo *waf.ClbDomainsInfo, errRet error)

func (*WafService) DescribeWafCustomRuleById

func (me *WafService) DescribeWafCustomRuleById(ctx context.Context, domain, ruleId string) (CustomRule *waf.DescribeCustomRulesRspRuleListItem, errRet error)

func (*WafService) DescribeWafCustomWhiteRuleById

func (me *WafService) DescribeWafCustomWhiteRuleById(ctx context.Context, domain, ruleId string) (CustomWhiteRule *waf.DescribeCustomRulesRspRuleListItem, errRet error)

func (*WafService) DescribeWafDomainsByFilter

func (me *WafService) DescribeWafDomainsByFilter(ctx context.Context, instanceID, domain string) (domains []*waf.DomainInfo, errRet error)

func (*WafService) DescribeWafFindDomainsByFilter

func (me *WafService) DescribeWafFindDomainsByFilter(ctx context.Context, param map[string]interface{}) (findDomains []*waf.FindAllDomainDetail, errRet error)

func (*WafService) DescribeWafInstanceById

func (me *WafService) DescribeWafInstanceById(ctx context.Context, instanceId string) (instance *waf.InstanceInfo, errRet error)

func (*WafService) DescribeWafInstanceQpsLimitByFilter

func (me *WafService) DescribeWafInstanceQpsLimitByFilter(ctx context.Context, param map[string]interface{}) (instanceQpsLimit *waf.QpsData, errRet error)

func (*WafService) DescribeWafIpAccessControlById

func (me *WafService) DescribeWafIpAccessControlById(ctx context.Context, domain string) (ipAccessControlList []*waf.IpAccessControlItem, errRet error)

func (*WafService) DescribeWafModuleStatusById

func (me *WafService) DescribeWafModuleStatusById(ctx context.Context, domain string) (moduleStatus *waf.DescribeModuleStatusResponseParams, errRet error)

func (*WafService) DescribeWafPeakPointsByFilter

func (me *WafService) DescribeWafPeakPointsByFilter(ctx context.Context, param map[string]interface{}) (PeakPoints []*waf.PeakPointsItem, errRet error)

func (*WafService) DescribeWafPortsByFilter

func (me *WafService) DescribeWafPortsByFilter(ctx context.Context, param map[string]interface{}) (ports *waf.DescribePortsResponseParams, errRet error)

func (*WafService) DescribeWafSaasDomainById

func (me *WafService) DescribeWafSaasDomainById(ctx context.Context, instanceID, domain, domainId string) (saasDomain *waf.DomainsPartInfo, errRet error)

func (*WafService) DescribeWafTlsVersionsByFilter

func (me *WafService) DescribeWafTlsVersionsByFilter(ctx context.Context) (tlsVersions []*waf.TLSVersion, errRet error)

func (*WafService) DescribeWafUserClbRegionsByFilter

func (me *WafService) DescribeWafUserClbRegionsByFilter(ctx context.Context) (userClbRegions *waf.DescribeUserClbWafRegionsResponseParams, errRet error)

func (*WafService) DescribeWafUserDomainsByFilter

func (me *WafService) DescribeWafUserDomainsByFilter(ctx context.Context) (userDomains []*waf.UserDomainInfo, errRet error)

func (*WafService) DescribeWafWafInfosByFilter

func (me *WafService) DescribeWafWafInfosByFilter(ctx context.Context, param map[string]interface{}) (wafInfos []*waf.ClbHostResult, errRet error)

func (*WafService) DescribeWafWebShellById

func (me *WafService) DescribeWafWebShellById(ctx context.Context, domain string) (webShell *waf.DescribeWebshellStatusResponseParams, errRet error)

Jump to

Keyboard shortcuts

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