Newshot

智能体现可通过 CLI 调查和管理 Vercel 防火墙

AI summary

Vercel CLI 现在允许智能体检查防火墙配置和流量、查看警报和机器人活动,并配置托管规则集;所有命令均支持 --json 以输出结构化数据。托管规则集命令可开关 OWASP 核心规则集、机器人防护和 AI 机器人,并调整各规则组的动作,改动会先暂存为草稿,经 diff 审核并批准后才会通过 publish 生效。

Translation(model translation, not the source's own text)
题图
题图

Vercel CLI 现在允许 agent 检查 Firewall 配置和流量、查看告警和 bot 活动,并配置托管规则集。

复制标题链接以便调查流量

在与 vercel link 关联的项目目录中运行:


        vercel firewall statusvercel firewall traffic listvercel firewall alerts listvercel firewall bot-management
      

检查 Firewall 配置和近期活动。

每条命令都支持 --json 以输出结构化结果。

为什么我的项目在过去一小时内被拒绝的请求激增?

复制标题链接以便配置托管规则集

vercel firewall managed-rulesets 允许 agent 开启或关闭 OWASP Core Ruleset、Bot Protection 和 AI Bots,并更改各个规则组的操作。在 Pro 上,OWASP Core Ruleset 需要 Priority 项目。

以日志模式为此项目开启 AI Bots,以便我查看它将会拦截什么。

更改会以草稿形式暂存。使用 vercel firewall diff 查看它们;只有在你批准之后,vercel firewall publish 才会使其生效。

复制标题链接以便开始使用

更新到最新的 Vercel CLI,并为你的编码 agent 安装 Vercel Firewall skill:


        vercel upgradenpx skills add vercel/vercel-plugin --skill vercel-firewall
      

更新 CLI 并安装 Vercel Firewall skill。

在 Vercel Firewall CLI 参考文档中了解更多。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗