Documentation ¶
Index ¶
- type Action
- type ApplyWafPolicyRequest
- type ApplyWafPolicyRequestBody
- type ApplyWafPolicyResponse
- type BindHost
- type CdnDomainTags
- type CreateEdgeDDoSDomainsRequest
- type CreateEdgeDDoSDomainsRequestBody
- type CreateEdgeDDoSDomainsResponse
- type CreateEdgeWafDomainsRequest
- type CreateEdgeWafDomainsRequestBody
- type CreateEdgeWafDomainsRequestBodyAreaType
- type CreateEdgeWafDomainsRequestBodyAreaTypeEnum
- type CreateEdgeWafDomainsResponse
- type CreatePolicyRequest
- type CreatePolicyRequestBody
- type CreatePolicyResponse
- type DeleteEdgeDDoSDomainsRequest
- type DeleteEdgeDDoSDomainsResponse
- type DeleteEdgeWafDomainsRequest
- type DeleteEdgeWafDomainsResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type EdgeDDoSDomainVo
- type EdgeDDoSDomainVoAreaType
- type EdgeDDoSDomainVoAreaTypeEnum
- type EdgeSecProductResource
- type EdgeSecProductResourceBillType
- type EdgeSecProductResourceBillTypeEnum
- type EdgeSecProductResourceChargingMode
- type EdgeSecProductResourceChargingModeEnum
- type Flag
- type FlagCname
- type FlagCnameEnum
- type FlagIpv6
- type FlagIpv6Enum
- type FlagIsDualAz
- type FlagIsDualAzEnum
- type FlagPci3ds
- type FlagPci3dsEnum
- type FlagPciDss
- type FlagPciDssEnum
- type ListCdnDomainsRequest
- type ListCdnDomainsResponse
- type ListEdgeDDoSDomainsRequest
- type ListEdgeDDoSDomainsResponse
- type ListEdgeSecSubscriptionRequest
- type ListEdgeSecSubscriptionResponse
- type ListEdgeWafDomainsRequest
- type ListEdgeWafDomainsRequestType
- type ListEdgeWafDomainsRequestTypeEnum
- type ListEdgeWafDomainsResponse
- type ListPolicyRequest
- type ListPolicyResponse
- type PolicyAction
- type PolicyActionCategory
- type PolicyActionCategoryEnum
- type PolicyOption
- type PolicyResponse
- type ShowCdnDomainResponseBody
- type ShowCdnDomainResponseBodyServiceArea
- type ShowCdnDomainResponseBodyServiceAreaEnum
- type ShowEdgeWafDomainsRequest
- type ShowEdgeWafDomainsResponse
- type ShowEdgeWafDomainsResponseCipher
- type ShowEdgeWafDomainsResponseCipherEnum
- type ShowEdgeWafDomainsResponseProtocol
- type ShowEdgeWafDomainsResponseProtocolEnum
- type ShowEdgeWafDomainsResponseTls
- type ShowEdgeWafDomainsResponseTlsEnum
- type ShowStatisticsEventRequest
- type ShowStatisticsEventRequestType
- type ShowStatisticsEventRequestTypeEnum
- type ShowStatisticsEventResponse
- type ShowStatisticsTrafficRequest
- type ShowStatisticsTrafficRequestType
- type ShowStatisticsTrafficRequestTypeEnum
- type ShowStatisticsTrafficResponse
- type ShowWafDomainResponseBody
- type ShowWafDomainResponseBodyCipher
- type ShowWafDomainResponseBodyCipherEnum
- type ShowWafDomainResponseBodyProtocol
- type ShowWafDomainResponseBodyProtocolEnum
- type ShowWafDomainResponseBodyTls
- type ShowWafDomainResponseBodyTlsEnum
- type TimeSeriesData
- type UpdateEdgeDDoSDomainsRequest
- type UpdateEdgeDDoSDomainsRequestBody
- type UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch
- type UpdateEdgeDDoSDomainsRequestBodyProtectedSwitchEnum
- type UpdateEdgeDDoSDomainsResponse
- type UpdateEdgeWafDomainsRequest
- type UpdateEdgeWafDomainsRequestBody
- type UpdateEdgeWafDomainsRequestBodyCipher
- type UpdateEdgeWafDomainsRequestBodyCipherEnum
- type UpdateEdgeWafDomainsRequestBodyTls
- type UpdateEdgeWafDomainsRequestBodyTlsEnum
- type UpdateEdgeWafDomainsResponse
- type WafBlockPage
- type WafCustomPage
- type WafPolicyAction
- type WafPolicyActionCategory
- type WafPolicyActionCategoryEnum
- type WafPolicyBindHost
- type WafPolicyOption
- type WafTrafficMark
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // 特征反爬虫中防护动作信息 - log:仅记录 - block:拦截 Category *string `json:"category,omitempty"` }
Action 用来保存网站反爬虫中特征反爬虫的防护动作信息
type ApplyWafPolicyRequest ¶
type ApplyWafPolicyRequest struct { // 防护策略id,t通过查询策略列表(ListPolicy)获取 PolicyId string `json:"policy_id"` Body *ApplyWafPolicyRequestBody `json:"body,omitempty"` }
ApplyWafPolicyRequest Request Object
func (ApplyWafPolicyRequest) String ¶
func (o ApplyWafPolicyRequest) String() string
type ApplyWafPolicyRequestBody ¶
type ApplyWafPolicyRequestBody struct { // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 待关联域名的id Hosts []string `json:"hosts"` }
func (ApplyWafPolicyRequestBody) String ¶
func (o ApplyWafPolicyRequestBody) String() string
type ApplyWafPolicyResponse ¶
type ApplyWafPolicyResponse struct { // 防护策略id Id *string `json:"id,omitempty"` // 防护策略名 Name *string `json:"name,omitempty"` Action *WafPolicyAction `json:"action,omitempty"` Options *WafPolicyOption `json:"options,omitempty"` // 防护等级 Level *int32 `json:"level,omitempty"` // 精准防护中的检测模式 FullDetection *bool `json:"full_detection,omitempty"` RobotAction *WafPolicyAction `json:"robot_action,omitempty"` // 防护域名的信息 BindHost *[]WafPolicyBindHost `json:"bind_host,omitempty"` // 创建防护策略的时间 Timestamp *int64 `json:"timestamp,omitempty"` // 扩展字段 Extend map[string]string `json:"extend,omitempty"` HttpStatusCode int `json:"-"` }
ApplyWafPolicyResponse Response Object
func (ApplyWafPolicyResponse) String ¶
func (o ApplyWafPolicyResponse) String() string
type BindHost ¶
type BindHost struct { // 域名ID Id *string `json:"id,omitempty"` // 域名 Hostname *string `json:"hostname,omitempty"` }
BindHost 绑定的域名信息
type CdnDomainTags ¶
type CdnDomainTags struct { // 约束原因 Notes *string `json:"notes,omitempty"` // 约束内容 Constraint *string `json:"constraint,omitempty"` }
CdnDomainTags cdn域名安全服务约束信息
func (CdnDomainTags) String ¶
func (o CdnDomainTags) String() string
type CreateEdgeDDoSDomainsRequest ¶
type CreateEdgeDDoSDomainsRequest struct {
Body *CreateEdgeDDoSDomainsRequestBody `json:"body,omitempty"`
}
CreateEdgeDDoSDomainsRequest Request Object
func (CreateEdgeDDoSDomainsRequest) String ¶
func (o CreateEdgeDDoSDomainsRequest) String() string
type CreateEdgeDDoSDomainsRequestBody ¶
type CreateEdgeDDoSDomainsRequestBody struct { // waf防护域名ID DomainId string `json:"domain_id"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (CreateEdgeDDoSDomainsRequestBody) String ¶
func (o CreateEdgeDDoSDomainsRequestBody) String() string
type CreateEdgeDDoSDomainsResponse ¶
type CreateEdgeDDoSDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
CreateEdgeDDoSDomainsResponse Response Object
func (CreateEdgeDDoSDomainsResponse) String ¶
func (o CreateEdgeDDoSDomainsResponse) String() string
type CreateEdgeWafDomainsRequest ¶
type CreateEdgeWafDomainsRequest struct {
Body *CreateEdgeWafDomainsRequestBody `json:"body,omitempty"`
}
CreateEdgeWafDomainsRequest Request Object
func (CreateEdgeWafDomainsRequest) String ¶
func (o CreateEdgeWafDomainsRequest) String() string
type CreateEdgeWafDomainsRequestBody ¶
type CreateEdgeWafDomainsRequestBody struct { // 防护域名(可带端口),通过查询CDN域名接口获取 DomainName string `json:"domain_name"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 防护域名关联的策略id,通过查询WAF防护策略接口获取 PolicyId *string `json:"policy_id,omitempty"` // 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 CertificateId *string `json:"certificate_id,omitempty"` // 域名名称 WebTag *string `json:"web_tag,omitempty"` // 域名描述 Description *string `json:"description,omitempty"` // 域名在CDN所属区域,通过查询CDN域名接口获取 AreaType CreateEdgeWafDomainsRequestBodyAreaType `json:"area_type"` }
CreateEdgeWafDomainsRequestBody 创建防护域名的请求
func (CreateEdgeWafDomainsRequestBody) String ¶
func (o CreateEdgeWafDomainsRequestBody) String() string
type CreateEdgeWafDomainsRequestBodyAreaType ¶
type CreateEdgeWafDomainsRequestBodyAreaType struct {
// contains filtered or unexported fields
}
func (CreateEdgeWafDomainsRequestBodyAreaType) MarshalJSON ¶
func (c CreateEdgeWafDomainsRequestBodyAreaType) MarshalJSON() ([]byte, error)
func (*CreateEdgeWafDomainsRequestBodyAreaType) UnmarshalJSON ¶
func (c *CreateEdgeWafDomainsRequestBodyAreaType) UnmarshalJSON(b []byte) error
func (CreateEdgeWafDomainsRequestBodyAreaType) Value ¶
func (c CreateEdgeWafDomainsRequestBodyAreaType) Value() string
type CreateEdgeWafDomainsRequestBodyAreaTypeEnum ¶
type CreateEdgeWafDomainsRequestBodyAreaTypeEnum struct { MAINLAND_CHINA CreateEdgeWafDomainsRequestBodyAreaType OUTSIDE_MAINLAND_CHINA CreateEdgeWafDomainsRequestBodyAreaType GLOBAL CreateEdgeWafDomainsRequestBodyAreaType EUROPE CreateEdgeWafDomainsRequestBodyAreaType }
func GetCreateEdgeWafDomainsRequestBodyAreaTypeEnum ¶
func GetCreateEdgeWafDomainsRequestBodyAreaTypeEnum() CreateEdgeWafDomainsRequestBodyAreaTypeEnum
type CreateEdgeWafDomainsResponse ¶
type CreateEdgeWafDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
CreateEdgeWafDomainsResponse Response Object
func (CreateEdgeWafDomainsResponse) String ¶
func (o CreateEdgeWafDomainsResponse) String() string
type CreatePolicyRequest ¶
type CreatePolicyRequest struct { // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *CreatePolicyRequestBody `json:"body,omitempty"` }
CreatePolicyRequest Request Object
func (CreatePolicyRequest) String ¶
func (o CreatePolicyRequest) String() string
type CreatePolicyRequestBody ¶
type CreatePolicyRequestBody struct { // 策略名称(策略名称只能由数字、字母和下划线组成,长度不能超过64为字符) Name string `json:"name"` }
func (CreatePolicyRequestBody) String ¶
func (o CreatePolicyRequestBody) String() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct { // 防护策略id Id *string `json:"id,omitempty"` // 防护策略名 Name *string `json:"name,omitempty"` // Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 Level *int32 `json:"level,omitempty"` // 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 FullDetection *bool `json:"full_detection,omitempty"` RobotAction *Action `json:"robot_action,omitempty"` Action *PolicyAction `json:"action,omitempty"` Options *PolicyOption `json:"options,omitempty"` // 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 ModulexOptions map[string]interface{} `json:"modulex_options,omitempty"` // 与防护策略绑定的防护的域名id数组 Hosts *[]string `json:"hosts,omitempty"` // 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 BindHost *[]BindHost `json:"bind_host,omitempty"` // 扩展字段,用于存放Web基础防护中一些开关配置等信息 Extend map[string]string `json:"extend,omitempty"` // 创建防护策略的时间 Timestamp *int64 `json:"timestamp,omitempty"` HttpStatusCode int `json:"-"` }
CreatePolicyResponse Response Object
func (CreatePolicyResponse) String ¶
func (o CreatePolicyResponse) String() string
type DeleteEdgeDDoSDomainsRequest ¶
type DeleteEdgeDDoSDomainsRequest struct { // 域名ID Domainid string `json:"domainid"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
DeleteEdgeDDoSDomainsRequest Request Object
func (DeleteEdgeDDoSDomainsRequest) String ¶
func (o DeleteEdgeDDoSDomainsRequest) String() string
type DeleteEdgeDDoSDomainsResponse ¶
type DeleteEdgeDDoSDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteEdgeDDoSDomainsResponse Response Object
func (DeleteEdgeDDoSDomainsResponse) String ¶
func (o DeleteEdgeDDoSDomainsResponse) String() string
type DeleteEdgeWafDomainsRequest ¶
type DeleteEdgeWafDomainsRequest struct { // 防护域名id Domainid string `json:"domainid"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
DeleteEdgeWafDomainsRequest Request Object
func (DeleteEdgeWafDomainsRequest) String ¶
func (o DeleteEdgeWafDomainsRequest) String() string
type DeleteEdgeWafDomainsResponse ¶
type DeleteEdgeWafDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteEdgeWafDomainsResponse Response Object
func (DeleteEdgeWafDomainsResponse) String ¶
func (o DeleteEdgeWafDomainsResponse) String() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct { // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id PolicyId string `json:"policy_id"` }
DeletePolicyRequest Request Object
func (DeletePolicyRequest) String ¶
func (o DeletePolicyRequest) String() string
type DeletePolicyResponse ¶
type DeletePolicyResponse struct { // 防护策略id Id *string `json:"id,omitempty"` // 防护策略名 Name *string `json:"name,omitempty"` // Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 Level *int32 `json:"level,omitempty"` // 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 FullDetection *bool `json:"full_detection,omitempty"` RobotAction *Action `json:"robot_action,omitempty"` Action *WafPolicyAction `json:"action,omitempty"` Options *PolicyOption `json:"options,omitempty"` // 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 ModulexOptions map[string]interface{} `json:"modulex_options,omitempty"` // 与防护策略绑定的防护的域名id数组 Hosts *[]string `json:"hosts,omitempty"` // 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 BindHost *[]BindHost `json:"bind_host,omitempty"` // 扩展字段,用于存放Web基础防护中一些开关配置等信息 Extend map[string]string `json:"extend,omitempty"` // 创建防护策略的时间 Timestamp *int64 `json:"timestamp,omitempty"` HttpStatusCode int `json:"-"` }
DeletePolicyResponse Response Object
func (DeletePolicyResponse) String ¶
func (o DeletePolicyResponse) String() string
type EdgeDDoSDomainVo ¶
type EdgeDDoSDomainVo struct { // 域名id Id *string `json:"id,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 域名在CDN所属区域 AreaType *EdgeDDoSDomainVoAreaType `json:"area_type,omitempty"` // cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) DispatchStatus *int32 `json:"dispatch_status,omitempty"` // 防护开关(0:关,1:开) ProtectedSwitch *int32 `json:"protected_switch,omitempty"` // 开启时间 OpenDate *int64 `json:"open_date,omitempty"` // 关闭时间 CloseDate *int64 `json:"close_date,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (EdgeDDoSDomainVo) String ¶
func (o EdgeDDoSDomainVo) String() string
type EdgeDDoSDomainVoAreaType ¶
type EdgeDDoSDomainVoAreaType struct {
// contains filtered or unexported fields
}
func (EdgeDDoSDomainVoAreaType) MarshalJSON ¶
func (c EdgeDDoSDomainVoAreaType) MarshalJSON() ([]byte, error)
func (*EdgeDDoSDomainVoAreaType) UnmarshalJSON ¶
func (c *EdgeDDoSDomainVoAreaType) UnmarshalJSON(b []byte) error
func (EdgeDDoSDomainVoAreaType) Value ¶
func (c EdgeDDoSDomainVoAreaType) Value() string
type EdgeDDoSDomainVoAreaTypeEnum ¶
type EdgeDDoSDomainVoAreaTypeEnum struct { MAINLAND_CHINA EdgeDDoSDomainVoAreaType OUTSIDE_MAINLAND_CHINA EdgeDDoSDomainVoAreaType EUROPE EdgeDDoSDomainVoAreaType GLOBAL EdgeDDoSDomainVoAreaType }
func GetEdgeDDoSDomainVoAreaTypeEnum ¶
func GetEdgeDDoSDomainVoAreaTypeEnum() EdgeDDoSDomainVoAreaTypeEnum
type EdgeSecProductResource ¶
type EdgeSecProductResource struct { // 购买该资源的订单ID OrderId *string `json:"order_id,omitempty"` // 云服务类型,边缘安全为hws.service.type.edgesec CloudServiceType *string `json:"cloud_service_type,omitempty"` // 产品ID ProductId *string `json:"product_id,omitempty"` // 资源ID ResourceId *string `json:"resource_id,omitempty"` // 企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // region ID RegionId *string `json:"region_id,omitempty"` // 资源类型 ResourceType *string `json:"resource_type,omitempty"` // 资源规格编码 ResourceSpecCode *string `json:"resource_spec_code,omitempty"` // 扩展包资源数量 ResourceSize *int32 `json:"resource_size,omitempty"` // 计费方式(0:不按照流量计费, 1:带宽峰值, 2:流量) BillType *EdgeSecProductResourceBillType `json:"bill_type,omitempty"` // 收费模式(1:一次性、包周期(包年包月), 2:按需计费) ChargingMode *EdgeSecProductResourceChargingMode `json:"charging_mode,omitempty"` }
func (EdgeSecProductResource) String ¶
func (o EdgeSecProductResource) String() string
type EdgeSecProductResourceBillType ¶
type EdgeSecProductResourceBillType struct {
// contains filtered or unexported fields
}
func (EdgeSecProductResourceBillType) MarshalJSON ¶
func (c EdgeSecProductResourceBillType) MarshalJSON() ([]byte, error)
func (*EdgeSecProductResourceBillType) UnmarshalJSON ¶
func (c *EdgeSecProductResourceBillType) UnmarshalJSON(b []byte) error
func (EdgeSecProductResourceBillType) Value ¶
func (c EdgeSecProductResourceBillType) Value() int32
type EdgeSecProductResourceBillTypeEnum ¶
type EdgeSecProductResourceBillTypeEnum struct { E_0 EdgeSecProductResourceBillType E_1 EdgeSecProductResourceBillType E_2 EdgeSecProductResourceBillType }
func GetEdgeSecProductResourceBillTypeEnum ¶
func GetEdgeSecProductResourceBillTypeEnum() EdgeSecProductResourceBillTypeEnum
type EdgeSecProductResourceChargingMode ¶
type EdgeSecProductResourceChargingMode struct {
// contains filtered or unexported fields
}
func (EdgeSecProductResourceChargingMode) MarshalJSON ¶
func (c EdgeSecProductResourceChargingMode) MarshalJSON() ([]byte, error)
func (*EdgeSecProductResourceChargingMode) UnmarshalJSON ¶
func (c *EdgeSecProductResourceChargingMode) UnmarshalJSON(b []byte) error
func (EdgeSecProductResourceChargingMode) Value ¶
func (c EdgeSecProductResourceChargingMode) Value() string
type EdgeSecProductResourceChargingModeEnum ¶
type EdgeSecProductResourceChargingModeEnum struct { E_1 EdgeSecProductResourceChargingMode E_2 EdgeSecProductResourceChargingMode }
func GetEdgeSecProductResourceChargingModeEnum ¶
func GetEdgeSecProductResourceChargingModeEnum() EdgeSecProductResourceChargingModeEnum
type Flag ¶
type Flag struct { // 是否开启pci_3ds合规认证 - true:开启 - false:不开启 Pci3ds *FlagPci3ds `json:"pci_3ds,omitempty"` // 是否开启pci_dss合规认证 - true:开启 - false:不开启 PciDss *FlagPciDss `json:"pci_dss,omitempty"` // old:代表域名使用的老的cname,new:代表域名使用新的cname Cname *FlagCname `json:"cname,omitempty"` // 域名是否开启ipv6 - true:支持 - false:不支持 IsDualAz *FlagIsDualAz `json:"is_dual_az,omitempty"` // 域名是否开启ipv6 - true:支持 - false:不支持 Ipv6 *FlagIpv6 `json:"ipv6,omitempty"` }
Flag 特殊标识,用于前端使用
type FlagCname ¶
type FlagCname struct {
// contains filtered or unexported fields
}
func (FlagCname) MarshalJSON ¶
func (*FlagCname) UnmarshalJSON ¶
type FlagCnameEnum ¶
func GetFlagCnameEnum ¶
func GetFlagCnameEnum() FlagCnameEnum
type FlagIpv6 ¶
type FlagIpv6 struct {
// contains filtered or unexported fields
}
func (FlagIpv6) MarshalJSON ¶
func (*FlagIpv6) UnmarshalJSON ¶
type FlagIpv6Enum ¶
func GetFlagIpv6Enum ¶
func GetFlagIpv6Enum() FlagIpv6Enum
type FlagIsDualAz ¶
type FlagIsDualAz struct {
// contains filtered or unexported fields
}
func (FlagIsDualAz) MarshalJSON ¶
func (c FlagIsDualAz) MarshalJSON() ([]byte, error)
func (*FlagIsDualAz) UnmarshalJSON ¶
func (c *FlagIsDualAz) UnmarshalJSON(b []byte) error
func (FlagIsDualAz) Value ¶
func (c FlagIsDualAz) Value() string
type FlagIsDualAzEnum ¶
type FlagIsDualAzEnum struct { TRUE FlagIsDualAz FALSE FlagIsDualAz }
func GetFlagIsDualAzEnum ¶
func GetFlagIsDualAzEnum() FlagIsDualAzEnum
type FlagPci3ds ¶
type FlagPci3ds struct {
// contains filtered or unexported fields
}
func (FlagPci3ds) MarshalJSON ¶
func (c FlagPci3ds) MarshalJSON() ([]byte, error)
func (*FlagPci3ds) UnmarshalJSON ¶
func (c *FlagPci3ds) UnmarshalJSON(b []byte) error
func (FlagPci3ds) Value ¶
func (c FlagPci3ds) Value() string
type FlagPci3dsEnum ¶
type FlagPci3dsEnum struct { TRUE FlagPci3ds FALSE FlagPci3ds }
func GetFlagPci3dsEnum ¶
func GetFlagPci3dsEnum() FlagPci3dsEnum
type FlagPciDss ¶
type FlagPciDss struct {
// contains filtered or unexported fields
}
func (FlagPciDss) MarshalJSON ¶
func (c FlagPciDss) MarshalJSON() ([]byte, error)
func (*FlagPciDss) UnmarshalJSON ¶
func (c *FlagPciDss) UnmarshalJSON(b []byte) error
func (FlagPciDss) Value ¶
func (c FlagPciDss) Value() string
type FlagPciDssEnum ¶
type FlagPciDssEnum struct { TRUE FlagPciDss FALSE FlagPciDss }
func GetFlagPciDssEnum ¶
func GetFlagPciDssEnum() FlagPciDssEnum
type ListCdnDomainsRequest ¶
type ListCdnDomainsRequest struct { // 分页查询参数,偏移量 Offset *int32 `json:"offset,omitempty"` // 分页查询参数,每页显示limit条记录 Limit *int32 `json:"limit,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ListCdnDomainsRequest Request Object
func (ListCdnDomainsRequest) String ¶
func (o ListCdnDomainsRequest) String() string
type ListCdnDomainsResponse ¶
type ListCdnDomainsResponse struct { // 全部CDN域名的数量 Total *int32 `json:"total,omitempty"` // 查询结果CDN域名的数量 Count *int32 `json:"count,omitempty"` // 详细的CDN域名信息 Domains *[]ShowCdnDomainResponseBody `json:"domains,omitempty"` HttpStatusCode int `json:"-"` }
ListCdnDomainsResponse Response Object
func (ListCdnDomainsResponse) String ¶
func (o ListCdnDomainsResponse) String() string
type ListEdgeDDoSDomainsRequest ¶
type ListEdgeDDoSDomainsRequest struct { // 域名 DomainName *string `json:"domain_name,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListEdgeDDoSDomainsRequest Request Object
func (ListEdgeDDoSDomainsRequest) String ¶
func (o ListEdgeDDoSDomainsRequest) String() string
type ListEdgeDDoSDomainsResponse ¶
type ListEdgeDDoSDomainsResponse struct { // 域名列表 DomainList *[]EdgeDDoSDomainVo `json:"domain_list,omitempty"` // 域名总条目 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListEdgeDDoSDomainsResponse Response Object
func (ListEdgeDDoSDomainsResponse) String ¶
func (o ListEdgeDDoSDomainsResponse) String() string
type ListEdgeSecSubscriptionRequest ¶
type ListEdgeSecSubscriptionRequest struct { // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ListEdgeSecSubscriptionRequest Request Object
func (ListEdgeSecSubscriptionRequest) String ¶
func (o ListEdgeSecSubscriptionRequest) String() string
type ListEdgeSecSubscriptionResponse ¶
type ListEdgeSecSubscriptionResponse struct { // 已经添加的WAF防护域名数量 WafDomainNum *int32 `json:"waf_domain_num,omitempty"` // 已经添加的WAF IP黑白规则数量 WafRuleNum *int32 `json:"waf_rule_num,omitempty"` // 已经添加的DDoS防护域名数量 DdosDomainNum *int32 `json:"ddos_domain_num,omitempty"` // 产品信息 ProductInfos *[]EdgeSecProductResource `json:"product_infos,omitempty"` HttpStatusCode int `json:"-"` }
ListEdgeSecSubscriptionResponse Response Object
func (ListEdgeSecSubscriptionResponse) String ¶
func (o ListEdgeSecSubscriptionResponse) String() string
type ListEdgeWafDomainsRequest ¶
type ListEdgeWafDomainsRequest struct { // 页码, 0全查 PageNum *int32 `json:"page_num,omitempty"` // 每页显示的条目数量, waf每批最大查询数量为100 PageSize *int32 `json:"page_size,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // waf域名配置类别 0 基础信息,1 waf防护配置信息 Type *ListEdgeWafDomainsRequestType `json:"type,omitempty"` }
ListEdgeWafDomainsRequest Request Object
func (ListEdgeWafDomainsRequest) String ¶
func (o ListEdgeWafDomainsRequest) String() string
type ListEdgeWafDomainsRequestType ¶
type ListEdgeWafDomainsRequestType struct {
// contains filtered or unexported fields
}
func (ListEdgeWafDomainsRequestType) MarshalJSON ¶
func (c ListEdgeWafDomainsRequestType) MarshalJSON() ([]byte, error)
func (*ListEdgeWafDomainsRequestType) UnmarshalJSON ¶
func (c *ListEdgeWafDomainsRequestType) UnmarshalJSON(b []byte) error
func (ListEdgeWafDomainsRequestType) Value ¶
func (c ListEdgeWafDomainsRequestType) Value() string
type ListEdgeWafDomainsRequestTypeEnum ¶
type ListEdgeWafDomainsRequestTypeEnum struct { E_0 ListEdgeWafDomainsRequestType E_1 ListEdgeWafDomainsRequestType }
func GetListEdgeWafDomainsRequestTypeEnum ¶
func GetListEdgeWafDomainsRequestTypeEnum() ListEdgeWafDomainsRequestTypeEnum
type ListEdgeWafDomainsResponse ¶
type ListEdgeWafDomainsResponse struct { // 全部防护域名的数量 Total *int64 `json:"total,omitempty"` // 详细的防护域名信息 DomainList *[]ShowWafDomainResponseBody `json:"domain_list,omitempty"` HttpStatusCode int `json:"-"` }
ListEdgeWafDomainsResponse Response Object
func (ListEdgeWafDomainsResponse) String ¶
func (o ListEdgeWafDomainsResponse) String() string
type ListPolicyRequest ¶
type ListPolicyRequest struct { // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 Page *int32 `json:"page,omitempty"` // 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 Pagesize *int32 `json:"pagesize,omitempty"` // 策略名称 Name *string `json:"name,omitempty"` }
ListPolicyRequest Request Object
func (ListPolicyRequest) String ¶
func (o ListPolicyRequest) String() string
type ListPolicyResponse ¶
type ListPolicyResponse struct { // 防护策略的数量 Total *int32 `json:"total,omitempty"` // 防护策略的具体内容 Items *[]PolicyResponse `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
ListPolicyResponse Response Object
func (ListPolicyResponse) String ¶
func (o ListPolicyResponse) String() string
type PolicyAction ¶
type PolicyAction struct { // web基础防护动作(log为仅记录、block为拦截) Category *PolicyActionCategory `json:"category,omitempty"` }
PolicyAction 防护动作
func (PolicyAction) String ¶
func (o PolicyAction) String() string
type PolicyActionCategory ¶
type PolicyActionCategory struct {
// contains filtered or unexported fields
}
func (PolicyActionCategory) MarshalJSON ¶
func (c PolicyActionCategory) MarshalJSON() ([]byte, error)
func (*PolicyActionCategory) UnmarshalJSON ¶
func (c *PolicyActionCategory) UnmarshalJSON(b []byte) error
func (PolicyActionCategory) Value ¶
func (c PolicyActionCategory) Value() string
type PolicyActionCategoryEnum ¶
type PolicyActionCategoryEnum struct { BLOCK PolicyActionCategory LOG PolicyActionCategory }
func GetPolicyActionCategoryEnum ¶
func GetPolicyActionCategoryEnum() PolicyActionCategoryEnum
type PolicyOption ¶
type PolicyOption struct { // 基础防护是否开启 Webattack *bool `json:"webattack,omitempty"` // 常规检测是否开启 Common *bool `json:"common,omitempty"` // 预留参数,改参数值一直为true,用户可忽略该参数值 Crawler *bool `json:"crawler,omitempty"` // 搜索engine是否开启 CrawlerEngine *bool `json:"crawler_engine,omitempty"` // 反爬虫检测是否开启 CrawlerScanner *bool `json:"crawler_scanner,omitempty"` // 脚本反爬虫是否开启 CrawlerScript *bool `json:"crawler_script,omitempty"` // 其他爬虫是否开启 CrawlerOther *bool `json:"crawler_other,omitempty"` // Webshell检测是否开启 Webshell *bool `json:"webshell,omitempty"` // cc规则是否开启 Cc *bool `json:"cc,omitempty"` // 精准防护是否开启 Custom *bool `json:"custom,omitempty"` // 黑白名单防护是否开启 Whiteblackip *bool `json:"whiteblackip,omitempty"` // 地理位置访问控制规则是否开启 Geoip *bool `json:"geoip,omitempty"` // 误报屏蔽是否开启 Ignore *bool `json:"ignore,omitempty"` // 隐私屏蔽是否开启 Privacy *bool `json:"privacy,omitempty"` // 网页防篡改规则是否开启 Antitamper *bool `json:"antitamper,omitempty"` // 防敏感信息泄露规则是否开启 Antileakage *bool `json:"antileakage,omitempty"` // 网站反爬虫总开关是否开启 BotEnable *bool `json:"bot_enable,omitempty"` // modulex智能cc防护是否开启,该特性是公测特性,在公测期间,只支持仅记录模式。 ModulexEnabled *bool `json:"modulex_enabled,omitempty"` }
PolicyOption 防护策略检测模块开关选项,如是否开启Web基础防护等
func (PolicyOption) String ¶
func (o PolicyOption) String() string
type PolicyResponse ¶
type PolicyResponse struct { // 防护策略id Id *string `json:"id,omitempty"` // 防护策略名 Name *string `json:"name,omitempty"` // Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 Level *int32 `json:"level,omitempty"` // 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 FullDetection *bool `json:"full_detection,omitempty"` RobotAction *Action `json:"robot_action,omitempty"` Action *PolicyAction `json:"action,omitempty"` Options *PolicyOption `json:"options,omitempty"` // 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 ModulexOptions map[string]interface{} `json:"modulex_options,omitempty"` // 与防护策略绑定的防护的域名id数组 Hosts *[]string `json:"hosts,omitempty"` // 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 BindHost *[]BindHost `json:"bind_host,omitempty"` // 扩展字段,用于存放Web基础防护中一些开关配置等信息 Extend map[string]string `json:"extend,omitempty"` // 创建防护策略的时间 Timestamp *int64 `json:"timestamp,omitempty"` }
PolicyResponse 防护策略详情
func (PolicyResponse) String ¶
func (o PolicyResponse) String() string
type ShowCdnDomainResponseBody ¶
type ShowCdnDomainResponseBody struct { // 域名 DomainName *string `json:"domain_name,omitempty"` // 加速域名状态。取值意义: - online表示“已开启” - offline表示“已停用” - configuring表示“配置中” - configure_failed表示“配置失败” - checking表示“审核中” - check_failed表示“审核未通过” - deleting表示“删除中”。 DomainStatus *string `json:"domain_status,omitempty"` // 域名id DomainId *string `json:"domain_id,omitempty"` // 域名使用的证书id CertificateId *string `json:"certificate_id,omitempty"` // 域名业务区域 ServiceArea *ShowCdnDomainResponseBodyServiceArea `json:"service_area,omitempty"` // 是否开启ipv6加速:0关闭/1开启 Ipv6Accelerate *int32 `json:"ipv6_accelerate,omitempty"` // 域名业务类型。取值意义: - web表示“网站加速” - download表示“文件下载加速” - video表示“点播加速” - wholeSite表示“全站加速” BusinessType *string `json:"business_type,omitempty"` // 是否启用https:0关闭/1开启 HttpsStatus *int32 `json:"https_status,omitempty"` // 强制重定向:0不开启重定向/1强制重定向为HTTP/2强制重定向为HTTPS ForceRedirect *int32 `json:"force_redirect,omitempty"` ExtendedTags *CdnDomainTags `json:"extended_tags,omitempty"` // 是否为waf防护域名 IsAdded *bool `json:"is_added,omitempty"` }
ShowCdnDomainResponseBody CDN域名详情
func (ShowCdnDomainResponseBody) String ¶
func (o ShowCdnDomainResponseBody) String() string
type ShowCdnDomainResponseBodyServiceArea ¶
type ShowCdnDomainResponseBodyServiceArea struct {
// contains filtered or unexported fields
}
func (ShowCdnDomainResponseBodyServiceArea) MarshalJSON ¶
func (c ShowCdnDomainResponseBodyServiceArea) MarshalJSON() ([]byte, error)
func (*ShowCdnDomainResponseBodyServiceArea) UnmarshalJSON ¶
func (c *ShowCdnDomainResponseBodyServiceArea) UnmarshalJSON(b []byte) error
func (ShowCdnDomainResponseBodyServiceArea) Value ¶
func (c ShowCdnDomainResponseBodyServiceArea) Value() string
type ShowCdnDomainResponseBodyServiceAreaEnum ¶
type ShowCdnDomainResponseBodyServiceAreaEnum struct { MAINLAND_CHINA ShowCdnDomainResponseBodyServiceArea OUTSIDE_MAINLAND_CHINA ShowCdnDomainResponseBodyServiceArea GLOBAL ShowCdnDomainResponseBodyServiceArea EUROPE ShowCdnDomainResponseBodyServiceArea }
func GetShowCdnDomainResponseBodyServiceAreaEnum ¶
func GetShowCdnDomainResponseBodyServiceAreaEnum() ShowCdnDomainResponseBodyServiceAreaEnum
type ShowEdgeWafDomainsRequest ¶
type ShowEdgeWafDomainsRequest struct { // 防护域名id Domainid string `json:"domainid"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ShowEdgeWafDomainsRequest Request Object
func (ShowEdgeWafDomainsRequest) String ¶
func (o ShowEdgeWafDomainsRequest) String() string
type ShowEdgeWafDomainsResponse ¶
type ShowEdgeWafDomainsResponse struct { // 域名id Id *string `json:"id,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 上一次开启防护的时间 OpenTime *int64 `json:"open_time,omitempty"` // 上一次关闭防护的时间 CloseTime *int64 `json:"close_time,omitempty"` // cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) DispatchStatus *int32 `json:"dispatch_status,omitempty"` // 域名在CDN所属区域 ServiceArea *string `json:"service_area,omitempty"` // 域名名称 WebTag *string `json:"web_tag,omitempty"` // 域名描述 Description *string `json:"description,omitempty"` // 策略id PolicyId *string `json:"policy_id,omitempty"` // 协议 Protocol *ShowEdgeWafDomainsResponseProtocol `json:"protocol,omitempty"` // 证书id CertificateId *string `json:"certificate_id,omitempty"` // 证书名称 CertificateName *string `json:"certificate_name,omitempty"` // 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 Tls *ShowEdgeWafDomainsResponseTls `json:"tls,omitempty"` // 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM Cipher *ShowEdgeWafDomainsResponseCipher `json:"cipher,omitempty"` // 防护状态: - 0-关闭 - 1-开启 ProtectStatus *int32 `json:"protect_status,omitempty"` // 接入状态: - 0-未接入 - 1-已接入 AccessStatus *int32 `json:"access_status,omitempty"` // 创建域名的时间,13位时间戳 CreateTime *int64 `json:"create_time,omitempty"` BlockPage *WafBlockPage `json:"block_page,omitempty"` TrafficMark *WafTrafficMark `json:"traffic_mark,omitempty"` Flag *Flag `json:"flag,omitempty"` // 域名可扩展属性 Extend map[string]string `json:"extend,omitempty"` // 是否为ddos防护域名 IsAdded *bool `json:"is_added,omitempty"` HttpStatusCode int `json:"-"` }
ShowEdgeWafDomainsResponse Response Object
func (ShowEdgeWafDomainsResponse) String ¶
func (o ShowEdgeWafDomainsResponse) String() string
type ShowEdgeWafDomainsResponseCipher ¶
type ShowEdgeWafDomainsResponseCipher struct {
// contains filtered or unexported fields
}
func (ShowEdgeWafDomainsResponseCipher) MarshalJSON ¶
func (c ShowEdgeWafDomainsResponseCipher) MarshalJSON() ([]byte, error)
func (*ShowEdgeWafDomainsResponseCipher) UnmarshalJSON ¶
func (c *ShowEdgeWafDomainsResponseCipher) UnmarshalJSON(b []byte) error
func (ShowEdgeWafDomainsResponseCipher) Value ¶
func (c ShowEdgeWafDomainsResponseCipher) Value() string
type ShowEdgeWafDomainsResponseCipherEnum ¶
type ShowEdgeWafDomainsResponseCipherEnum struct { CIPHER_1 ShowEdgeWafDomainsResponseCipher CIPHER_2 ShowEdgeWafDomainsResponseCipher CIPHER_3 ShowEdgeWafDomainsResponseCipher CIPHER_4 ShowEdgeWafDomainsResponseCipher CIPHER_DEFAULT ShowEdgeWafDomainsResponseCipher }
func GetShowEdgeWafDomainsResponseCipherEnum ¶
func GetShowEdgeWafDomainsResponseCipherEnum() ShowEdgeWafDomainsResponseCipherEnum
type ShowEdgeWafDomainsResponseProtocol ¶
type ShowEdgeWafDomainsResponseProtocol struct {
// contains filtered or unexported fields
}
func (ShowEdgeWafDomainsResponseProtocol) MarshalJSON ¶
func (c ShowEdgeWafDomainsResponseProtocol) MarshalJSON() ([]byte, error)
func (*ShowEdgeWafDomainsResponseProtocol) UnmarshalJSON ¶
func (c *ShowEdgeWafDomainsResponseProtocol) UnmarshalJSON(b []byte) error
func (ShowEdgeWafDomainsResponseProtocol) Value ¶
func (c ShowEdgeWafDomainsResponseProtocol) Value() string
type ShowEdgeWafDomainsResponseProtocolEnum ¶
type ShowEdgeWafDomainsResponseProtocolEnum struct { HTTP ShowEdgeWafDomainsResponseProtocol HTTPS ShowEdgeWafDomainsResponseProtocol }
func GetShowEdgeWafDomainsResponseProtocolEnum ¶
func GetShowEdgeWafDomainsResponseProtocolEnum() ShowEdgeWafDomainsResponseProtocolEnum
type ShowEdgeWafDomainsResponseTls ¶
type ShowEdgeWafDomainsResponseTls struct {
// contains filtered or unexported fields
}
func (ShowEdgeWafDomainsResponseTls) MarshalJSON ¶
func (c ShowEdgeWafDomainsResponseTls) MarshalJSON() ([]byte, error)
func (*ShowEdgeWafDomainsResponseTls) UnmarshalJSON ¶
func (c *ShowEdgeWafDomainsResponseTls) UnmarshalJSON(b []byte) error
func (ShowEdgeWafDomainsResponseTls) Value ¶
func (c ShowEdgeWafDomainsResponseTls) Value() string
type ShowEdgeWafDomainsResponseTlsEnum ¶
type ShowEdgeWafDomainsResponseTlsEnum struct { TLS_V1_0 ShowEdgeWafDomainsResponseTls TLS_V1_1 ShowEdgeWafDomainsResponseTls TLS_V1_2 ShowEdgeWafDomainsResponseTls }
func GetShowEdgeWafDomainsResponseTlsEnum ¶
func GetShowEdgeWafDomainsResponseTlsEnum() ShowEdgeWafDomainsResponseTlsEnum
type ShowStatisticsEventRequest ¶
type ShowStatisticsEventRequest struct { // 开始时间(13位时间戳),需要和end_time同时使用 StartTime int64 `json:"start_time"` // 结束时间(13位时间戳),需要和start_time同时使用 EndTime int64 `json:"end_time"` // 类型: - attack_count——不同类型攻击事件次数 - flow_drop_count——访问与攻击次数 - ddos_attack_count——DDos攻击次数 Type ShowStatisticsEventRequestType `json:"type"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ShowStatisticsEventRequest Request Object
func (ShowStatisticsEventRequest) String ¶
func (o ShowStatisticsEventRequest) String() string
type ShowStatisticsEventRequestType ¶
type ShowStatisticsEventRequestType struct {
// contains filtered or unexported fields
}
func (ShowStatisticsEventRequestType) MarshalJSON ¶
func (c ShowStatisticsEventRequestType) MarshalJSON() ([]byte, error)
func (*ShowStatisticsEventRequestType) UnmarshalJSON ¶
func (c *ShowStatisticsEventRequestType) UnmarshalJSON(b []byte) error
func (ShowStatisticsEventRequestType) Value ¶
func (c ShowStatisticsEventRequestType) Value() string
type ShowStatisticsEventRequestTypeEnum ¶
type ShowStatisticsEventRequestTypeEnum struct { ATTACK_COUNT ShowStatisticsEventRequestType FLOW_DROP_COUNT ShowStatisticsEventRequestType DDOS_ATTACK_COUNT ShowStatisticsEventRequestType }
func GetShowStatisticsEventRequestTypeEnum ¶
func GetShowStatisticsEventRequestTypeEnum() ShowStatisticsEventRequestTypeEnum
type ShowStatisticsEventResponse ¶
type ShowStatisticsEventResponse struct { // DDos攻击事件次数,type=ddos_attack_count返回 Value *int64 `json:"value,omitempty"` // WAF攻击事件次数,type=attack_count时返回 Waf *[]TimeSeriesData `json:"waf,omitempty"` // BOT攻击事件次数,type=attack_count时返回 Bot *[]TimeSeriesData `json:"bot,omitempty"` // CC攻击事件次数,type=attack_count时返回 Cc *[]TimeSeriesData `json:"cc,omitempty"` // DDos攻击事件次数,type=attack_count返回 Ddos *[]TimeSeriesData `json:"ddos,omitempty"` // 访问次数,type=flow_drop_count返回 Flow *[]TimeSeriesData `json:"flow,omitempty"` // 攻击次数,type=flow_drop_count返回 Drop *[]TimeSeriesData `json:"drop,omitempty"` HttpStatusCode int `json:"-"` }
ShowStatisticsEventResponse Response Object
func (ShowStatisticsEventResponse) String ¶
func (o ShowStatisticsEventResponse) String() string
type ShowStatisticsTrafficRequest ¶
type ShowStatisticsTrafficRequest struct { // 开始时间(13位时间戳),需要和end_time同时使用 StartTime int64 `json:"start_time"` // 结束时间(13位时间戳),需要和start_time同时使用 EndTime int64 `json:"end_time"` // 类型: - max_flow_bandwidth——DDos入流量带宽峰值 - max_drop_bandwidth——DDos入流量带宽峰值 - ddos_flow——DDos入流量 - flow_drop_traffic——入流量与清洗流量 - attack_traffic——不同类型攻击流量 Type ShowStatisticsTrafficRequestType `json:"type"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ShowStatisticsTrafficRequest Request Object
func (ShowStatisticsTrafficRequest) String ¶
func (o ShowStatisticsTrafficRequest) String() string
type ShowStatisticsTrafficRequestType ¶
type ShowStatisticsTrafficRequestType struct {
// contains filtered or unexported fields
}
func (ShowStatisticsTrafficRequestType) MarshalJSON ¶
func (c ShowStatisticsTrafficRequestType) MarshalJSON() ([]byte, error)
func (*ShowStatisticsTrafficRequestType) UnmarshalJSON ¶
func (c *ShowStatisticsTrafficRequestType) UnmarshalJSON(b []byte) error
func (ShowStatisticsTrafficRequestType) Value ¶
func (c ShowStatisticsTrafficRequestType) Value() string
type ShowStatisticsTrafficRequestTypeEnum ¶
type ShowStatisticsTrafficRequestTypeEnum struct { MAX_FLOW_BANDWIDTH ShowStatisticsTrafficRequestType MAX_DROP_BANDWIDTH ShowStatisticsTrafficRequestType DDOS_FLOW ShowStatisticsTrafficRequestType FLOW_DROP_TRAFFIC ShowStatisticsTrafficRequestType ATTACK_TRAFFIC ShowStatisticsTrafficRequestType }
func GetShowStatisticsTrafficRequestTypeEnum ¶
func GetShowStatisticsTrafficRequestTypeEnum() ShowStatisticsTrafficRequestTypeEnum
type ShowStatisticsTrafficResponse ¶
type ShowStatisticsTrafficResponse struct { // 流量数据值,type=max_flow_bandwidth/max_drop_bandwidth/ddos_flow时返回,单位:Kbps Value *int64 `json:"value,omitempty"` // 入流量,type=flow_drop_traffic时返回 Flow *[]TimeSeriesData `json:"flow,omitempty"` // 清洗流量,type=flow_drop_traffic时返回 Drop *[]TimeSeriesData `json:"drop,omitempty"` // WAF攻击流量,type=attack_traffic时返回 Waf *[]TimeSeriesData `json:"waf,omitempty"` // BOT攻击流量,type=attack_traffic时返回 Bot *[]TimeSeriesData `json:"bot,omitempty"` // CC攻击流量,type=attack_traffic时返回 Cc *[]TimeSeriesData `json:"cc,omitempty"` // DDoS攻击流量,type=attack_traffic时返回 Ddos *[]TimeSeriesData `json:"ddos,omitempty"` HttpStatusCode int `json:"-"` }
ShowStatisticsTrafficResponse Response Object
func (ShowStatisticsTrafficResponse) String ¶
func (o ShowStatisticsTrafficResponse) String() string
type ShowWafDomainResponseBody ¶
type ShowWafDomainResponseBody struct { // 域名id Id *string `json:"id,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 租户ID TenantId *string `json:"tenant_id,omitempty"` // 上一次开启防护的时间 OpenTime *int64 `json:"open_time,omitempty"` // 上一次关闭防护的时间 CloseTime *int64 `json:"close_time,omitempty"` // cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) DispatchStatus *int32 `json:"dispatch_status,omitempty"` // 域名在CDN所属区域 ServiceArea *string `json:"service_area,omitempty"` // 域名名称 WebTag *string `json:"web_tag,omitempty"` // 域名描述 Description *string `json:"description,omitempty"` // 策略id PolicyId *string `json:"policy_id,omitempty"` // 协议 Protocol *ShowWafDomainResponseBodyProtocol `json:"protocol,omitempty"` // 证书id CertificateId *string `json:"certificate_id,omitempty"` // 证书名称 CertificateName *string `json:"certificate_name,omitempty"` // 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 Tls *ShowWafDomainResponseBodyTls `json:"tls,omitempty"` // 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM Cipher *ShowWafDomainResponseBodyCipher `json:"cipher,omitempty"` // 防护状态: - 0-关闭 - 1-开启 ProtectStatus *int32 `json:"protect_status,omitempty"` // 接入状态: - 0-未接入 - 1-已接入 AccessStatus *int32 `json:"access_status,omitempty"` // 创建域名的时间,13位时间戳 CreateTime *int64 `json:"create_time,omitempty"` BlockPage *WafBlockPage `json:"block_page,omitempty"` TrafficMark *WafTrafficMark `json:"traffic_mark,omitempty"` Flag *Flag `json:"flag,omitempty"` // 域名可扩展属性 Extend map[string]string `json:"extend,omitempty"` // 是否为ddos防护域名 IsAdded *bool `json:"is_added,omitempty"` }
ShowWafDomainResponseBody 防护域名详情
func (ShowWafDomainResponseBody) String ¶
func (o ShowWafDomainResponseBody) String() string
type ShowWafDomainResponseBodyCipher ¶
type ShowWafDomainResponseBodyCipher struct {
// contains filtered or unexported fields
}
func (ShowWafDomainResponseBodyCipher) MarshalJSON ¶
func (c ShowWafDomainResponseBodyCipher) MarshalJSON() ([]byte, error)
func (*ShowWafDomainResponseBodyCipher) UnmarshalJSON ¶
func (c *ShowWafDomainResponseBodyCipher) UnmarshalJSON(b []byte) error
func (ShowWafDomainResponseBodyCipher) Value ¶
func (c ShowWafDomainResponseBodyCipher) Value() string
type ShowWafDomainResponseBodyCipherEnum ¶
type ShowWafDomainResponseBodyCipherEnum struct { CIPHER_1 ShowWafDomainResponseBodyCipher CIPHER_2 ShowWafDomainResponseBodyCipher CIPHER_3 ShowWafDomainResponseBodyCipher CIPHER_4 ShowWafDomainResponseBodyCipher CIPHER_DEFAULT ShowWafDomainResponseBodyCipher }
func GetShowWafDomainResponseBodyCipherEnum ¶
func GetShowWafDomainResponseBodyCipherEnum() ShowWafDomainResponseBodyCipherEnum
type ShowWafDomainResponseBodyProtocol ¶
type ShowWafDomainResponseBodyProtocol struct {
// contains filtered or unexported fields
}
func (ShowWafDomainResponseBodyProtocol) MarshalJSON ¶
func (c ShowWafDomainResponseBodyProtocol) MarshalJSON() ([]byte, error)
func (*ShowWafDomainResponseBodyProtocol) UnmarshalJSON ¶
func (c *ShowWafDomainResponseBodyProtocol) UnmarshalJSON(b []byte) error
func (ShowWafDomainResponseBodyProtocol) Value ¶
func (c ShowWafDomainResponseBodyProtocol) Value() string
type ShowWafDomainResponseBodyProtocolEnum ¶
type ShowWafDomainResponseBodyProtocolEnum struct { HTTP ShowWafDomainResponseBodyProtocol HTTPS ShowWafDomainResponseBodyProtocol }
func GetShowWafDomainResponseBodyProtocolEnum ¶
func GetShowWafDomainResponseBodyProtocolEnum() ShowWafDomainResponseBodyProtocolEnum
type ShowWafDomainResponseBodyTls ¶
type ShowWafDomainResponseBodyTls struct {
// contains filtered or unexported fields
}
func (ShowWafDomainResponseBodyTls) MarshalJSON ¶
func (c ShowWafDomainResponseBodyTls) MarshalJSON() ([]byte, error)
func (*ShowWafDomainResponseBodyTls) UnmarshalJSON ¶
func (c *ShowWafDomainResponseBodyTls) UnmarshalJSON(b []byte) error
func (ShowWafDomainResponseBodyTls) Value ¶
func (c ShowWafDomainResponseBodyTls) Value() string
type ShowWafDomainResponseBodyTlsEnum ¶
type ShowWafDomainResponseBodyTlsEnum struct { TLS_V1_0 ShowWafDomainResponseBodyTls TLS_V1_1 ShowWafDomainResponseBodyTls TLS_V1_2 ShowWafDomainResponseBodyTls }
func GetShowWafDomainResponseBodyTlsEnum ¶
func GetShowWafDomainResponseBodyTlsEnum() ShowWafDomainResponseBodyTlsEnum
type TimeSeriesData ¶
type TimeSeriesData struct { // 13位时间戳 Time *int64 `json:"time,omitempty"` // 数据值,单位:Kbps(查询流量时)、次(查询事件时) Value *float64 `json:"value,omitempty"` }
TimeSeriesData 时间序列数据
func (TimeSeriesData) String ¶
func (o TimeSeriesData) String() string
type UpdateEdgeDDoSDomainsRequest ¶
type UpdateEdgeDDoSDomainsRequest struct { // 域名ID Domainid string `json:"domainid"` Body *UpdateEdgeDDoSDomainsRequestBody `json:"body,omitempty"` }
UpdateEdgeDDoSDomainsRequest Request Object
func (UpdateEdgeDDoSDomainsRequest) String ¶
func (o UpdateEdgeDDoSDomainsRequest) String() string
type UpdateEdgeDDoSDomainsRequestBody ¶
type UpdateEdgeDDoSDomainsRequestBody struct { // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 防护开关(0:关,1:开) ProtectedSwitch UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch `json:"protected_switch"` }
func (UpdateEdgeDDoSDomainsRequestBody) String ¶
func (o UpdateEdgeDDoSDomainsRequestBody) String() string
type UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch ¶
type UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch struct {
// contains filtered or unexported fields
}
func (UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch) MarshalJSON ¶
func (c UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch) MarshalJSON() ([]byte, error)
func (*UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch) UnmarshalJSON ¶
func (c *UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch) UnmarshalJSON(b []byte) error
func (UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch) Value ¶
func (c UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch) Value() int32
type UpdateEdgeDDoSDomainsRequestBodyProtectedSwitchEnum ¶
type UpdateEdgeDDoSDomainsRequestBodyProtectedSwitchEnum struct { E_0 UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch E_1 UpdateEdgeDDoSDomainsRequestBodyProtectedSwitch }
func GetUpdateEdgeDDoSDomainsRequestBodyProtectedSwitchEnum ¶
func GetUpdateEdgeDDoSDomainsRequestBodyProtectedSwitchEnum() UpdateEdgeDDoSDomainsRequestBodyProtectedSwitchEnum
type UpdateEdgeDDoSDomainsResponse ¶
type UpdateEdgeDDoSDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateEdgeDDoSDomainsResponse Response Object
func (UpdateEdgeDDoSDomainsResponse) String ¶
func (o UpdateEdgeDDoSDomainsResponse) String() string
type UpdateEdgeWafDomainsRequest ¶
type UpdateEdgeWafDomainsRequest struct { // 域名 Domainid string `json:"domainid"` Body *UpdateEdgeWafDomainsRequestBody `json:"body,omitempty"` }
UpdateEdgeWafDomainsRequest Request Object
func (UpdateEdgeWafDomainsRequest) String ¶
func (o UpdateEdgeWafDomainsRequest) String() string
type UpdateEdgeWafDomainsRequestBody ¶
type UpdateEdgeWafDomainsRequestBody struct { // 防护状态 ProtectStatus *int32 `json:"protect_status,omitempty"` // 接入状态 AccessStatus *int32 `json:"access_status,omitempty"` // 域名名称 WebTag *string `json:"web_tag,omitempty"` // 域名描述 Description *string `json:"description,omitempty"` // 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 CertificateId *string `json:"certificate_id,omitempty"` // 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 Tls *UpdateEdgeWafDomainsRequestBodyTls `json:"tls,omitempty"` // 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM Cipher *UpdateEdgeWafDomainsRequestBodyCipher `json:"cipher,omitempty"` BlockPage *WafBlockPage `json:"block_page,omitempty"` TrafficMark *WafTrafficMark `json:"traffic_mark,omitempty"` Flag *Flag `json:"flag,omitempty"` // 域名可扩展字段 Extend map[string]string `json:"extend,omitempty"` }
UpdateEdgeWafDomainsRequestBody 更新防护域名的请求
func (UpdateEdgeWafDomainsRequestBody) String ¶
func (o UpdateEdgeWafDomainsRequestBody) String() string
type UpdateEdgeWafDomainsRequestBodyCipher ¶
type UpdateEdgeWafDomainsRequestBodyCipher struct {
// contains filtered or unexported fields
}
func (UpdateEdgeWafDomainsRequestBodyCipher) MarshalJSON ¶
func (c UpdateEdgeWafDomainsRequestBodyCipher) MarshalJSON() ([]byte, error)
func (*UpdateEdgeWafDomainsRequestBodyCipher) UnmarshalJSON ¶
func (c *UpdateEdgeWafDomainsRequestBodyCipher) UnmarshalJSON(b []byte) error
func (UpdateEdgeWafDomainsRequestBodyCipher) Value ¶
func (c UpdateEdgeWafDomainsRequestBodyCipher) Value() string
type UpdateEdgeWafDomainsRequestBodyCipherEnum ¶
type UpdateEdgeWafDomainsRequestBodyCipherEnum struct { CIPHER_1 UpdateEdgeWafDomainsRequestBodyCipher CIPHER_2 UpdateEdgeWafDomainsRequestBodyCipher CIPHER_3 UpdateEdgeWafDomainsRequestBodyCipher CIPHER_4 UpdateEdgeWafDomainsRequestBodyCipher CIPHER_DEFAULT UpdateEdgeWafDomainsRequestBodyCipher }
func GetUpdateEdgeWafDomainsRequestBodyCipherEnum ¶
func GetUpdateEdgeWafDomainsRequestBodyCipherEnum() UpdateEdgeWafDomainsRequestBodyCipherEnum
type UpdateEdgeWafDomainsRequestBodyTls ¶
type UpdateEdgeWafDomainsRequestBodyTls struct {
// contains filtered or unexported fields
}
func (UpdateEdgeWafDomainsRequestBodyTls) MarshalJSON ¶
func (c UpdateEdgeWafDomainsRequestBodyTls) MarshalJSON() ([]byte, error)
func (*UpdateEdgeWafDomainsRequestBodyTls) UnmarshalJSON ¶
func (c *UpdateEdgeWafDomainsRequestBodyTls) UnmarshalJSON(b []byte) error
func (UpdateEdgeWafDomainsRequestBodyTls) Value ¶
func (c UpdateEdgeWafDomainsRequestBodyTls) Value() string
type UpdateEdgeWafDomainsRequestBodyTlsEnum ¶
type UpdateEdgeWafDomainsRequestBodyTlsEnum struct { TLS_V1_0 UpdateEdgeWafDomainsRequestBodyTls TLS_V1_1 UpdateEdgeWafDomainsRequestBodyTls TLS_V1_2 UpdateEdgeWafDomainsRequestBodyTls }
func GetUpdateEdgeWafDomainsRequestBodyTlsEnum ¶
func GetUpdateEdgeWafDomainsRequestBodyTlsEnum() UpdateEdgeWafDomainsRequestBodyTlsEnum
type UpdateEdgeWafDomainsResponse ¶
type UpdateEdgeWafDomainsResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateEdgeWafDomainsResponse Response Object
func (UpdateEdgeWafDomainsResponse) String ¶
func (o UpdateEdgeWafDomainsResponse) String() string
type WafBlockPage ¶
type WafBlockPage struct { // 拦截模板名称 Template string `json:"template"` CustomPage *WafCustomPage `json:"custom_page,omitempty"` // 重定向URL RedirectUrl *string `json:"redirect_url,omitempty"` }
WafBlockPage 拦截页面配置
func (WafBlockPage) String ¶
func (o WafBlockPage) String() string
type WafCustomPage ¶
type WafCustomPage struct { // 返回状态码 StatusCode string `json:"status_code"` // 页面内容类型 ContentType string `json:"content_type"` // 页面内容 Content string `json:"content"` }
WafCustomPage 自定义拦截页面
func (WafCustomPage) String ¶
func (o WafCustomPage) String() string
type WafPolicyAction ¶
type WafPolicyAction struct { // web基础防护动作(log为仅记录、block为拦截) Category *WafPolicyActionCategory `json:"category,omitempty"` // 攻击惩罚规则ID FollowedActionId *string `json:"followed_action_id,omitempty"` }
WafPolicyAction 防护动作
func (WafPolicyAction) String ¶
func (o WafPolicyAction) String() string
type WafPolicyActionCategory ¶
type WafPolicyActionCategory struct {
// contains filtered or unexported fields
}
func (WafPolicyActionCategory) MarshalJSON ¶
func (c WafPolicyActionCategory) MarshalJSON() ([]byte, error)
func (*WafPolicyActionCategory) UnmarshalJSON ¶
func (c *WafPolicyActionCategory) UnmarshalJSON(b []byte) error
func (WafPolicyActionCategory) Value ¶
func (c WafPolicyActionCategory) Value() string
type WafPolicyActionCategoryEnum ¶
type WafPolicyActionCategoryEnum struct { BLOCK WafPolicyActionCategory LOG WafPolicyActionCategory }
func GetWafPolicyActionCategoryEnum ¶
func GetWafPolicyActionCategoryEnum() WafPolicyActionCategoryEnum
type WafPolicyBindHost ¶
type WafPolicyBindHost struct { // 域名ID Id *string `json:"id,omitempty"` // 域名 Hostname *string `json:"hostname,omitempty"` }
WafPolicyBindHost 绑定的域名信息
func (WafPolicyBindHost) String ¶
func (o WafPolicyBindHost) String() string
type WafPolicyOption ¶
type WafPolicyOption struct { // 基础防护是否开启 Webattack *bool `json:"webattack,omitempty"` // 常规检测是否开启 Common *bool `json:"common,omitempty"` // 所有反爬虫是否开启 BotEnable *bool `json:"bot_enable,omitempty"` // 特征反爬虫是否开启 Crawler *bool `json:"crawler,omitempty"` // 搜索engine是否开启 CrawlerEngine *bool `json:"crawler_engine,omitempty"` // 扫描器是否开启 CrawlerScanner *bool `json:"crawler_scanner,omitempty"` // 脚本反爬虫是否开启 CrawlerScript *bool `json:"crawler_script,omitempty"` // 其他爬虫是否开启 CrawlerOther *bool `json:"crawler_other,omitempty"` // Webshell检测是否开启 Webshell *bool `json:"webshell,omitempty"` // cc规则是否开启 Cc *bool `json:"cc,omitempty"` // 精准防护是否开启 Custom *bool `json:"custom,omitempty"` // 攻击惩罚是否开启 FollowedAction *bool `json:"followed_action,omitempty"` // 黑白名单防护是否开启 Whiteblackip *bool `json:"whiteblackip,omitempty"` // 地理位置规则是否开启 Geoip *bool `json:"geoip,omitempty"` // 误报屏蔽是否开启 Ignore *bool `json:"ignore,omitempty"` // 隐私屏蔽是否开启 Privacy *bool `json:"privacy,omitempty"` // 网页防篡改规则是否开启 Antitamper *bool `json:"antitamper,omitempty"` // 防敏感信息泄露规则是否开启 Antileakage *bool `json:"antileakage,omitempty"` // 脚本反爬虫规则是否开启 Anticrawler *bool `json:"anticrawler,omitempty"` }
WafPolicyOption 选项
func (WafPolicyOption) String ¶
func (o WafPolicyOption) String() string
type WafTrafficMark ¶
type WafTrafficMark struct { // 惩罚ip Sip *[]string `json:"sip,omitempty"` // cookie Cookie *string `json:"cookie,omitempty"` // 参数 Params *string `json:"params,omitempty"` }
WafTrafficMark 流量标识(用于攻击惩罚)
func (WafTrafficMark) String ¶
func (o WafTrafficMark) String() string
Source Files ¶
- model_action.go
- model_apply_waf_policy_request.go
- model_apply_waf_policy_request_body.go
- model_apply_waf_policy_response.go
- model_bind_host.go
- model_cdn_domain_tags.go
- model_create_edge_d_do_s_domains_request.go
- model_create_edge_d_do_s_domains_request_body.go
- model_create_edge_d_do_s_domains_response.go
- model_create_edge_waf_domains_request.go
- model_create_edge_waf_domains_request_body.go
- model_create_edge_waf_domains_response.go
- model_create_policy_request.go
- model_create_policy_request_body.go
- model_create_policy_response.go
- model_delete_edge_d_do_s_domains_request.go
- model_delete_edge_d_do_s_domains_response.go
- model_delete_edge_waf_domains_request.go
- model_delete_edge_waf_domains_response.go
- model_delete_policy_request.go
- model_delete_policy_response.go
- model_edge_d_do_s_domain_vo.go
- model_edge_sec_product_resource.go
- model_flag.go
- model_list_cdn_domains_request.go
- model_list_cdn_domains_response.go
- model_list_edge_d_do_s_domains_request.go
- model_list_edge_d_do_s_domains_response.go
- model_list_edge_sec_subscription_request.go
- model_list_edge_sec_subscription_response.go
- model_list_edge_waf_domains_request.go
- model_list_edge_waf_domains_response.go
- model_list_policy_request.go
- model_list_policy_response.go
- model_policy_action.go
- model_policy_option.go
- model_policy_response.go
- model_show_cdn_domain_response_body.go
- model_show_edge_waf_domains_request.go
- model_show_edge_waf_domains_response.go
- model_show_statistics_event_request.go
- model_show_statistics_event_response.go
- model_show_statistics_traffic_request.go
- model_show_statistics_traffic_response.go
- model_show_waf_domain_response_body.go
- model_time_series_data.go
- model_update_edge_d_do_s_domains_request.go
- model_update_edge_d_do_s_domains_request_body.go
- model_update_edge_d_do_s_domains_response.go
- model_update_edge_waf_domains_request.go
- model_update_edge_waf_domains_request_body.go
- model_update_edge_waf_domains_response.go
- model_waf_block_page.go
- model_waf_custom_page.go
- model_waf_policy_action.go
- model_waf_policy_bind_host.go
- model_waf_policy_option.go
- model_waf_traffic_mark.go