UX: Add confirmation to crawler settings (#31269)

Adds a site setting confirmation to the following
settings, since they can be dangerous if changed
incorrectly:

* allowed_crawler_user_agents
* blocked_crawler_user_agents
* slow_down_crawler_user_agents
This commit is contained in:
Martin Brennan 2025-02-11 13:02:26 +10:00 committed by GitHub
parent 32704c42d0
commit 43e8172ebc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2237,14 +2237,17 @@ security:
type: list
default: ""
list_type: compact
requires_confirmation: "simple"
blocked_crawler_user_agents:
type: list
default: "mauibot|semrushbot|ahrefsbot|blexbot|seo spider"
list_type: compact
requires_confirmation: "simple"
slow_down_crawler_user_agents:
type: list
default: "gptbot|claudebot|anthropic-ai|brightbot"
list_type: compact
requires_confirmation: "simple"
slow_down_crawler_rate: 60
content_security_policy:
default: true