Custom message color not supported for mattermost #1665
Replies: 1 comment 5 replies
-
@Thorsieger https://github.com/jertel/elastalert2/blob/master/elastalert/schema.yaml#L681 current mattermost_msg_color: {enum: [good, warning, danger]} after mattermost_msg_color: {type: string} |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When using a custom color for mattermost alert message, elastalert crash at startup.
To Reproduce
Add a rule with an mattermost alert and a custom notification color.
mattermost_msg_color: '#FF0000'
logs
Expected behavior
Documentation state that you can use custom color hex code.
Installation method
Additional context
same behavior for slack notifications.
Custom colors are not in the allowed values :
elastalert2/elastalert/schema.yaml
Line 681 in 391cea3
Beta Was this translation helpful? Give feedback.
All reactions