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