> 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.
