MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / AddRuleSet

Method AddRuleSet

internal/waf/rule_group.go:41–43  ·  view source on GitHub ↗
(ruleSet *RuleSet)

Source from the content-addressed store, hash-verified

39}
40
41func (this *RuleGroup) AddRuleSet(ruleSet *RuleSet) {
42 this.RuleSets = append(this.RuleSets, ruleSet)
43}
44
45func (this *RuleGroup) FindRuleSet(id int64) *RuleSet {
46 for _, ruleSet := range this.RuleSets {

Callers 4

MergeTemplateMethod · 0.80
TestWAF_MatchRequestFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestWAF_MatchRequestFunction · 0.64