> 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/task-management-systems/all-supported-task-trackers/github-issues.md).

# GitHub Issues

この一度限りの設定 *ワークスペースごとに* Aikido組織内の誰もがGitHub Issuesで直接課題を作成できるようにします

次のユースケースがサポートされています：

* **チケットの手動追加**：セキュリティ issue チケットを GitHub Issues に手動で同期します。
* **チケットの自動作成**: 指定したGitHub Issueのプロジェクト／リポジトリにチケットを自動作成して送信します。

{% hint style="warning" %}
すべての課題は、それぞれのリポジトリに自動的に作成されます。この機能を無効にしたい場合は、お問い合わせください。
{% endhint %}

{% hint style="info" %}
この連携はGitHub.com向けです。データレジデンシーテナント付きのGitHub Enterprise Cloudをご利用の場合（`SUBDOMAIN.ghe.com`）、こちらを使用してください [GitHub Enterprise Cloud Issues](/docs/docs-ja/hajimeni/task-management-systems/all-supported-task-trackers/github-enterprise-cloud-issues.md) の連携を使用してください。
{% endhint %}

### 前提条件 <a href="#prerequisites" id="prerequisites"></a>

* GitHubアカウントは組織アカウントである必要があります
* GitHub内でIssuesを有効にする必要があります

### AikidoアプリをGitHub Issuesに接続する <a href="#connecting-the-aikido-app-to-github-issues" id="connecting-the-aikido-app-to-github-issues"></a>

1. 次に移動します: [連携設定](https://app.aikido.dev/settings/integrations) を Aikido アプリ内で。
2. 「タスクトラッカー」セクションで「GitHub Issues」を選択します
3. **組織内にIssuesアプリをインストールする** ([インストールリンク](https://github.com/apps/aikido-issues/installations/new)）。これは組織を選択するために必要です。\
   ​

   <img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-892b2ffe71a1d5666c1a7af5d4fe637aff06ee14%2Fucarecdn-bb36cac9-b2e2-49f3-9efc-eccad640cb18.png?alt=media" alt="GitHubの課題追跡連携の設定には、認可と組織の構成が必要です。" width="375">
4. 組織とリポジトリを選択してください\
   ​

   ![ユーザー選択インターフェース付きのAikido Issuesインストールプロンプト。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-6fa85fd0bd5abbe8ba03e1997cd54e19087bf827%2Fucarecdn-4563a93d-56a5-4793-9297-dd32eadc05b5.png?alt=media)
5. 正常にインストールされると、GitHubページ上部に通知が表示されます。 **Aikidoに戻る。**\
   ​

   ![指定したユーザーアカウントで「Aikido Issues」が更新されたことを確認する通知。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-e4f484c8a536b4452eb9cf1659d72b0a27fead19%2Fucarecdn-6f174321-dada-40f3-938e-635ce3e1a691.png?alt=media)
6. **組織を選択してください** をモーダル内で\
   ​

   <img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-de468ded024a4bdb9355a8c7eb5ab4802c72489f%2Fucarecdn-869211a2-7d05-499d-95b1-76188d6f4518.png?alt=media" alt="設定で組織を選択するためのドロップダウンメニュー。" width="375">
7. **保存をクリックします。** ステータスは次のように変更されます **接続済み。**

   <img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-233f10dbcea1796acd0cfe9c4bd41a502cd4fecd%2Fucarecdn-1816d0df-29de-4d8e-9d64-da3851964f10.png?alt=media" alt="GitHubの課題追跡連携が正常に接続され、使用準備が整いました。" width="375">
8. モーダルを閉じて、GitHub Issues連携ページを開きます。既定では、すべての課題は「Default Repo」に同期されます。 **お問い合わせください** 各リポジトリへ課題を自動同期したい場合。

![](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-ac22813bab7365f8b245c5a497a2fe5311a226bd%2Fgithub-issues_62e79607-05a8-4f84-b7f3-77a7009eeb62.png?alt=media)

すべてのAikido Issuesに送信される既定ラベルを設定できます。これらは同期され、GitHubに表示されます。\
​\
​

![aws/aws-sdk-phpの軽微なアップグレードに対するGitHub課題を開く。低優先度のセキュリティ修正ラベル付き。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-51369fd5fe250500b37224369a3b95646410b073%2Fucarecdn-39e93b13-3513-4384-b079-1b9cba20563e.png?alt=media)

#### Aikido経由でGitHub Issuesにタスクを作成するためのオプション <a href="#options-for-task-creation-in-github-issues-via-aikido" id="options-for-task-creation-in-github-issues-via-aikido"></a>

Aikido から GitHub Issues に新しいタスクを作成するには、2 つの方法があります

1. Aikido のインターフェースから手動でタスクを作成する
2. Aikido の自動作成機能を使って新しいタスクを自動作成する。

### 手動でのタスク作成 <a href="#manual-task-creation" id="manual-task-creation"></a>

1. フィード内の任意の課題にカーソルを合わせ、次をクリックします ***+*** を **担当者列。**\
   ​

   <img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-2a44826adbd2b7e39af0611ffbee11bc3cce4a30%2Fasana_a6b1ac3d-ef37-454a-a531-b366d190f292.png?alt=media" alt="「Assignee」列と追加・オプションボタンを表示するタスク管理インターフェース。" width="327">

   あるいは、最後の列にある三点メニューをクリックしてアクションメニューを開くこともできます。課題がグループ化されている場合、三点メニューのアクションメニューはすべてのサブ課題で利用できます。\
   ​

   <img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-1b55c4f9f3975d4d09d36f4c8ff9b1aa21818e3b%2Fucarecdn-7e71f2c8-d4a3-4214-9fc0-26341486d030.png?alt=media" alt="タスク管理アクションのあるドロップダウンメニュー：作成、スヌーズ、無視、リンクをコピー、重大度を調整。" width="221">
2. ポップアップモーダルで必要な詳細を入力します。\
   ​

   <img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-d4780357247803a6f09ddeb87b3883a3205c34b3%2Fucarecdn-c876d6f9-e42b-4d14-9e16-6d8f0474d73d.png?alt=media" alt="プロジェクト、担当者、説明フィールドを備えた新しいGitHub課題タスク作成フォーム。" width="375">

   ​
3. GitHub Issues で新規作成されたタスクは、Aikido の issue 詳細の「Tasks」タブ（サイドパネル）にリンクされます。

![低優先度のAWS SDK PHPアップグレードタスクを表示するタスク管理ダッシュボード。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-bf4076136ced939ad1e21d5e45582d6280156952%2Fucarecdn-8160a9aa-cc40-4bab-9d96-e0f9f7b3f4c6.png?alt=media)

### 自動タスク作成 <a href="#automated-task-creation" id="automated-task-creation"></a>

{% hint style="info" %}
Aikido はタスクを自動的に作成します **毎時、一括で。** 現時点では、これを手動でトリガーするオプションはありません。
{% endhint %}

1. 次へ移動します [GitHub統合](https://app.aikido.dev/settings/integrations/tasktracker) 設定ページ
2. 『**Autocreation**』を有効にするにはトグルを **オンにします。**
3. 自動タスク作成の条件を定義します。

これらの設定はすべて自動作成モーダルで構成できます：

* **オン/オフ：** 自動作成を有効または無効にします。オフの場合、しきい値は実質的に `なし`.
* **重大度しきい値：** の問題に対してチケットを作成 `重大`, `高`, `中`、または `低` 以上。たとえば、 `高` チケットを作成します `高` および `重大`.
* **問題タイプ：** すべての問題タイプに対してチケットを作成するか、次のような特定のタイプに制限します `SCA`, `SAST`, `Secrets`, `クラウド`, `IaC`, `マルウェア`、または `ライセンス`.
* **1日あたりの上限：** 1日に作成されるチケットの最大数を設定します。デフォルトは `25`です。一部のプランでは、より高い上限がサポートされています。
* **チケット作成モード：** 問題グループごとに1件のチケットを作成するか、場所またはスコープごとに別々のチケットを作成します。場所ごとのモードでは、より多くのチケットが作成される場合があります。
* **スコープ：** 場所ごとのモードでのみ使用できます。すべてのリポジトリまたはクラウド、マッピング済みのリポジトリまたはチームのみ、または include と exclude のリストを使用して特定のリポジトリまたはクラウドを対象にします。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-7b144c85fe5d72c9625f8d45caa0b27eb36ef014%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. その後、Aikido がこれらの設定に基づいて自律的に GitHub Issues を生成します 🚀

### GitHub の Issues を自動で閉じる

Aikido では、関連する脆弱性が Aikido で解決されると、リンクされた GitHub issue を自動的に閉じることができます。たとえば、成功したスキャンでそれが検出されなくなった場合や、手動で解決済みとしてマークした場合です。GitHub issue は、そのリンクに対して未解決またはスヌーズ中の Aikido issue が残っていない場合にのみ閉じられます（無視された issue はクローズを妨げません）。これを適用するには、Aikido の検出結果にリンクされた GitHub issue が必要です。

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-1d29737d69cdab048c1d037d882f5ba679d1cf35%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

***


---

# 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/task-management-systems/all-supported-task-trackers/github-issues.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.
