[Implemented] Modify Slack JSON Payload

Post your feature requests here
Post Reply
dhaysley
Posts: 5
Joined: Tue Dec 31, 2019 1:52 pm

Tue Dec 31, 2019 1:54 pm

Ability to modify JSON Payload via the Slack Integration.
User avatar
Tomas
Posts: 1272
Joined: Sat Jun 25, 2016 12:33 pm

Tue Dec 31, 2019 2:09 pm

Hi,

Could you please provide a little more details?
What are you looking to send over the Slack sender, when, and how should it be integrated in Unimus? :)

Thanks!
dhaysley
Posts: 5
Joined: Tue Dec 31, 2019 1:52 pm

Tue Dec 31, 2019 8:54 pm

Sure - We use a generic channel for many different alerts. We would like to control items like the title, user and icon presented in the channel when Unimus sends an alert.

Here is an example for the user: curl -X POST --data-urlencode "payload={\"username\": \"UnimusBot\"}" https://hooks.slack.com/services/xxxxxx ... yyyyyyyyyy

Instead of saying: Incoming-webhook it would say UnimusBot.
User avatar
Tomas
Posts: 1272
Joined: Sat Jun 25, 2016 12:33 pm

Tue Dec 31, 2019 9:10 pm

For 2.0, we actually already switched to using a fully customizable Slack Bot, instead of Webhooks.
(this was because we are adding full diffs in Config Change Notifications over Slack, which required it)

So as soon as 2.0 rolls out, you will be able to customize any of these things through customizing the Bot which Unimus will use :)

Will that be good enough for your needs?
dhaysley
Posts: 5
Joined: Tue Dec 31, 2019 1:52 pm

Tue Dec 31, 2019 9:46 pm

Sounds great! Thank you for the quick response.
Post Reply