Open ToshY opened 1 month ago
@ToshY: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
@ToshY: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.
/kind feature
/kind enhancement
/kind refactoring
/kind bug
/kind packaging
What would you like to be added?
/kind enhancement
Why is this needed?
I've already mentioned this in a Discord thread, and after some reconsidering, I thought I would still like to have an enhancement where environment variables could be used in other config files as well.
Currently, the section regarding Notification plugins show that you can use environment variables in the config files (https://docs.crowdsec.net/docs/notification_plugins/intro#environment-variables).
It would be nice to have this for other configs as well, like for parsers/postoverflows. An example would be using a parser to whilelist certain user IPs.
/etc/crowdsec/parsers/s02-enrich/user-whitelist.yaml
And where
${USER_IPV4_WHITELIST}
contains the following:.env