package
1.6.8
Repository: https://github.com/crowdsecurity/crowdsec.git
Documentation: pkg.go.dev

# Functions

Iterate over the individual appsec matched rules to create the needed alert context.
Iterate over the individual events to create the needed alert context.
LoadConsoleContext loads the context from the hub (if provided) and the file console_context_path.
Truncate an individual []string to fit in the context value length.
Truncate the context map to fit in the context value length.

# Constants

# Variables

# Structs

HubItemWrapper is a wrapper around a hub item to unmarshal only the context part because there are other fields like name etc.