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

Method ContainsIPLists

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

Source from the content-addressed store, hash-verified

36}
37
38func (n *Node) ContainsIPLists() bool {
39 return len(n.Whitelist.B_Ips) > 0 || len(n.Whitelist.B_Cidrs) > 0
40}
41
42func (n *Node) CheckIPsWL(p *pipeline.Event) bool {
43 srcs := p.ParseIPSources()

Callers 2

ContainsWLsMethod · 0.95
CheckIPsWLMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected