Blocking bot attacks/bot challenges

Our sites have been hit with massive bot attacks the last few weeks. We know the source ASN for most of the fraud. How can I set up a challenge (or block) requests matching that ASN?
Was this page helpful?