WEB应用防火墙 WAF-创建防敏感信息泄露规则:请求参数

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

请求参数

表3 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token,通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。

Content-Type

String

内容类型

缺省值:application/json;charset=utf8

表4 请求Body参数

参数

是否必选

参数类型

描述

url

String

规则应用的url

category

String

类别(响应码:code,敏感信息:sensitive)

枚举值:

  • code

  • sensitive

contents

Array of strings

规则内容(http状态码:400 、401、402 、 403 、404 、 405 、500 、501 、502 、503、 504 、507;手机:phone、身份证号:id_card、邮箱:email)

description

String

规则描述

support.huaweicloud.com/api-waf/CreateAntileakageRule.html