MCPcopy 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
43func NewWAF() *WAF {
44 return &WAF{
45 IsOn: true,
46 actionMap: map[int64]ActionInterface{},
47 }
48}
49
50func NewWAFFromFile(path string) (waf *WAF, err error) {
51 if len(path) == 0 {

Callers 4

TestWAF_MatchRequestFunction · 0.92

Calls

no outgoing calls

Tested by 4

TestWAF_MatchRequestFunction · 0.74