Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ NewWAF
Function
NewWAF
internal/waf/waf.go:43–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
func
NewWAF() *WAF {
44
return
&WAF{
45
IsOn: true,
46
actionMap:
map
[int64]ActionInterface{},
47
}
48
}
49
50
func
NewWAFFromFile(path string) (waf *WAF, err error) {
51
if
len(path) == 0 {
Callers
4
TestRuleSet_MatchRequest_Allow
Function · 0.92
TestWAF_MatchRequest
Function · 0.92
TestWAF_MatchRequest_Allow
Function · 0.92
TestWAF_MatchRequest_Allow2
Function · 0.92
Calls
no outgoing calls
Tested by
4
TestRuleSet_MatchRequest_Allow
Function · 0.74
TestWAF_MatchRequest
Function · 0.74
TestWAF_MatchRequest_Allow
Function · 0.74
TestWAF_MatchRequest_Allow2
Function · 0.74