Back to Common Questions Guides

Introduction

Cloudflare is a very popular service that, among other things, can help protect your site against malicious actors. Unfortunately, sometimes services like AAArdvark that programmatically crawl your site can trigger Cloudflare’s protections and prevent us from scanning your site.

Fortunately, it’s easy to prevent this from happening by updating a few settings in your Cloudflare account.


Cloudflare Compatibility

Here are the steps to make sure that Cloudflare and AAArdvark are compatible:

  1. Go to the Cloudflare panel and choose the domain name of the site you are scanning with AAArdvark.
  2. Go to the Firewall tab, and select Firewall Rules.
  3. Click Create a Firewall Rule.
  4. Match the settings below, using the noted IP addresses in the Value field. We may add additional IP addresses in the future, which will require you to update this firewall rule in Cloudflare. If that happens, you will receive a notification in advance and the list here will be updated.
    • IP: 104.131.176.165159.203.100.239144.126.248.6
    • Select a name
    • Inside the When incoming requests match section
      • Set Field to IP Address
      • Set Operator to is in
      • In the Value field, add the IP addresses listed above
      • Under Then, choose Bypass
      • Select all the available features
  5. Click Deploy.

Cloudflare’s Cache

Since Cloudflare may cache public pages, depending on your deployment process, changes to your HTML may not be immediately visible to AAArdvark.

If you experience this, here are some options:

  1. Purge the Cloudflare cache using their API as part of your deployment process. This solution will require a developer.
  2. Manually purge the Cloudflare cache after deploying, but before starting a manual scan.
  3. If you are triggering a scan with a webhook, you can set a delay in the webhook settings that is longer than your Cloudflare cache duration.

And, check out this Cloudflare cache purging resource for more details.


Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.

Related Guides