mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	WAF增加显示网页动作
This commit is contained in:
		@@ -11,6 +11,7 @@ const (
 | 
			
		||||
	HTTPFirewallActionPost307  HTTPFirewallActionString = "post_307"  // 针对POST的307重定向认证
 | 
			
		||||
	HTTPFirewallActionRecordIP HTTPFirewallActionString = "record_ip" // 记录IP
 | 
			
		||||
	HTTPFirewallActionTag      HTTPFirewallActionString = "tag"       // 标签
 | 
			
		||||
	HTTPFirewallActionPage     HTTPFirewallActionString = "page"      // 显示页面
 | 
			
		||||
	HTTPFirewallActionAllow    HTTPFirewallActionString = "allow"     // allow
 | 
			
		||||
	HTTPFirewallActionGoGroup  HTTPFirewallActionString = "go_group"  // go to next rule group
 | 
			
		||||
	HTTPFirewallActionGoSet    HTTPFirewallActionString = "go_set"    // go to next rule set
 | 
			
		||||
 
 | 
			
		||||
@@ -59,6 +59,12 @@ var AllActions = []*HTTPFirewallActionDefinition{
 | 
			
		||||
		Description: "为匹配的请求打上标签。",
 | 
			
		||||
		Category:    HTTPFirewallActionCategoryAllow,
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		Name:        "显示网页",
 | 
			
		||||
		Code:        HTTPFirewallActionPage,
 | 
			
		||||
		Description: "在网页中显示提示文字。",
 | 
			
		||||
		Category:    HTTPFirewallActionCategoryBlock,
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		Name:     "跳到下一个规则分组",
 | 
			
		||||
		Code:     HTTPFirewallActionGoGroup,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user