sudo cscli collections install crowdsecurity/appsec-bot-challengeInstalls 2 parsers and 2 scenarios, via WAF - Bot Challenge Path Exclusions.
View WAF - Bot Challenge →sudo cscli appsec-configs install crowdsecurity/appsec-bot-challenge-exclude-apiThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →name: crowdsecurity/appsec-bot-challenge-exclude-api# Let programmatic/API endpoints through without a challenge: it would break with legitimate clients# that cannot solve the challenge.# Do not edit this file to add your own exclusions, create a custom config.inband:pre_eval:- filter: >-req.URL.Path in ['/api', '/graphql'] ||req.URL.Path startsWith '/api/' || req.URL.Path startsWith '/wp-json/' ||req.URL.Path startsWith '/graphql/' || req.URL.Path startsWith '/rest/' ||req.URL.Path startsWith '/v1/' || req.URL.Path startsWith '/v2/' ||req.URL.Path startsWith '/oauth/' || req.URL.Path startsWith '/.netlify/functions/' ||req.URL.Path startsWith '/_next/data/'apply:- ExemptFromChallenge("api")
Sign in to see the Security Engines that run this waf configuration, the version they run and whether it was modified locally.