-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhooks #53
Comments
Hello! |
Sweet as, I have a new implementation on the unstable branch, please play around with it, if it suits your needs then I'll merge it to master |
I'd have one last request for this feature: Could you make the webhook configurable via the startup parameter of the server binary? That would allow me to persistently activate the webhook on startup. Maybe something like this:
Also, might be nice if more than one webhook could be set, as is currently possible via the CLI. |
Great! Glad to see that it just works (tm) I think being able to specify webhooks via the command line is reasonable, so I'll add that |
Ah! Actually this feature already exists, and is just very poorly documented. When you activate a webhook, the server will write
Map of strings to bool. The bool indicates whether the rssh server should check if the TLS certificate is valid or not. Example:
|
Hope this helps! Im going to close this comment as the feature already vaguely exists. If you feel Im missed some nuance of what you were asking feel free to reopen it. |
I really like that you've added webhook support. There are two things that make it unnecessarily difficult to use, however:
rssh_webhook
is added to the webhook. This is a problem, as, e.g., Slack and Mattermost generate webhooks to use, and they don't expect that the generated webhook is appended with a suffix (and therefore break). Can this be removed?text
key/value of the payload. It would be great if this key could be added to contain a summary of the event. This would allow users to directly display events in Slack/Mattermost without requiring further ingress processing. It could also be a switch that can be set while adding a webhook.The text was updated successfully, but these errors were encountered: