Add examples/snippets/bot-uptimerobot.yml

Add network prefixes and user agent for UptimeRobot.

Source: https://uptimerobot.com/help/locations/
This commit is contained in:
Alan Orth
2025-04-24 08:18:13 +03:00
parent 96870cc192
commit fc7d67ad70

View File

@@ -0,0 +1,8 @@
networks:
uptimerobot:
- url: https://uptimerobot.com/inc/files/ips/IPv4andIPv6.txt
regex: "(?P<prefix>[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+(/[0-9]+)?|[0-9a-f:]+:.+)"
conditions:
is-bot-uptimerobot:
- &is-bot-uptimerobot 'userAgent.contains("http://www.uptimerobot.com/") && remoteAddress.network("uptimerobot")'