Skip to content

Commit ae69cb4

Browse files
authored
add google special crawler to good actors whitelist (#1790)
1 parent 295c5a8 commit ae69cb4

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

collections/crowdsecurity/whitelist-good-actors.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ postoverflows:
55
- crowdsecurity/seo-bots-whitelist
66
- crowdsecurity/cdn-whitelist
77
- crowdsecurity/rdns
8+
- crowdsecurity/google-special-crawlers-whitelist
89
description: "Good actors whitelists"
910
labels:
1011
label: "Web Crawlers - Whitelist"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: crowdsecurity/google-special-crawlers-whitelist
2+
description: "Whitelist events from Google special crawlers (e.g. Google-InspectionTool, GoogleOther)"
3+
whitelist:
4+
reason: "Google special crawlers ip range"
5+
expression:
6+
- "any(File('google_special_crawlers_ipv4.txt'), { len(#) > 0 && IpInRange(evt.Overflow.Alert.Source.IP, #)})"
7+
- "any(File('google_special_crawlers_ipv6.txt'), { len(#) > 0 && IpInRange(evt.Overflow.Alert.Source.IP, #)})"
8+
9+
data:
10+
- source_url: https://hub-data.crowdsec.net/whitelists/benign_bots/search_engine_crawlers/google_special_crawlers_ipv4.txt
11+
dest_file: google_special_crawlers_ipv4.txt
12+
type: string
13+
- source_url: https://hub-data.crowdsec.net/whitelists/benign_bots/search_engine_crawlers/google_special_crawlers_ipv6.txt
14+
dest_file: google_special_crawlers_ipv6.txt
15+
type: string

0 commit comments

Comments
 (0)