检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
表1 个人数据范围列表 类型 收集方式 是否可以修改 是否必须 请求源IP 攻击防护域名时,被WAF拦截或者记录的攻击者IP。 否 是 URL 攻击的防护域名的URL,被WAF拦截或者记录的防护域名的URL。
在独享引擎列表的“IP地址”栏,获取所有创建的独享引擎对应的子网IP地址,即独享引擎实例对应的接入IP。 执行以下命令,验证“TLS v1.2”协议可以访问目标网站。
action action object 请求次数限制到达后采取的防护动作 tag_type String 限速模式: ip:IP限速,根据IP区分单个Web访问者。 cookie:用户限速,根据Cookie键值区分单个Web访问者。
黑白名单防护是否开启 geoip Boolean 地理位置访问控制规则是否开启 ignore Boolean 误报屏蔽是否开启 privacy Boolean 隐私屏蔽是否开启 antitamper Boolean 网页防篡改规则是否开启 antileakage Boolean
网站接入后推荐配置 配置PCI DSS/3DS合规与TLS 开启IPv6防护 开启HTTP2协议 配置WAF到网站服务器的连接超时时间 开启熔断保护功能保护源站安全 配置攻击惩罚的流量标识 配置Header字段转发 修改拦截返回页面 开启Cookie安全属性 父主题: 网站设置
", "type" : "ip", "values" : [ "100.100.100.125" ], "timestamp" : 1650421866870, "producer" : 1, "description" : "demo"
JS挑战:表示WAF向客户端返回一段正常浏览器可以自动执行的JavaScript代码。如果客户端正常执行了JavaScript代码,则WAF在一段时间(默认30分钟)内放行该客户端的所有请求(不需要重复验证),否则拦截请求。
黑白名单防护是否开启 geoip Boolean 地理位置访问控制规则是否开启 ignore Boolean 误报屏蔽是否开启 privacy Boolean 隐私屏蔽是否开启 antitamper Boolean 网页防篡改规则是否开启 antileakage Boolean
" : false, "crawler_other" : false, "webshell" : false, "cc" : true, "custom" : true, "whiteblackip" : true, "geoip"
" : false, "crawler_other" : false, "webshell" : false, "cc" : true, "custom" : true, "whiteblackip" : true, "geoip"
String 域名是否开启ipv6 true:支持 false:不支持 状态码: 400 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息 encoded_authorization_message
可选值为:url、user-agent、ip、params、cookie、referer、header、request_line、method、reqeust index String 子字段: 字段类型为url、user-agent、ip、refer、request_line、method
该用户在6月时,需要通过WAF防护一个网站(业务服务器部署在华为云),且该网站只能通过IP接入WAF。
" : false, "crawler_other" : false, "webshell" : false, "cc" : true, "custom" : true, "whiteblackip" : true, "geoip"
可选值为:url、user-agent、ip、params、cookie、referer、header、request_line、method、reqeust index String 子字段: 字段类型为url、user-agent、ip、refer、request_line、method
可选值为:url、user-agent、ip、params、cookie、referer、header、request_line、method、reqeust index String 子字段: 字段类型为url、user-agent、ip、refer、request_line、method
String 域名是否开启ipv6 true:支持 false:不支持 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误信息 encoded_authorization_message
policy_id 是 String 策略id(策略id从查询防护策略列表接口获取) ruletype 是 String 策略类型 rule_id 是 String 规则id,根据不同的规则类型(ruletype)调用规则列表接口获取规则id,例如黑白名单(whiteblackip
响应示例 状态码: 200 请求成功 { "block_time" : 1233, "category" : "long_ip_block", "description" : "update", "id" : "2c3afdcc982b429da4f72ee483aece3e
offset=0&limit=2 响应示例 状态码: 200 请求成功 { "items" : [ { "block_time" : 305, "category" : "long_ip_block", "description" : "test",