Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
30
func
(n *Node) ContainsWLs() bool {
31
return
n.ContainsIPLists() || n.ContainsExprLists()
32
}
33
34
func
(n *Node) ContainsExprLists() bool {
35
return
len(n.Whitelist.B_Exprs) > 0
Callers
2
CompileWLs
Method · 0.95
process
Method · 0.95
Calls
2
ContainsIPLists
Method · 0.95
ContainsExprLists
Method · 0.95
Tested by
no test coverage detected