Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slack webhook - Which IPs should I open?

Tags:

We want to use Slack Webhook (Outgoing Webhook) with an internal web service.

Our company is behind a firewall, so outside connections must be whitelisted.

It appears that Slack has multiple addresses it will send the API request from, and they don't seem to be documented.

Which IPs/Ports should we open in the firewall (whitelist) in order to allow slack's outgoing webhooks to connect to our internal web service?

like image 638
Sahar Menashe Avatar asked Aug 04 '16 06:08

Sahar Menashe


People also ask

Are Slack webhook urls secret?

Your webhook URL contains a secret. Don't share it online, including via public version control repositories. Slack actively searches out and revokes leaked secrets.

Is Slack webhook URL sensitive?

The unique webhook URL is secret. The webhook only accepts data, and thus alone cannot expose sensitive data to third parties.


Video Answer


1 Answers

I know this is an old question, but I was looking for something like this myself. I think the one answer thats there doesnt really understand the question as such.

ngrok could sort-of solve an issue here, but its not quite what was asked.

Mapping ports from external to internal on a firewall that would be at a company is trivial. What I think the originator was asking was "what IP addresses do slack use when calling our service" so that you can firewall the service off to only allow access from those IP's (hence the whole white listing thing).

Simple answer as far as i can see is they are basically using lambda and various sources within AWS which makes that rather hard

like image 62
Takigama Avatar answered Sep 23 '22 09:09

Takigama