AI Security for Apps のプロンプトログ記録を更新
原題: Updated prompt logging for AI Security for Apps
changelog / Network/Security / WAF / 2026/11/24 09:00 JST
Cloudflare が、AI Security for Apps のプロンプト内容を記録する方法を更新した。ペイロードロギングを有効化し、cf.llm.prompt フィールドを参照する WAF カスタムルールを設定すると、ルールに一致したリクエストのプロンプトが記録される。プロンプトが抽出できず解析がリクエストボディ全体にフォールバックした場合は、ボディ全体が記録される。従来の AI Security Log Mode ルールセットの手順に代わるもので、AI アプリへのプロンプトインジェクション攻撃の調査や監査に役立つ。AI Security を使う場合は設定の見直しを検討したい。
出典サイトで原文を開く → 出典サイトの説明: Use payload logging with custom rules to store matching prompt content for AI Security for Apps.
To log prompt content for AI Security for Apps, configure payload logging and use a WAF custom rule that references a field with the cf.llm.prompt prefix. When a custom rule matches, payload logging stores the extracted prompt. If no prompt is extracted and analysis falls back to the full request body, payload logging stores the full request body. This workflow replaces the previous AI Security Log Mode Ruleset procedure. For more information, refer to Log prompts for matching rules .
出典: 公式ページ