> 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/autofix-to/configure/autofix-for-azure-devops.md).

# OAuth を使用した Azure DevOps 向け AutoFix

Aikdo Autofix は、Aikido を使ってプロジェクト内のサードパーティ依存関係にある脆弱性を修正するためのツールです。これは、パッケージの更新などの方法で脆弱性を取り除くプルリクエストを作成することで実行されます。場合によっては、Aikido Autofix は 1 件の問題だけでなく、脆弱性の一クラス全体を解消できます。

**Azure DevOps 用に Autofix を設定する**

> ワークスペース内のすべてのユーザーは、個別に Autofix を設定する必要があります。

既定では、Aikido は Azure DevOps インスタンスに対して読み取り専用アクセスのみを持っています。Aikido Autofix を使用するには、書き込みアクセス権を持つ別のアクセストークンが必要です。組織で「Organization settings」に移動し、「Policies」をクリックして、「Third-party application access via Oauth」が有効になっていることを確認してください。

![アプリケーションアクセス、公開プロジェクト、ユーザー招待に関する組織のセキュリティポリシー。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-5838be9321d66745e34538f24fbe49aa8a9d87b3%2Fucarecdn-de2304d7-85d2-4b8b-8d71-24259117f59d.png?alt=media)

**ステップ 1. 次のページで Autofix を有効にする** [**Autofix 設定**](https://app.aikido.dev/settings/integrations/autofix) **ページ、または次へ移動して** [**Autofix ページ**](https://app.aikido.dev/issues/fix) **を開き、「Autofix を有効にする」をクリックします。**

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-fa22c0fe756aa9b8798105f9eb95615910b3b1aa%2Fucarecdn-9ac87091-7eef-4f05-86a1-a137f2ddf68c.png?alt=media)

**手順 2.** クリックします **承認**

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-8e0bfca4d503fe03033049c4e9acef167939d78a%2Fucarecdn-8a0e9ba1-c135-4e5f-a37b-3de7ddee86d0.png?alt=media)

**手順 3.** Aikido に次の権限を付与します **書き込み**

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-30e1ec1c11d447e28ee9cab714f33707a17210a0%2Fucarecdn-ad9f2ecc-7a4f-4c78-8e74-2429a4b8e7a8.png?alt=media)

**手順 4.** 保存をクリックすれば完了です。これで、以下から autofix の PR を実行できるようになります： [Autofix ページ](https://app.aikido.dev/issues/fix) またはサイドバー内のサブ問題のアクションメニューから（[こちらで詳しく読む](/docs/docs-ja/autofix-to/scope/autofix-for-open-source-dependencies.md)).


---

# 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/autofix-to/configure/autofix-for-azure-devops.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.
