Vercel Sandbox ファイアウォールがリクエストのプロキシ転送とフィルタリングをサポート
本文の状態
日本語全文を表示中
詳細モードで約2分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Vercel はサンドボックスファイアウォールの機能を更新し、特定の HTTP リクエストをユーザー管理のプロキシへ転送する機能や、必要なリクエストに限定して認証情報を仲介するマッチャー機能を追加した。
Continue in AI NEW LAB
このニュースを、実務の判断につなげる
AI NEW LABで、試したことや先に確認したい条件を共有できます。まずはログインなしで読めます。
AI NEW LABで論点を見るSource Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Vercel Sandbox ファイアウォールは、特定の HTTP リクエストをあなたが管理するプロキシに転送することをサポートするようになりました。また、マッチャーを使用して、必要なリクエストのみに対して転送や認証情報の仲介をスコープすることもできます。
リクエストのプロキシ化
現在、ログ記録、デバッグ、またはリクエストとレスポンスの変換のために、アウトバウンドのサンドボックストラフィックを独自のプロキシ経由でルーティングできるようになりました。許可されたドメインに forwardURL を設定すると、ファイアウォールは一致する HTTPS リクエストをあなたのサーバーへ転送します。
プロキシは、元のリクエストに加えて、ソースを識別するための追加ヘッダーを受け取ります:
vercel-forwarded-host: 元のリクエストの SNI
vercel-forwarded-scheme: 元のリクエストのスキーム
vercel-forwarded-port: 元のリクエストのポート
vercel-sandbox-oidc-token: プロキシがリクエストの認証とソースチーム/プロジェクト/サンドボックスの識別に使用できる、Vercel が発行した OIDC トークン。詳細はドキュメントをご覧ください。
マッチャー
さらに、特定のパス、メソッド、クエリ文字列、またはヘッダーに一致するリクエストに対してのみ、リクエスト転送や認証情報の仲介を制限するために、現在マッチャーを使用できるようになりました。これにより、どのリクエストを変換するかについて細粒度の制御が可能になります。例えば、POST リクエストのみを特定の API パスへ転送し、他のすべてのトラフィックは変更せずに通過させることができます。
これらの機能は、Pro および Enterprise プラン向けにベータ版として利用可能です。
@vercel/sandbox@beta SDK をインストールして始め、リクエストのプロキシ化とマッチャーの詳細についてはドキュメントをご覧ください。
続きを読む
原文を表示
The Vercel Sandbox firewall now supports forwarding specific HTTP requests to a proxy you control. You can also use matchers to scope forwarding and credentials brokering to only the requests that need it.
Requests proxying
You can now route outbound sandbox traffic through your own proxy for logging, debugging, or transforming requests and responses. Set a forwardURL on any allowed domain, and the firewall will forward matching HTTPS requests to your server.
The proxy receives the original request along with additional headers to identify the source:
vercel-forwarded-host: The original request's SNI
vercel-forwarded-scheme: The original request's scheme
vercel-forwarded-port: The original request's port
vercel-sandbox-oidc-token: A Vercel-issued OIDC token that the proxy can use to authenticate the request and identity the source team / project / sandbox. Learn more about it in the docs
Matchers
Additionally, you can now use matchers to limit request forwarding or credentials brokering to requests matching a specific path, method, query string, or headers. This gives you fine-grained control over which requests get transformed; for example, only forwarding POST requests to a specific API path while allowing all other traffic through untouched.
Those feature are available in beta for Pro and Enterprise plans.
Get started by installing the @vercel/sandbox@beta SDK, and learn more in the docs about requests proxying and matchers.
Read more
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み