Username configuration isn't picked up for Mattermost-Provider
Closed this issue · 1 comments
DrunkenHomer commented
Describe the bug
Configuring the mattermost username doesn't change the values in the alert. Falcosidekick will instead always use "Falcosidekick" as username as it is hardcoded in line:
falcosidekick/outputs/mattermost.go
Line 130 in 19813e2
How to reproduce it
Start Falcosidekick and configure the Mattermost username, e.g. using the env MATTERMOST_USERNAME
Expected behaviour
The notification uses the correct username and only defaults to "Falcosidekick" when no value is given.
Environment
- Falco version:
Falco: 0.36.2 and Falcosidekick 2.28.0