为 HTTP DDoS 攻击防护托管规则集设置重写表达式,以定义敏感度级别或操作调整的特定范围。
例如,您可以为不同的请求 URI 路径设置不同的敏感度级别:对于 URI 路径 A 设置为中等 (medium) 敏感度级别,对于 URI 路径 B 设置为低 (low) 敏感度级别。
您可以在重写表达式中使用以下字段:
cf.bot_management.ja3_hashcf.bot_management.ja4cf.client.botcf.tls_ciphercf.tls_client_auth.cert_verifiedcf.tls_versioncf.verified_bot_categoryhttp.cookiehttp.hosthttp.refererhttp.request.headershttp.request.headers.nameshttp.request.headers.truncatedhttp.request.headers.valueshttp.request.urihttp.request.uri.pathhttp.request.uri.path.extensionhttp.request.uri.queryhttp.request.full_urihttp.request.methodhttp.request.versionhttp.request.cookieshttp.user_agenthttp.x_forwarded_forip.srcip.src.asnumip.src.continentip.src.countryip.src.is_in_european_unionssl
有关更多信息,请参阅 Rules 语言文档中的字段参考 (Fields reference)。