Skip to content

Commit 22a27da

Browse files
authored
Add docs on new API endpoint for dynamic IP retrieval (#13459)
1 parent 3e7849c commit 22a27da

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/security-legal-pii/security/ip-ranges.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Organizations in the EU Data Storage Location are unable to ingest events via
5858
`sentry.io` or `app.getsentry.com`. You can use
5959
`o<number>.ingest.de.sentry.io` instead.
6060

61-
6261
## Outbound Requests
6362

6463
In some circumstances the Hosted Sentry infrastructure might send HTTP requests your way. Primarily this is relevant to [_JavaScript Source Maps_](/platforms/javascript/sourcemaps/), but also affects things like webhooks and other integrations.
@@ -127,27 +126,30 @@ These IP addresses are only for Sentry use.
127126

128127
## Uptime Monitoring
129128

130-
Sentry uses the following IP addresses for uptime checks:
131-
132-
US
129+
Sentry uses the following IP addresses for uptime checks for all regions:
133130

134131
```plaintext
135132
34.123.33.225
136133
34.41.121.171
137134
34.169.179.115
138135
35.237.134.233
139136
34.85.249.57
140-
```
141-
142-
EU
143-
144-
```plaintext
145137
34.159.197.47
146138
35.242.231.10
147139
34.107.93.3
148140
35.204.169.245
149141
```
150142

143+
### Dynamic IP Address Retrieval
144+
145+
For the most up-to-date list of Uptime Monitoring IP addresses, you can query the following API endpoint:
146+
147+
```plaintext
148+
https://us.sentry.io/api/0/uptime-ips/
149+
```
150+
151+
This endpoint returns a newline-separated list of all current Uptime Monitoring IP addresses (for all regions) that can be programmatically processed in your allowlist configurations.
152+
151153
<Alert title="Note" level="warning">
152154

153155
Uptime Monitoring IP addresses may change over time. If you need to programmatically verify whether a visitor is a Sentry bot, we recommend checking the [user agent](/product/alerts/uptime-monitoring/troubleshooting/#user-agent) instead.

0 commit comments

Comments
 (0)