> 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/kuraudosukyan/connect-your-cloud/azure/connect-azure-management-group-s.md).

# Azure管理グループを接続する

このページでは、同じAzure管理グループ内のAzureサブスクリプションを自動かつ継続的に接続するAikidoのサポートについて説明します。

{% hint style="info" %}
この機能は以下でのみ利用できます **Pro** および **Advanced** プランです。 **お問い合わせください** 詳細はチャットでお問い合わせください。
{% endhint %}

Azureサブスクリプションのオンボーディング時に、Azure管理グループ全体を自動的に接続するオプションがあります。

## Azure管理グループを接続する理由

Azure管理グループ全体を接続すると、次の利点があります：

* **より迅速なセットアップ**：手動で接続するのは1つのサブスクリプションだけで済みます。
* **サブスクリプションの自動検出**：Azureサブスクリプションは将来追加されるものも含め、自動的にAikidoに追加されます。
* **ACRスキャンの自動設定**：AikidoがすべてのAzure Container Registryを自動的に検出し、スキャンします。
* **Azure VMスキャンの自動設定**：有効にすると、Aikidoはエージェントレス技術を使用してすべてのAzure VMをスキャンします。

## 前提条件

* 現在ご利用中のプランはPro、Advanced、またはEnterpriseです。
* Azure環境内の管理グループにアクセス権があります。

## はじめに

* Azureサブスクリプションのオンボーディングの標準手順に従ってください。
* 手順3で、「Management Groups」オプションを選択します。
* Aikidoで「管理クラウド」として機能するサブスクリプションのIDを入力してください。これは単に接続情報を保持するサブスクリプションです。これと他のサブスクリプションとの間にセットアップ上の違いはありません。今後しばらく使い続ける予定のものを選ぶことをおすすめします。
* その他の項目は任意です。 **空欄のままにすると、テナント内のすべてのAzureサブスクリプションが自動的に接続されます。**
* 次に、Azure環境へのRBAC/IAMアクセスを設定する必要があります。

{% hint style="info" %}
アクセス権は管理グループレベルで付与する必要があります。テナントルートの管理グループでアクセスを付与すると、すべての管理グループとサブスクリプションに自動的に継承されます。

あるいは、特定の（サブ）管理グループにアクセスを付与して、環境の一部だけをオンボードすることもできます。
{% endhint %}

* CSPMコンポーネントについては、AikidoはAzureロール `Security Reader` および `Log Analytics Reader`.
* ACRスキャンには、Aikidoは以下を必要とします： `AcrPull` および `Container Registry Repository Catalog Lister`.
* VMスキャンには、Aikidoは次の権限を持つロールを必要とします：

```
Microsoft.Compute/virtualMachines/read,
Microsoft.Compute/disks/beginGetAccess/action,
Microsoft.Compute/disks/endGetAccess/action,
Microsoft.Compute/disks/read,
Microsoft.Compute/snapshots/read,
Microsoft.Compute/snapshots/write,
Microsoft.Compute/snapshots/delete,
Microsoft.Compute/snapshots/beginGetAccess/action,
Microsoft.Compute/snapshots/endGetAccess/action,
Microsoft.Authorization/roleAssignments/read,
```

* セットアップが完了すると、他のサブスクリプションは数分以内に表示され始めます。

#### クラウドの用途の判定 <a href="#cloud-purpose-determination" id="cloud-purpose-determination"></a>

Azureサブスクリプションの用途/環境は、その名前から自動的に判定されます。Aikidoは「production」「staging」「uat」などの用語を探し、それに応じてクラウドの用途を設定します。一致するものが見つからない場合、用途は「mixed」になります。各クラウド接続の用途は、「Configure」ボタンを使って手動で更新できます。


---

# 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/kuraudosukyan/connect-your-cloud/azure/connect-azure-management-group-s.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.
