fix(scrapers): WAF-guard эндпоинтов + throttled catalog BrowserSession (#2445-D1/D2) #2459
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2459
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/catalog-waf-guard-throttle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Аудит-находки D1+D2 (epic #2445, WAF-гигиена #2443).
D1 — admin-эндпоинты
/kn-catalog-objects+/kn-catalog-flatsдёргали таск, чей beat отключён из-за WAF-бана, сmax_objects=2000, force=True, без server-side гейта. Теперь требуют явныйi_understand_waf_risk=true(иначе 400 со ссылкой на #2443), fail-closed (default False). Endpoint/registration не удалены — human, знающий риск, может override.D2 — обе catalog-
BrowserSession(domrf_catalog_object.py+domrf_catalog.pyflat-level из #2440) молча наследовали дефолтstealth.py(concurrency=8, jitter 600-1500ms) на том же/сервисы/*пути, что вызвал бан. Теперь переиспользуют throttledsettings.scrape_kn_*(concurrency=2, jitter 1200-3000ms, как scrape_kn после #1945). Обновлены устаревшие комментарии.Test plan
Refs #2445, #2443