# Functions
DefaultConfigPath returns the default path for a configuration resource "elem" parameters are path components relative to the default cfg directory.
DefaultDataPath returns the default path for a data resource.
FeatureFlagsFileLocation returns the path to the feature.yaml file.
ListFeatureFlags returns a list of the enabled feature flags.
LoadFeatureFlagsEnv parses the environment variables to enable feature flags.
LoadFeatureFlags parses feature.yaml to enable feature flags.
NewConfig.
# Structs
daemonization/service related stuff*/.
Config contains top-level defaults -> overridden by configuration file -> overridden by CLI flags.
CrowdsecServiceCfg contains the location of parsers/scenarios/..
cscli specific config, such as hub directory*/.
local api config (for crowdsec/cscli->lapi)*/.
local api service configuration*/.
LocalHubCfg holds the configuration for a local hub: where to download etc.
global api config (for lapi->capi)*/.
Profile structure(s) are used by the local API to "decide" what kind of decision should be applied when a scenario with an active remediation has been triggered.