Hi, I’ve got a very small feature request for config management.
I love the YAML configs, sensible defaults and ability to override selected configs via includes, specifically this last bit in suricata.yaml
:
##
## Include other configs
##
# Includes: Files included here will be handled as if they were in-lined
# in this configuration file. Files with relative pathnames will be
# searched for in the same directory as this configuration file. You may
# use absolute pathnames too.
# You can specify more than 2 configuration files, if needed.
#include: include1.yaml
#include: include2.yaml
In order to actually use this feature I have to modify the original file provided by the package (installing via apt
). Would it be possible to add a default include here (in the packaged file), so a set of configs can be added without editing the package’s original files? Something like:
##
## Include other configs
##
# Includes: Files included here will be handled as if they were in-lined
# in this configuration file. Files with relative pathnames will be
# searched for in the same directory as this configuration file. You may
# use absolute pathnames too.
# You can specify more than 2 configuration files, if needed.
#include: include1.yaml
#include: include2.yaml
include: suricata-overrides.yaml
That way custom configs can be added locally without creating any potential conflicts if the package is later updated…