b2c-edge-traffic-triage
Investigate bots, scrapers, crawlers, credential or token abuse, API abuse, and edge 403/429 or error spikes hitting a B2C Commerce storefront or SCAPI…
от SalesforceCommerceCloud★ 58 звёзд на GitHub
Установить b2c-edge-traffic-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
eCDN edge traffic triage
Outcome: identify which automated traffic matters, whether current edge protections cover it, and a proposed, approved next step. Inspection never authorizes blocking, challenging, or changing zone settings.
Scope and impact
Resolve the instance with config_inspect (CLI: b2c setup inspect). List the
tenant's zones first and focus on production storefront zones; ask when the
target zone is ambiguous. Include the SCAPI zone
(<realm>.api.commercecloud.salesforce.com) for headless storefronts, SLAS
login/token abuse, or API symptoms; storefront zones do not see that traffic.
Use a fixed UTC window (propose the last 7 days if none is given) and record the symptom: origin load or errors, scraping, login or
token abuse, basket/inventory abuse, or a routine review. Record impact and
owner; follow the team's incident process for live customer impact.
Access and tools
| Evidence | Preferred MCP path | CLI fallback |
|---|---|---|
| Zones | Code mode getZonesInfo (cdn/zones/v1) |
b2c ecdn zones list |
| Edge protections | Code mode reads of security settings, custom firewall rules, rate-limiting rules, managed WAF rulesets | b2c ecdn security get, b2c ecdn firewall list, b2c ecdn rate-limit list, b2c ecdn waf ... |
| Edge traffic attribution | Discover read operations for edge traffic or analytics with scapi_search (api: "cdn/zones/v1", prefer schemas: "live"); use only what the contract offers |
Logpush jobs (listLogpushJob; b2c ecdn logpush jobs list) show where raw edge logs already go |
| Edge volume and errors | metrics_get with category: "ecdn" where the Metrics API is enabled |
b2c metrics ecdn; see metrics signals for per-host reads and limits |
| Origin impact | logs_list_files / logs_get_recent |
b2c logs get |
Read skill://mcp/b2c-mcp-scapi/SKILL.md before code mode; the zone APIs need
sfcc.cdn-zones (writes sfcc.cdn-zones.rw). If no traffic operation is
available to this tenant or client, say that edge attribution is unavailable
through the toolkit and continue with protections, Logpush and origin evidence.
Never infer traffic volume from rule configuration alone.
Response pitfalls:
- A 404 from a rule list (custom firewall, rate limiting, WAF v1 groups) means none exist, not denied. 403 means unavailable on that zone or a zone ID outside this org.
- WAF v1 endpoints typically 404 (zones on WAF v2); read managed rulesets.
- SCAPI zone exposes only custom firewall rules, rate-limiting rules and traffic evidence. Settings, managed WAF, cache, certificates, Logpush and Page Shield return 403 (platform-managed); do not report them as gaps or missing scopes.
Checks and decisions
- Keep executions small: one or two zones per
scapi_execute, fixedfrom/to, small result limits. Limits: 20 calls, 4 in flight, 30 s; run per-zone loops sequentially, notPromise.all, and split rather than retry a failed batch. - Classify sources by user agent, ASN, IP, host, path, status and cache result: verified crawlers and link previews, monitoring or integrations, unverified automation (headless browsers, HTTP libraries, empty user agents), and scanning or exploit probes. A user agent is self-reported; corroborate it.
- Before proposing action on a high-volume source, ask who runs it. Synthetic monitors, performance tests, feeds and Salesforce services often look like bots.
- Prioritize traffic that reaches origin or sensitive paths (login, token, basket, checkout, search). Mostly cached automation has lower origin cost.
- Compare sources with protections: rules in a non-enforcing mode (monitor, simulate, log), disabled managed rules, thresholds above observed rates, and rules scoped to other hosts or paths. Report gaps, not only matches.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл b2c-edge-traffic-triage?
Investigate bots, scrapers, crawlers, credential or token abuse, API abuse, and edge 403/429 or error spikes hitting a B2C Commerce storefront or SCAPI through the eCDN (CDN edge). Review WAF, firewall and rate-limiting protections, correlate available traffic evidence, and propose narrowly scoped rule changes for approval.
Как установить скилл b2c-edge-traffic-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-edge-traffic-triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…