WAF增加“请求报头最大长度”参数

This commit is contained in:
刘祥超
2024-05-06 21:06:55 +08:00
parent bd417a3795
commit 02da06dffd
2 changed files with 47 additions and 2 deletions

View File

@@ -243,13 +243,21 @@ var AllCheckpoints = []*CheckpointDefinition{
Priority: 100,
},
{
Name: "单个Header值",
Name: "单个报头值",
Prefix: "header",
Description: "单个Header值",
Description: "单个报头值",
HasParams: true,
Instance: new(RequestHeaderCheckpoint),
Priority: 100,
},
{
Name: "请求报头最大长度",
Prefix: "headerMaxLength",
Description: "最长的请求报头的长度。",
HasParams: false,
Instance: new(RequestHeaderMaxLengthCheckpoint),
Priority: 100,
},
{
Name: "国家/地区名称",
Prefix: "geoCountryName",