Vercel Firewall CLI: How Agents Triage Traffic and Stage Rules
Learn how coding agents use the new Vercel Firewall CLI (--json, diff, publish) to investigate traffic spikes and safely stage managed rulesets without dashboard clicks.

Q. When 403 or 429 blocks suddenly spike on a Vercel app, can a coding agent investigate the cause and update firewall rules without opening the dashboard? Yes. With the
vercel firewallCLI update released on November 30, 2026, agents can query traffic and alerts viavercel firewall traffic list --json, stagemanaged-rulesetsupdates as drafts, and wait for human approval before runningpublish.
⚠️ Accuracy guardrail: This article is based on the official Vercel Changelog (published November 30, 2026) and the Vercel Firewall CLI and Priority Projects documentation verified on December 1, 2026. Specific per-request or per-GB pricing rates for the OWASP managed ruleset and real-world false-positive metrics from production teams were not disclosed in the changelog and are omitted.
30-second summary
- Agent-ready traffic investigation:
status,traffic list,alerts list, andbot-managementall support--json, letting coding agents parse traffic spikes directly in the terminal. - Draft staging prevents accidental lockouts: Changes to
rules,managed-rulesets(OWASP Core Ruleset, Bot Protection, AI Bots), andip-blocksstay in draft mode until reviewed withvercel firewall diffand applied withpublish. - Plan and retention limits: Every team plan retains 24 hours of traffic data, while longer windows such as
--since 7drequire Observability Plus, and OWASP on Pro requires upgrading to a Priority project. - Official agent skill: Run
vercel upgradefollowed bynpx skills add vercel/vercel-plugin --skill vercel-firewallto equip your coding agent.

Why Vercel opened its Firewall to the CLI
Coding agents can now complete both incident triage and draft rule authoring inside the terminal. Previously, a sudden surge in denied requests meant opening the Vercel dashboard Firewall tab and manually scanning IPs, paths, and User-Agents. Now, inside any directory linked with vercel link, you can simply ask your coding agent why denied requests spiked over the past hour and receive a structured summary.
For solo developers and small teams, overnight AI scraper surges can quickly burn through bandwidth and function invocations. Following Vercel Drives CLI and standalone SDK, this release extends Vercel's agent-first CLI push into edge security operations.
Read-only inspection: 10 dimensions of traffic, alerts, and bots
vercel firewall overview and traffic list return the last 24 hours of activity as --json on every team plan. According to the CLI reference, traffic list and traffic inspect break down requests across 10 dimensions: ip, ja4, asn, user-agent, path, rule, host, bot, country, and action.
| Command | Primary Role | Notes |
|---|---|---|
vercel firewall overview |
Current firewall config + last 24h activity | 24h retention included on all team plans |
vercel firewall status |
Prints evaluation order (bypass → DDoS → IP → rules) | Useful for tracing which rule matched first |
vercel firewall traffic list |
Per-action trends and top lists across 10 dimensions | Supports --since 1h, --action deny, --json |
vercel firewall traffic inspect |
Deep dive into one IP, path, or rule value | Supports secondary --group-by breakdown |
vercel firewall alerts list |
Lists firewall alerts for --alert <id> scoping |
Anomaly alerts expand on Priority projects |
vercel firewall bot-management |
Lists managed bot rules and unknown bot traffic | Unverified bot details require Priority |
Keep retention bounds in mind when querying historical windows. If --since falls outside your plan's retained window, the CLI rejects the query even if --until narrows the span. Queries looking back 7 or 30 days require Observability Plus.

Modifying rules: draft staging vs. immediate commands
Changes to managed rulesets and custom rules do not affect live traffic until you run vercel firewall publish. To keep an agent from accidentally blocking legitimate users, Vercel stages edits to rules, managed-rulesets, and ip-blocks as drafts.
When you ask an agent to turn on AI Bots in log mode, it stages the update under vercel firewall managed-rulesets and lets you inspect the pending change with vercel firewall diff. You can then approve it with vercel firewall publish or cancel it with discard.
However, not every subcommand waits in draft mode. Per the official CLI reference, system-bypass, attack-mode, and system-mitigations take effect immediately. When granting an agent shell access, exclude those three commands from unattended execution or require explicit confirmation.
Q. Can Pro plan projects enable the OWASP Core Ruleset or unverified bot visibility right away? On Pro plans, a project must be upgraded to a Priority project (
vercel project priority enable) to use the OWASP managed ruleset or inspect unverified bot categories (automated_browser,scanner, etc.). On Enterprise, these are available for every project.

Getting started: upgrade the CLI and install the skill
Update your Vercel CLI and add the official Firewall skill to get started in two commands. Vercel's November 30 announcement provides the setup snippet below:
vercel upgrade
npx skills add vercel/vercel-plugin --skill vercel-firewall
Once installed, agents like Claude Code or Codex know how to narrow queries with --since, --dimension, and --json inside linked projects. If your team also audits outbound agent requests at the edge, pairing this workflow with Cloudflare Workers fetch() redirect: "error" gives you tighter control on both ingress and egress.
Toris's take
- Delegate initial triage and
log-mode testing to your agent.traffic list --jsonandalerts listare read-only, and stagingmanaged-rulesetsinlogmode withdifflets you inspect bot traffic without risking production outages. - Check retention and Priority requirements before automating on Hobby or Pro. Investigating incidents older than 24 hours or automating OWASP and unverified-bot rules requires Observability Plus or a Priority project upgrade.
- Keep
attack-modeandsystem-mitigationsoff-limits for autonomous runs. Because they bypass draft staging and apply immediately, restrict them in your agent instructions so a human always approves emergency toggles.
Sources
Advertisement