础防护模板 详情 请求参数 Headers 参数 除公共头域外,无其它特殊头域 Query 参数 templateKey string 必选 示例代码 基础的请求示例 请求示例 复制 curl -X GET https://example.com/v1/waf/webTemplate/detail?
选择自动集成,此时网站HTML页面由WAF接管,WAF会在页面请求响应时,向页面注入组件script标签,客户网页无需进行代码改造即可完成部署,同时享受线上组件的热更新。
安装Chaincode 安装Chaincode 接口描述 对已上传的chaincode进行安装。 权限说明 请求发起人需要具有合法的AccessKeyID和SecretAccessKey才能发起请求。 注意事项 如果请求中没有用户验证信息(即匿名访问),返回 403 Forbidden ,错误信息: AccessDenied 。
基础防护模板 保存 { headInfo : , debugUrl :{ url : /v1/waf/webTemplate/save , href : , method : POST }, debugDesc : 基础防护模板 保存 , authInfo : , requestCode : {\n \ name\ : \ web防护规则模板名称\ ,\n \ bindInfo\ : [],\
CC规则 保存 { headInfo : , debugUrl :{ url : /v1/waf/ccRules/save , href : http://iapi.baidu-int.com/web/project/358141/apis/api-4813013-run , method : POST }, debugDesc : CC规则 保存 , authInfo : , requestCode
区域封禁规则 保存 { headInfo : , debugUrl :{ url : /v1/waf/regionRules/save , href : , method : POST }, debugDesc : 区域封禁规则 保存 , authInfo : , requestCode : {\n \ ruleName\ : \ 规则名称\ ,\n \ bindInfo\ : [\n {\n
基础防护模板 列表 { headInfo : , debugUrl :{ url : /v1/waf/webTemplate/list , href : , method : POST }, debugDesc : 基础防护模板 列表 , authInfo : , requestCode : {\n \ subdomains\ : [\n \ string\ \n ],\n \ pageNo\
购买方法 新购云虚拟机时选择WAF安全服务包。 立即体验 对已有的云虚拟主机,可以通过 主机管理> 更多操作>购买WAF安全包 来进行WAF的购买和绑定。 立即体验
敏感信息规则 开关 { headInfo : , debugUrl :{ url : /v1/waf/desensitizeRules/switch , href : , method : POST }, debugDesc : 敏感信息规则 开关 , authInfo : , requestCode : {\n \ switch\ : 0,\n \ ruleKey\ : 0\n} , requestHeader
操作步骤: 解压安装包并浏览SDK目录后,将其复制到工程文件夹中。