Initial commit (code only without large binaries)
This commit is contained in:
22
EdgeNode/internal/waf/results.go
Normal file
22
EdgeNode/internal/waf/results.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package waf
|
||||
|
||||
// PerformResult action performing result
|
||||
type PerformResult struct {
|
||||
ContinueRequest bool
|
||||
GoNextGroup bool
|
||||
GoNextSet bool
|
||||
IsAllowed bool
|
||||
AllowScope AllowScope
|
||||
}
|
||||
|
||||
// MatchResult request match result
|
||||
type MatchResult struct {
|
||||
GoNext bool
|
||||
HasRequestBody bool
|
||||
Group *RuleGroup
|
||||
Set *RuleSet
|
||||
IsAllowed bool
|
||||
AllowScope AllowScope
|
||||
}
|
||||
Reference in New Issue
Block a user