/b2c-ops:b2c-edge-traffic-triagefrom b2c-ops
Investigates bots, scrapers, crawlers, credential/token abuse, API abuse, and edge 403/429 or error spikes on B2C Commerce storefronts via eCDN. Reviews WAF, firewall, rate-limiting protections, correlates traffic evidence, and proposes rule changes.
Ships in b2c-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
| 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:
scapi_execute, fixed from/to,
small result limits. Limits: 20 calls, 4 in flight, 30 s; run per-zone loops
sequentially, not Promise.all, and split rather than retry a failed batch.Propose the narrowest change (host, path, ASN or verified-bot condition) and a
non-enforcing (log action or disabled) or challenge step before a block. The
SCAPI zone is shared by every instance in the realm: scope each rule to one
instance with the org ID in the path
(http.request.uri.path contains "/organizations/f_ecom_zzxy_prd/"). Changes
need explicit approval and are subject to Safety Mode. After a change, re-check the same evidence over
a fresh equivalent window and keep a rollback (previous rule state). Rule
syntax and CLI options: native b2c-ecdn, MCP skill://b2c-cli/b2c-ecdn/SKILL.md
and its references/SECURITY.md.
Summarize zones, window, top sources with counts and share, the evidence source
and its limits, matching rules and gaps, proposed changes, and next owner.
Route suspected attacks with customer impact to the security owner and
Salesforce Support. Use native b2c-production-triage or the MCP
case template.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
b2c-commerce, ecdn, waf, rate-limiting, traffic-triage, bot-mitigation
7 skills in this plugin
/b2c-checkout-triageInvestigate B2C Commerce checkout or payment failures, increased failed orders, or falling order volume. Compare bounded order evidence, integration logs and affected data; separate payment failures from traffic and reporting gaps./b2c-integration-triageInvestigate failing, slow or silent calls from B2C Commerce to external services (payment, tax, shipping, OMS, search, email, custom APIs) using Metrics API third-party signals (call volume, p95 duration, remote exceptions by host) with logs and service configuration. Decide whether the provider is slow or unreachable, whether calls stopped, or whether the fault is elsewhere./b2c-npx claudepluginhub salesforcecommercecloud/b2c-developer-tooling --plugin b2c-opsOther plugins' skills for the same job