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

Function LoadAppsecRules

cmd/crowdsec/appsec.go:12–18  ·  view source on GitHub ↗
(hub *cwhub.Hub)

Source from the content-addressed store, hash-verified

10)
11
12func LoadAppsecRules(hub *cwhub.Hub) error {
13 if err := appsec.LoadAppsecRules(hub); err != nil {
14 return fmt.Errorf("while loading appsec rules: %w", err)
15 }
16
17 return nil
18}

Callers 1

initCrowdsecFunction · 0.70

Calls 1

LoadAppsecRulesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…