> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-bot-traffic-with-zen-firewall.md).

# Zen FirewallでBotトラフィックをブロックする

Aikido の Zen Firewall は、アプリケーションにアクセスするさまざまな種類の自動化トラフィックを識別し、ブロックするのに役立ちます。この機能は、不要なボットの活動を制御できるようにすることで、セキュリティ対策を強化します。

> **重要**: ボットブロックはグローバルな「[ブロック/検知モード](/docs/docs-ja/zen-firewall/zen-features/blocking-vs-detection-mode-in-zen-firewall.md)」設定とは独立しています。ボットブロックを有効にすると、Zen が検出モードであっても常に適用されます。

## ユースケース <a href="#use-cases" id="use-cases"></a>

* 🛡️ **サーバーリソースを保護**: 過剰なリクエストでボットがインフラを圧迫するのを防ぎます
* 💰 **コストを削減**: 不要なボットトラフィックをブロックして、帯域幅と計算コストを抑えます
* 🔒 **コンテンツを保護**: 自動スクレイピングやコピーから知的財産を守ります
* ⚡ **パフォーマンスを向上**: ボット関連のサーバー負荷を軽減してサイト速度を向上させます

## 検出するボットのカテゴリ <a href="#bot-categories-we-detect" id="bot-categories-we-detect"></a>

Aikido は自動化トラフィックを明確なカテゴリに分類するため、ブロック、許可、監視のいずれにするかを判断できます。個別のユーザーエージェントの完全な一覧は、 [専用のボット一覧ページ](/docs/docs-ja/zen-firewall/miscellaneous/bot-protection-details.md).

利用可能なカテゴリの例：

* **検索・発見ボット**\
  従来の検索エンジン、広告クローラー、SEO ツール、ソーシャルメディアボット、メッセンジャープレビュークローラーが含まれます。これらのボットは、検索、広告、共有のためにコンテンツをインデックス化、分析、またはプレビューします。
* **AI クローラーとアシスタント**\
  生成 AI システムを支える、またはユーザーの問い合わせに応答するためにコンテンツを閲覧・抽出する AI 検索クローラー、AI データスクレイパー、AI アシスタントを含みます。
* **アーカイブおよび監視サービス**\
  ウェブアーカイバーや、定期的にページにアクセスする稼働状況・パフォーマンス監視ツールが含まれます。
* **セキュリティおよび悪用ツール**\
  脆弱性スキャナー、データ収集ツール、ヘッドレスブラウザ、その他、調査、スクレイピング、悪用に一般的に使われる自動化ツール。

{% hint style="info" %}
**ヒント**: Google の検索クローラーのような正当なサービスはサイトの機能に必要な場合があるため、どのボットカテゴリをブロックするかは慎重に検討してください。
{% endhint %}

## ボットトラフィックをブロックする方法 <a href="#how-to-block-bot-traffic" id="how-to-block-bot-traffic"></a>

特定のアプリを選択し、次に **ファイアウォール** タブ。次に「**ボットを管理**」の横にある「**ボットを管理**」でボットブロックを設定します。

![デモアプリ向けの、攻撃、Tor トラフィック、ボットブロックのオプションを表示するファイアウォール設定画面。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-e048244d8a777b2b34f07f1839760edf95889c3c%2FScreenshot%202025-08-13%20at%2017.20.40.png?alt=media)

次を使用してください: **ボット** 表示で、無視、監視、またはブロックするボットの種類を選択し、「**ボットを更新**」をクリックします。

![アプリへのアクセスを許可、選択、ブロックする特定のボットを選ぶためのインターフェース。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-5a15e5dd76775c819992cb03905a5fe893fce840%2FScreenshot%202025-08-13%20at%2017.21.22.png?alt=media)

{% hint style="info" %}
ボットブロックは即時ではない点にご注意ください。ブロックが有効になるまで最大 1 分かかります。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-bot-traffic-with-zen-firewall.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
