Skip to main content

How to generate a list of inbound Opsgenie IP addresses

Opsgenie uses Cloudfront to serve content. The list of inbound IP addresses is dynamic and will change over time.

Robert Pratt avatar
Written by Robert Pratt
Updated over 4 years ago

Prerequisites:

  • jq

  • curl

Opsgenie uses Cloudfront to serve content. The list of inbound IP addresses is dynamic and will change over time.

The list is exceptionally long. We suggest applying the domain to an allowlist whenever possible instead.

Run this command to download AWS’s ip-ranges.json, then filter the global Cloudfront IP addresses into a new file using jq:

curl -O https://ip-ranges.amazonaws.com/ip-ranges.json && jq '.prefixes[] | select(.service == "CLOUDFRONT" and .region == "GLOBAL")' ip-ranges.json > og-ip-ranges.json


Did this answer your question?