> 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/sonono/private-registries/azure-devops-artifacts.md).

# Azure DevOps Artifacts

Azure DevOps Artifacts を仲介として構成し、Aikido のレジストリプロキシ経由でレジストリ通信をルーティングします。Artifacts は公開レジストリではなく Aikido からパッケージを取得するため、チームがインストールするすべてのパッケージがマルウェア、年齢制限、既知の脆弱性についてチェックされます。

{% hint style="warning" %}
Azure DevOps Artifacts は、カスタムの上流ソースとして **NPM**.
{% endhint %}

{% stepper %}
{% step %}

### Aikido のプロキシ URL を取得する

移動先 [設定 > レジストリプロキシ](https://app.aikido.dev/issues/fix/extended-lifecycle-support/setup-instructions)、 **NPM**をサポートしており、上流プロキシ URL をコピーします。

<figure><img src="/files/2182cd5f7e8192bcddbb04f4e6868812d1851b90" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Aikido を上流ソースとして追加

1. Azure DevOps プロジェクトで、 **Artifacts** を開き、フィードを開きます。
2. クリック **フィード設定** （歯車アイコン）。
3. 次へ移動 **上流ソース** タブを開き、 **上流を追加**.
4. 次を選択します **公開ソース** をソースの種類として
5. 次のように設定します：
   * **公開ソース**: `カスタムレジストリ`
   * **公開ソース URL**：手順 1 で取得した Aikido プロキシ URL を貼り付けます
   * **パッケージの種類**: `npm`
   * **上流ソース名**: `aikido`
6. 入力 `@aikidosec/mcp` を **検証** フィールドに入力し、 **検証** をクリックして接続が機能していることを確認します。
7. クリック **検証**、その後 **追加**.
8. クリック **保存**
   {% endstep %}

{% step %}

### 既定の npm 上流ソースを削除

すべての npm トラフィックが公開レジストリではなく Aikido を経由するようにするには、次のようにします：

1. 同じ **上流ソース** タブで、既存の `npmjs` 上流ソースを見つけます。
2. 横の削除アイコンをクリックし、削除を確認します。
   {% endstep %}

{% step %}

### 開発者マシンを Azure Artifacts に接続するよう構成する

各開発者の npm クライアントを Artifacts フィードに向けます。正確な手順については Microsoft のドキュメントを参照してください：

[開発者としてフィードに接続する（npm）](https://learn.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc)
{% endstep %}

{% step %}

### (任意) Device Protection で公開レジストリをブロックする

Artifacts を導入しても、開発者が npm を公開レジストリに直接向ければ、引き続きバイパスできます。すべての通信をプライベートレジストリ経由に強制するには、Aikido Device Protection を導入してください。

{% content-ref url="/pages/7fa47c5a1ee5b3c664f0ab37ca9a23372513ddeb" %}
[公開パッケージレジストリをブロック](/docs/docs-ja/aikido-device-protection/using-aikido-endpoint/block-public-package-registries.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}


---

# 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/sonono/private-registries/azure-devops-artifacts.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.
