> 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/aikido-libraries/setup-instructions)、次を選択します **NPM**、そしてアップストリーム プロキシ URL をコピーします。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d8af4ae912800a6d829193833ff1c9c9aa8635af%2FScreenshot%202026-08-11%20at%2009.34.58.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Aikido をアップストリーム ソースとして追加する

1. Azure DevOps Project で、 **Artifacts** を開き、フィードを開きます。
2. クリックします **フィードの設定** (歯車アイコン)。
3. へ移動 **アップストリーム ソース** タブを開いてクリックします **アップストリームを追加**.
4. 選択します **公開ソース** をソースタイプとして
5. 設定を入力します：
   * **公開ソース**: `カスタム レジストリ`
   * **公開ソース URL**：手順 1 で取得した Aikido プロキシ URL を貼り付けます
   * **パッケージの種類**: `npm`
   * **アップストリーム ソース名**: `aikido`
6. 入力してください `@aikidosec/mcp` を **検証** フィールドに入力し、 **検証** クリックして接続が機能していることを確認します。
7. クリックします **検証**、その後 **追加**.
8. クリックします **Save**
   {% 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 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/sonono/private-registries/azure-devops-artifacts.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.
