Terraform / Bicep / ARM JSON から AI リソースを検出
Dependa は Infrastructure as Code(IaC)ファイルから AI サービスリソースを検出し、AI BOM に追加します。リージョン設定も Data Sovereignty 確認に反映されます。
IaC 対応は Free 版で利用できます。
| IaC | ファイル | 認識方法 |
|---|---|---|
| Terraform | .tf | HCL 軽量構造認識(正規表現ベース) |
| Bicep | .bicep | Bicep 軽量構造認識(正規表現ベース) |
| ARM JSON | .json(ARM テンプレート) | JSON resources 配列の直接走査 |
| リソースタイプ | サービス |
|---|---|
azurerm_cognitive_account | Azure AI Services |
azurerm_cognitive_deployment | Azure OpenAI Deployment |
azurerm_ai_services | Azure AI Services |
aws_bedrock_custom_model | Bedrock Custom Model |
aws_sagemaker_endpoint | SageMaker Endpoint |
google_vertex_ai_endpoint | Vertex AI Endpoint |
他 5 リソースタイプ(AWS SageMaker Model、Bedrock Logging、Google Vertex AI Index / Feature Store / ML Engine)
| リソースタイプ | サービス |
|---|---|
Microsoft.CognitiveServices/accounts | Azure AI Services |
Microsoft.CognitiveServices/accounts/deployments | Azure OpenAI Deployment |
Microsoft.MachineLearningServices/workspaces | Azure ML Workspace |
Microsoft.Search/searchServices | Azure AI Search |
Microsoft.BotService/botServices | Azure Bot Service |
他 3 リソースタイプ(Azure ML Online Endpoint / Deployment、Azure AI Content Safety)
IaC で指定されたリージョン設定を Data Sovereignty 確認に反映します。
| IaC | 解決方法 |
|---|---|
| Terraform | resource / provider ブロックの location / region 属性 |
| Bicep | location 属性。param の default 値で簡易解決 |
| ARM JSON | location 属性。[parameters('x')] の defaultValue で簡易解決 |
注意: IaC 検出はフォルダスキャンでのみ実行されます。SBOM インポートでは実行されません。
Detect AI resources from Terraform / Bicep / ARM JSON
Dependa detects AI service resources from Infrastructure as Code (IaC) files and adds them to the AI BOM. Region settings are also reflected in Data Sovereignty checks.
IaC support is available in the Free edition.
| IaC | Files | Method |
|---|---|---|
| Terraform | .tf | Lightweight HCL structure recognition (regex-based) |
| Bicep | .bicep | Lightweight Bicep structure recognition (regex-based) |
| ARM JSON | .json (ARM templates) | Direct JSON resources array scanning |
| Resource Type | Service |
|---|---|
azurerm_cognitive_account | Azure AI Services |
azurerm_cognitive_deployment | Azure OpenAI Deployment |
azurerm_ai_services | Azure AI Services |
aws_bedrock_custom_model | Bedrock Custom Model |
aws_sagemaker_endpoint | SageMaker Endpoint |
google_vertex_ai_endpoint | Vertex AI Endpoint |
Plus 5 additional resource types (AWS SageMaker Model, Bedrock Logging, Google Vertex AI Index / Feature Store / ML Engine)
| Resource Type | Service |
|---|---|
Microsoft.CognitiveServices/accounts | Azure AI Services |
Microsoft.CognitiveServices/accounts/deployments | Azure OpenAI Deployment |
Microsoft.MachineLearningServices/workspaces | Azure ML Workspace |
Microsoft.Search/searchServices | Azure AI Search |
Microsoft.BotService/botServices | Azure Bot Service |
Plus 3 additional resource types (Azure ML Online Endpoint / Deployment, Azure AI Content Safety)
Region settings from IaC are fed into Data Sovereignty checks.
| IaC | Resolution Method |
|---|---|
| Terraform | location / region attributes in resource / provider blocks |
| Bicep | location attribute with simple param default resolution |
| ARM JSON | location attribute with [parameters('x')] defaultValue resolution |
Note: IaC detection runs only with folder scan. It does not run when importing an SBOM file.