请求变量增加${cname},WAF checkpoint增加cname和isCNAME

This commit is contained in:
GoEdgeLab
2022-11-16 15:01:00 +08:00
parent 17c53d8b38
commit 6260a38378
3 changed files with 17 additions and 0 deletions

View File

@@ -152,6 +152,21 @@ var AllCheckpoints = []*HTTPFirewallCheckpointDefinition{
IsRequest: true,
Priority: 100,
},
{
Name: "CNAME",
Prefix: "cname",
Description: "当前网站服务CNAME比如38b48e4f.goedge.cn",
IsRequest: true,
Priority: 100,
},
{
Name: "是否为CNAME",
Prefix: "isCNAME",
Description: "是否为CNAME值为1或0",
IsRequest: true,
Priority: 100,
DataType: "bool",
},
{
Name: "请求来源URL",
Prefix: "referer",