diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ca303bbac6..1a70efdaec7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Infer span descriptions via `sentry-conventions`. ([#6093](https://github.com/getsentry/relay/pull/6093)) - Raises the size limit for the flags context to 64KiB. ([#6137](https://github.com/getsentry/relay/pull/6137)) +- Add Lightpanda to web crawler filter. ([#6143](https://github.com/getsentry/relay/pull/6143)) **Bug Fixes**: diff --git a/relay-filter/src/web_crawlers.rs b/relay-filter/src/web_crawlers.rs index c002a16f84f..dcda872042f 100644 --- a/relay-filter/src/web_crawlers.rs +++ b/relay-filter/src/web_crawlers.rs @@ -45,7 +45,8 @@ static WEB_CRAWLERS: LazyLock = LazyLock::new(|| { GPTBot| # OpenAI - see https://platform.openai.com/docs/bots PerplexityBot| # Perplexity - see https://docs.perplexity.ai/guides/bots Applebot| # Apple - see https://support.apple.com/en-us/119829 - DuckDuckBot # DuckDuckGo - see https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot + DuckDuckBot| # DuckDuckGo - see https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot + Lightpanda # Lightpanda - see https://lightpanda.io/ " ) .expect("Invalid web crawlers filter Regex") @@ -164,6 +165,7 @@ mod tests { "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)", "Mozilla/5.0 (Device; OS_version) AppleWebKit/WebKit_version (KHTML, like Gecko)Version/Safari_version [Mobile/Mobile_version] Safari/WebKit_version (Applebot/Applebot_version; +http://www.apple.com/go/applebot)", "DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)", + "Lightpanda/1.0", ]; for banned_user_agent in &user_agents {