Hope someone can suggest me to build webhook URL. Please let me know a sample url and the format to receive the notification.
I am trying to build the Webhook URL to receive notification for "chef client run failures". I would like to have the failures notified to FLOWDOCK mailbox using api. The authentication is token based for flowdock.
It looks as though CA Flowdock supports the required token authentication https://www.flowdock.com/api/how-to-integrate#/post-inbox however the message format for Chef Client run failures is fixed. You may need to build something to translate the fields sent by Chef Automate into the right format required for Flowdock Inbox. In the past, we have built various integrations using Azure Functions or AWS Lambda to do the translation.
Thanks so much for your reply and valuable information provided.
On this case, we need to build another instance to translate the chef automate fields info before throwing it out to Flowdock. Do you have an existing design on how are we going to integrate this? If you don’t mind sharing us the integrations you did. It will be valuable for us.
In this case, we implemented this as an Azure Function that simply reposted the information into Log Analytics through their API. All the code does really is add the required authorization and token fields required. It was written in C# but of course you have your choice of languages. Please ping me at stuart@chef.io if you need more info on the code.