AI Governance 分析

プロジェクト内の AI 関連構成を静的解析し、確認ポイントを可視化する

概要

Dependa の AI Governance 機能は、プロジェクト内の AI 関連構成を検出し、ガバナンス上の確認ポイントを整理します。依存関係・ソースコード・環境変数・IaC 定義から AI コンポーネントを統合的に棚卸しし、レポートに出力します。

v2.0 では ExternalServiceUsage の検出がリスク分析と統合され、AI 関連の外部サービス利用がリスク評価に反映されます。

AI Governance は Free 版で利用できます。追加費用はかかりません。

AI BOM(部品表)

プロジェクト内で使用されている AI 関連コンポーネントを検出し、一覧化します。

検出ソース

ソース検出対象
依存関係AI SDK / フレームワーク / ML ライブラリopenai, langchain, transformers
ソースコードimport / require / using 文import openai, from langchain import ...
環境変数.env ファイル内の API キー参照OPENAI_API_KEY, ANTHROPIC_API_KEY
IaC 定義Terraform / Bicep / ARM JSON の AI リソースazurerm_cognitive_account

BOM テーブルの見方

説明
コンポーネント検出された AI コンポーネントの名前
種別SDK / フレームワーク / サービスエンドポイント / 環境設定 など
バージョン検出されたバージョン(IaC の場合は API バージョン)
プロバイダーAI プロバイダー名(OpenAI, Anthropic, Microsoft 等)
直接直接依存か間接(推移)依存か
確度検出の信頼度(High / Medium / Low)
ソース検出元ファイル

ExternalServiceUsage とリスク分析の統合(v2.0)

v2.0 では、AI 関連の外部サービス利用(ExternalServiceUsage)がリスク分析に統合されています。外部 AI API を呼び出しているパッケージに対して、RiskReason と RecommendedAction が自動的に付与されます。

Excessive Agency 検出

AI エージェントや AI アプリに関連する過大な権限設定の候補を検出します。

検出項目説明
AGENCY-001ワイルドカード IAM 権限(Action: "*"
AGENCY-002過大な OAuth スコープ
AGENCY-003書込み / 削除 / 実行系ツール定義
AGENCY-004人間の監視なしの自動承認設定
AGENCY-005書込み可能ツール近傍に安全策が未検出
AGENCY-006無制限または過大な反復上限

Data Sovereignty 確認

AI サービスのデータ送信先やリージョン設定を確認します。

検出項目説明
SOV-001AI サービスのリージョンが未指定
SOV-002非特定リージョン設定(global / auto)
SOV-004外部 AI API への直接呼出し
SOV-005データ残留設定が未検出

組織ポリシー照合

ローカルに配置したポリシーファイルに基づき、許可リージョン外のデータ送信先や未承認 AI プロバイダの利用を検出します。

ポリシーファイル(data/ai-governance/ai-governance-policy.json)を配置すると、ポリシー照合が有効になります。未設定時はスキップされます。

Finding の見方

各検出結果には以下の情報が付与されます。

分析結果画面
分析結果画面 — AI Governance の結果もレビュー画面に統合表示されます

制約事項

注意: AI Governance 分析はフォルダスキャンでのみ実行されます。SBOM インポートでは実行されません。

AI Governance Analysis

Statically analyze AI-related configuration and surface governance review items

Overview

Dependa's AI Governance feature detects AI-related configuration in your project and organizes governance review items. It consolidates AI components from dependencies, source code, environment variables, and IaC definitions into an AI Bill of Materials.

In v2.0, ExternalServiceUsage detection is integrated with Risk Analysis. External AI API usage is reflected in risk assessments.

AI Governance is available in the Free edition at no additional cost.

AI BOM (Bill of Materials)

Detects and inventories AI-related components used in your project.

Detection Sources

SourceDetection TargetExamples
DependenciesAI SDKs / Frameworks / ML Librariesopenai, langchain, transformers
Source Codeimport / require / using statementsimport openai, from langchain import ...
Environment VariablesAPI key references in .env filesOPENAI_API_KEY, ANTHROPIC_API_KEY
IaC DefinitionsTerraform / Bicep / ARM JSON AI resourcesazurerm_cognitive_account

BOM Table Columns

ColumnDescription
ComponentName of the detected AI component
TypeSdk / Framework / ServiceEndpoint / EnvironmentConfig, etc.
VersionDetected version (API version for IaC resources)
ProviderAI provider name (OpenAI, Anthropic, Microsoft, etc.)
DirectWhether direct or transitive dependency
ConfidenceDetection confidence level (High / Medium / Low)
SourceSource file where detected

ExternalServiceUsage and Risk Analysis Integration (v2.0)

In v2.0, AI-related external service usage (ExternalServiceUsage) is integrated with Risk Analysis. Packages that call external AI APIs are automatically assigned RiskReason and RecommendedAction.

Excessive Agency Detection

Detects candidates for overly broad permissions in AI agent configurations.

FindingDescription
AGENCY-001Wildcard IAM permissions (Action: "*")
AGENCY-002Overly broad OAuth scopes
AGENCY-003Write / delete / execute tool definitions
AGENCY-004Automatic approval without human oversight
AGENCY-005Safeguard not detected near write-capable tools
AGENCY-006Unlimited or excessive iteration limit

Data Sovereignty Checks

Reviews AI service data destinations and region settings.

FindingDescription
SOV-001Region not specified for AI services
SOV-002Non-specific region setting (global / auto)
SOV-004Direct external AI API calls detected
SOV-005Retention-related setting not detected for AI provider

Organization Policy Evaluation

Compares detected AI configuration against a local policy file to identify regions outside the allowed list and unapproved AI providers.

Place ai-governance-policy.json in data/ai-governance/ to enable policy evaluation. Skipped when not configured.

Understanding Findings

Each finding includes:

Analysis Results
Analysis results — AI Governance findings integrated into the review screen

Limitations

Note: AI Governance analysis runs only with folder scan. It does not run when importing an SBOM file.