> 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パイプライン設定](/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.
