diff --git a/docs/Hook-Examples.md b/docs/Hook-Examples.md index 1aefe8a..05f9a23 100644 --- a/docs/Hook-Examples.md +++ b/docs/Hook-Examples.md @@ -83,7 +83,7 @@ This example works on 2.8+ versions of Webhook - if you are on a previous series ## Incoming Bitbucket webhook -Bitbucket does not pass any secrets back to the webhook. [Per their documentation](https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html#Managewebhooks-trigger_webhookTriggeringwebhooks), in order to verify that the webhook came from Bitbucket you must whitelist the IP range `104.192.143.0/24`: +Bitbucket does not pass any secrets back to the webhook. [Per their documentation](https://support.atlassian.com/organization-administration/docs/ip-addresses-and-domains-for-atlassian-cloud-products/#Outgoing-Connections), in order to verify that the webhook came from Bitbucket you must whitelist a set of IP ranges: ```json [ @@ -100,11 +100,23 @@ Bitbucket does not pass any secrets back to the webhook. [Per their documentati ], "trigger-rule": { - "match": - { - "type": "ip-whitelist", - "ip-range": "104.192.143.0/24" - } + "or": + [ + { "match": { "type": "ip-whitelist", "ip-range": "13.52.5.96/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "13.236.8.224/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "18.136.214.96/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "18.184.99.224/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "18.234.32.224/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "18.246.31.224/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "52.215.192.224/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "104.192.137.240/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "104.192.138.240/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "104.192.140.240/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "104.192.142.240/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "104.192.143.240/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "185.166.143.240/28" } }, + { "match": { "type": "ip-whitelist", "ip-range": "185.166.142.240/28" } } + ] } } ]