MCPcopy
hub / github.com/crowdsecurity/crowdsec / ContainsWLs

Method ContainsWLs

pkg/parser/whitelist.go:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (n *Node) ContainsWLs() bool {
31 return n.ContainsIPLists() || n.ContainsExprLists()
32}
33
34func (n *Node) ContainsExprLists() bool {
35 return len(n.Whitelist.B_Exprs) > 0

Callers 2

CompileWLsMethod · 0.95
processMethod · 0.95

Calls 2

ContainsIPListsMethod · 0.95
ContainsExprListsMethod · 0.95

Tested by

no test coverage detected