WEB应用防火墙 WAF-创建防篡改规则:请求示例

时间:2024-01-26 15:43:49

请求示例

在项目id为project_id,防护策略id为policy_id的防护策略下创建防篡改规则。创建防篡改规则的防护网站为"www.demo.com",防篡改规则防护的url为 "/test",规则描述为"demo"。

POST https://{Endpoint}/v1/{project_id}/waf/policy/{policy_id}/antitamper?enterprise_project_id=0

{
  "hostname" : "www.demo.com",
  "url" : "/test",
  "description" : "demo"
}
support.huaweicloud.com/api-waf/CreateAntiTamperRule.html