Brunomachadob / shouldideploy-slack

Should I Deploy Slack command
0 stars 0 forks source link

how to use it? #1

Open igorcafe opened 1 week ago

Brunomachadob commented 4 days ago

Hey @igorcafe, this actually never went forward. The idea was to have this server deployed somewhere in your infra and act as a proxy to their API. A Slack App would need to be created and point to the address of this proxy here.

There is a possibility to use their own slack api on the official tool as well: https://shouldideploy.today/api/slack?tz=UTC. So you can point your Slack app directly there.

BUT, I noticed the problem is Slack sends a bunch of extra information on requests beyond just the message, which goes against some good security practices

Brunomachadob commented 4 days ago

If you are interested, we could probably adapt this one here to make use of their new API and only strip the unnecessary information before sending the request.

Although now they have the proper Slack API interface, we could probably achieve a similar proxy implementation with nginx, envoy or any other proxy out there, no need for a custom JS server like this