sudo cscli collections install crowdsecurity/appsec-bot-challengeInstalls 2 parsers and 2 scenarios, via WAF - Bot Challenge Good Bots.
View WAF - Bot Challenge →sudo cscli appsec-configs install crowdsecurity/appsec-bot-challenge-exclude-google-adsThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →name: crowdsecurity/appsec-bot-challenge-exclude-google-ads# Skip the challenge for verified Google ad crawlers (matched against their published IP/rDNS ranges).# Do not edit this file to add your own exclusions, create a custom config.inband:pre_eval:- filter: MatchKnownBot(req.RemoteAddr, req.UserAgent(), req.URL.Path, "legit_bots/mediapartners-google.json")apply:- ExemptFromChallenge("mediapartners-google")- filter: MatchKnownBot(req.RemoteAddr, req.UserAgent(), req.URL.Path, "legit_bots/google-adsbot.json")apply:- ExemptFromChallenge("google-adsbot")# Declares the datafiles so crowdsec downloads them.data:- source_url: https://hub-data.crowdsec.net/whitelists/benign_bots/legit_bots/mediapartners-google.jsondest_file: legit_bots/mediapartners-google.jsontype: bots- source_url: https://hub-data.crowdsec.net/whitelists/benign_bots/legit_bots/google-adsbot.jsondest_file: legit_bots/google-adsbot.jsontype: bots
Sign in to see the Security Engines that run this waf configuration, the version they run and whether it was modified locally.