Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ NewRuleGroup
Function
NewRuleGroup
internal/waf/rule_group.go:21–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
NewRuleGroup() *RuleGroup {
22
return
&RuleGroup{
23
IsOn: true,
24
}
25
}
26
27
func
(this *RuleGroup) Init(waf *WAF) error {
28
this.hasRuleSets = len(this.RuleSets) > 0
Callers
3
TestWAF_MatchRequest
Function · 0.92
TestWAF_MatchRequest_Allow
Function · 0.92
TestWAF_MatchRequest_Allow2
Function · 0.92
Calls
no outgoing calls
Tested by
3
TestWAF_MatchRequest
Function · 0.74
TestWAF_MatchRequest_Allow
Function · 0.74
TestWAF_MatchRequest_Allow2
Function · 0.74