Using the Bot Detection plugin, you can protect your a Gateway Service or a Route from bots. It automatically detects common bots on every request from the associated Gateway Service or Route using regex.
You can also configure custom regex patterns to either allow or deny additional bots.