> 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/kdosukyan/local-code-scanning.md).

# ローカルコードスキャン

ローカルコードスキャンを使うと、コードをAikidoに送信することなく、自分のマシン上でソースコードを直接分析できます。開発中の変更をテストしたい場合、分離された環境で作業したい場合、または機密性の高いリポジトリを完全にローカルに保ちたい場合に便利です。

{% hint style="success" %}
ほとんどのワークフローでは、引き続き次のものの使用をおすすめします。 [標準のAikido連携](/docs/docs-ja/kdosukyan/connect-your-source-code.md) そのほうがより速い結果とより広いカバレッジが得られるためです。
{% endhint %}

始める前に、ローカルスキャンに対応したAikidoアカウント／ワークスペースがあることを確認してください。次に従ってください。 [ローカルスキャン用アカウントの作成](/docs/docs-ja/kdosukyan/local-code-scanning/account-creation-for-local-scanning-on-aikido.md).

代わりにコンテナイメージをスキャンしたい場合は、次を確認してください。 [コンテナイメージスキャンのドキュメント](/docs/docs-ja/kontenaimjisukyan/local-image-scanning.md).

## 一般

{% content-ref url="/pages/a040e187e1ae7c1c7cf2597ab7b8722124178c07" %}
[ローカルスキャン用のアカウント作成](/docs/docs-ja/kdosukyan/local-code-scanning/account-creation-for-local-scanning-on-aikido.md)
{% endcontent-ref %}

{% content-ref url="/pages/c8c5f3294534f616afaf1c73474c0331d911d26f" %}
[ローカルスキャナーを使ったコードの PR 制御](/docs/docs-ja/kdosukyan/local-code-scanning/pr-gating-for-code-using-local-scanner.md)
{% endcontent-ref %}

{% content-ref url="/pages/446cbeb4d968128dd53138693cfff8dbda800006" %}
[ローカルスキャナーを使ったコードのリリース制御](/docs/docs-ja/kdosukyan/local-code-scanning/release-gating-for-code-using-local-scanner.md)
{% endcontent-ref %}

{% content-ref url="/pages/40caac73847364d444b03b4e9913194fec23cb05" %}
[ローカルスキャナーを使った夜間スキャンの実行](/docs/docs-ja/kdosukyan/local-code-scanning/performing-nightly-scans-using-the-aikido-local-scanner.md)
{% endcontent-ref %}

{% content-ref url="/pages/65ae7eb5d43a341f8d6c7440a05cc41fb8ef7257" %}
[ローカルコードスキャンの CLI オプション](/docs/docs-ja/kdosukyan/local-code-scanning/cli-options-for-local-scanner.md)
{% endcontent-ref %}

## CI/CD連携

{% content-ref url="/pages/45cce4effed5144bd0a4f6b690e32b809f750449" %}
[ローカルコードスキャンのための Azure DevOps Server セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/azure-devops-server-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/1d7a0b552d24c2df687685cbd88504b666a35424" %}
[ローカルコードスキャンのための Bitbucket Pipeline セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/bitbucket-pipeline-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/f12ce658ee904d11f44f88c7a2dde96c33be611d" %}
[ローカルコードスキャンのための Bamboo セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/bamboo-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/884d6d26a2b371ecbe346bcff06a5aa7740e6cb2" %}
[ローカルコードスキャンのための CircleCI セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/circleci-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/6e4a745cfcc8e228374d197a4992c1a39bff438d" %}
[ローカルオンプレコードスキャンのための GitHub Action セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/github-action-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/60c66423e8f86af57a4ca99ffa4bdfdda0270e0b" %}
[ローカルコードスキャンのための GitLab Self Managed セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/gitlab-self-managed-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/5e4654b5ce05fd2c2f120cc0bc7e1cbbddde5ad0" %}
[ローカルコードスキャン用の Jenkins セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/jenkins-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/288811acf8ee58f75d14d713d4f25be7aff694f5" %}
[ローカルコードスキャンのための TeamCity Pipeline セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/teamcity-pipeline-setup-for-local-code-scanning.md)
{% endcontent-ref %}

## オペレーティングシステム

{% content-ref url="/pages/2d43e65bde3a762713a36e749dc2a1589ddb8c29" %}
[ローカルコードスキャンのための Linux セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/linux-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/17ea089212adfe1c8085fd32b2dce4b5a5f5e1c7" %}
[ローカルコードスキャンのための Mac セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/mac-setup-for-local-code-scanning.md)
{% endcontent-ref %}

{% content-ref url="/pages/389bcff7331001c2cb90aeebae9eb6d68e75a0ab" %}
[ローカルコードスキャンのための Windows セットアップ](/docs/docs-ja/kdosukyan/local-code-scanning/windows-setup-for-local-code-scanning.md)
{% endcontent-ref %}

## その他

{% content-ref url="/pages/e14fec7bf007f2e69dab4d4058ae3ed3f4afd909" %}
[既存の SCM 連携ワークスペースでのローカルスキャン](/docs/docs-ja/kdosukyan/local-code-scanning/local-scanning-in-existing-scm-integrated-workspaces.md)
{% endcontent-ref %}


---

# 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/kdosukyan/local-code-scanning.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.
