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:
8
examples/snippets/bot-uptimerobot.yml
Normal file
8
examples/snippets/bot-uptimerobot.yml
Normal 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")'
|
||||||
Reference in New Issue
Block a user