> 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/scanning-practices/dependency-scanning-for-bazel.md).

# Bazelの依存関係スキャン

Bazel を使うと、Maven リポジトリ、Git リポジトリ、内部アーティファクトレジストリなど、さまざまなソースから依存関係をインポートできます。これは通常、次のような依存関係ルールを使用して実現されます。 `http_jar`, `maven_install` .

Aikido は、Bazel 内で定義したターゲットをセキュリティ脆弱性についてスキャンできます。ビルドは不要なため、解析プロセスが高速化されます。

現在サポートしている Bazel ルールの数は限られていますが、順次サポートを拡大しています。サポート対象に追加してほしい新しい Bazel ルールがあれば、当社チームまでご連絡ください。

#### サポートされている Bazel ルール

現在、以下の Bazel ルールを介してインポートされた依存関係をスキャンしています:

<table><thead><tr><th width="184.8897705078125">Bazel ルール</th><th>注記</th><th>バージョン</th></tr></thead><tbody><tr><td><code>java_library</code></td><td><ul><li><p>次の依存関係ルールを介して取り込まれた依存関係を特定するために、依存関係関連の属性を解析します:</p><ul><li><code>maven_install</code></li></ul></li></ul></td><td><ul><li>Bazel >= 5</li></ul></td></tr><tr><td><code>rules_jvm_external</code></td><td><ul><li>maven.install(...) の定義の `lock_file` 属性で参照されるロックファイルを解析します。詳細を見る <a href="https://github.com/bazel-contrib/rules_jvm_external?tab=readme-ov-file#pinning-artifacts-and-integration-with-bazels-downloader"><strong>こちら</strong></a>.</li></ul></td><td><ul><li>Bazel >= 5</li></ul></td></tr></tbody></table>


---

# 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/scanning-practices/dependency-scanning-for-bazel.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.
