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

Method ContainsExprLists

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

Source from the content-addressed store, hash-verified

32}
33
34func (n *Node) ContainsExprLists() bool {
35 return len(n.Whitelist.B_Exprs) > 0
36}
37
38func (n *Node) ContainsIPLists() bool {
39 return len(n.Whitelist.B_Ips) > 0 || len(n.Whitelist.B_Cidrs) > 0

Callers 2

ContainsWLsMethod · 0.95
CheckExprWLMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected