Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves detection for Cloudflare bots #7699

Merged
merged 3 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Tests/fixtures/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7688,3 +7688,30 @@
name: ducks.party
category: Security Checker
url: https://ducks.party/
-
user_agent: Mozilla/5.0 (compatible; Cloudflare-Smart-Transit/1.0; +https://www.cloudflare.com/
bot:
name: Cloudflare Smart Transit
category: Site Monitor
url: https://developers.cloudflare.com/fundamentals/reference/cloudflare-site-crawling/
producer:
name: CloudFlare
url: https://www.cloudflare.com/
-
user_agent: Mozilla/5.0 (Linux; Android 11; Moto G Power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36 CloudflareObservatory/1.0
bot:
name: Cloudflare Observatory
category: Site Monitor
url: https://developers.cloudflare.com/speed/speed-test/run-speed-test
producer:
name: CloudFlare
url: https://www.cloudflare.com/
-
user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 CloudflareObservatory/1.0
bot:
name: Cloudflare Observatory
category: Site Monitor
url: https://developers.cloudflare.com/speed/speed-test/run-speed-test
producer:
name: CloudFlare
url: https://www.cloudflare.com/
16 changes: 16 additions & 0 deletions regexes/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,22 @@
name: 'CloudFlare'
url: 'https://www.cloudflare.com/'

- regex: 'Cloudflare-Smart-Transit'
name: 'Cloudflare Smart Transit'
category: 'Site Monitor'
url: 'https://developers.cloudflare.com/fundamentals/reference/cloudflare-site-crawling/'
producer:
name: 'CloudFlare'
url: 'https://www.cloudflare.com/'

- regex: 'CloudflareObservatory'
name: 'Cloudflare Observatory'
category: 'Site Monitor'
url: 'https://developers.cloudflare.com/speed/speed-test/run-speed-test'
producer:
name: 'CloudFlare'
url: 'https://www.cloudflare.com/'

- regex: 'https://developers\.cloudflare\.com/security-center/'
name: 'Cloudflare Security Insights'
category: 'Site Monitor'
Expand Down
Loading