Automatically Ban for IP's via Cloudflare API

Defender is pretty good at spotting bad behavior. But there needs to be a more proactive approach. For example, for login attempts, it would be cool if defender could communicate with CloudFlare through an API call and automatically block the offending IP on all websites
using the firewall.