MCPcopy 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
21func NewRuleGroup() *RuleGroup {
22 return &RuleGroup{
23 IsOn: true,
24 }
25}
26
27func (this *RuleGroup) Init(waf *WAF) error {
28 this.hasRuleSets = len(this.RuleSets) > 0

Callers 3

TestWAF_MatchRequestFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestWAF_MatchRequestFunction · 0.74