> 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/hajimeni/setting-up-your-account/limit-aikido-access-to-specific-ips.md).

# Aikido へのアクセスを特定の IP に制限する

IP制限を使うと、Aikidoワークスペースへのアクセスを制限でき、信頼できるIPアドレスから接続するユーザーだけがダッシュボードを利用できます。これにより、既存のログイン方法に加えてネットワークレベルの制御が追加されます。

## なぜIP制限を使うのですか？

* ✨ 盗まれた認証情報によるリスクを軽減: 攻撃者が許可されたネットワークから接続できなければ、漏えいしたパスワードやトークンは役に立ちません
* 🛡️ オフィスネットワークやVPNの出口など、既知の場所からのアクセスを強制します
* 🚦 IPベースのアクセス制御を求めるコンプライアンス要件を満たします

## IP制限を設定できるのは誰ですか？

のみ **ワークスペース管理者** はIP制限を表示および管理できます。管理者以外のユーザーは設定ページとAPIからブロックされます。

## IP制限を設定する

{% stepper %}
{% step %}

### IP制限を開く

次へ移動 [**IP制限**](https://app.aikido.dev/settings/advanced/ip-locks) をワークスペース設定で。直接リンクからアクセスしてください。
{% endstep %}

{% step %}

### 信頼できるIPアドレスを追加

をクリック **「IP制限を追加」** と入力し、1つ以上のIPv4アドレスまたはCIDR範囲を入力します。

* 単一のIP（例： `203.0.113.45`）を個別のマシンやVPNの出口ポイントに使用します
* CIDR範囲（例： `203.0.113.0/24`）を使用してサブネット全体を許可します。ネットマスクは `/24` および `/32`

をクリック **「保存」** にする必要があります。許可リストを適用するには。
{% endstep %}

{% step %}

### 現在のIPが含まれていることを確認する

Aikidoは保存時に現在のIPアドレスを自動的に追加します。これにより、自分自身をワークスペースから締め出してしまうのを防げます。

現在のIPは **「現在のIP」** というバッジで一覧に表示されます。ログイン中は自分のIPを削除できません。
{% endstep %}
{% endstepper %}

## 仕組み

少なくとも1つのIPアドレスが許可リストにあると、Aikidoはワークスペースに対してIP制限を有効にします。リストにないIPから接続するユーザーには **403 Forbidden** エラーが表示されます: *「このワークスペースへのアクセスは、あなたのIPからは許可されていません。」*

**IP制限を無効にする:** 許可リストからすべてのIPアドレスを削除してください。最後のエントリを削除すると、IP制限は自動的にオフになり、すべてのユーザーが再びワークスペースにアクセスできるようになります（通常のログイン権限の範囲内で）。

**CIDR範囲:** CIDR範囲を追加すると、Aikidoは内部でそれを個々のIPv4アドレスに展開します。たとえば、 `10.0.0.0/24` は、そのサブネット内の256個すべてのアドレスを追加します。

## アクセス可能なもの

IP制限は、Aikidoダッシュボードおよび認証済みAPI呼び出しによるワークスペースアクセスに適用されます。Aikidoは、スキャン、CIチェック、アラートが中断されないよう、以下の連携を引き続き動作させます:

* CI/CDのwebhookとチェック連携（GitHub、GitLab、Bitbucket、Azure DevOps）
* JiraとMicrosoft Teamsの連携
* Aikidoのバックグラウンドスキャンおよびデータ取得サービス
* Zen Firewallランタイムの公開API

Aikidoサポートは、なりすましによるサポート提供時でも、引き続きあなたのワークスペースにアクセスできます。

## 対応フォーマット

| 形式       | 例               | 注意事項                   |
| -------- | --------------- | ---------------------- |
| IPv4アドレス | `192.168.1.100` | 単一の信頼済みIP              |
| CIDR範囲   | `10.0.0.0/24`   | ネットマスクは `/24` から `/32` |
| IPv6     | 該当なし            | 非対応                    |

## ヒント

{% hint style="warning" %}
IP制限を有効にする前に、すべてのチームメンバーが許可されたネットワークからAikidoにアクセスできることを確認してください。自宅ネットワークを使っているユーザーや、VPNアクセスなしで移動中のユーザーはブロックされます。
{% endhint %}

{% hint style="info" %}
AikidoのIP制限は、Gitプロバイダー側のIP許可リストとは別です。GitHub、GitLab、または別のSCMへのアクセスも制限している場合は、 [Gitプロバイダー向けのIP許可リスト](/docs/docs-ja/miscellaneous-info/ip-allowlisting-for-your-git-provider.md).
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/hajimeni/setting-up-your-account/limit-aikido-access-to-specific-ips.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
