IaC 対応

Terraform / Bicep / ARM JSON から AI リソースを検出

概要

Dependa は Infrastructure as Code(IaC)ファイルから AI サービスリソースを検出し、AI BOM に追加します。リージョン設定も Data Sovereignty 確認に反映されます。

IaC 対応は Free 版で利用できます。

対応 IaC

IaCファイル認識方法
Terraform.tfHCL 軽量構造認識(正規表現ベース)
Bicep.bicepBicep 軽量構造認識(正規表現ベース)
ARM JSON.json(ARM テンプレート)JSON resources 配列の直接走査

検出される AI リソース

Terraform(11 リソースタイプ)

リソースタイプサービス
azurerm_cognitive_accountAzure AI Services
azurerm_cognitive_deploymentAzure OpenAI Deployment
azurerm_ai_servicesAzure AI Services
aws_bedrock_custom_modelBedrock Custom Model
aws_sagemaker_endpointSageMaker Endpoint
google_vertex_ai_endpointVertex AI Endpoint

他 5 リソースタイプ(AWS SageMaker Model、Bedrock Logging、Google Vertex AI Index / Feature Store / ML Engine)

Bicep / ARM JSON(8 リソースタイプ)

リソースタイプサービス
Microsoft.CognitiveServices/accountsAzure AI Services
Microsoft.CognitiveServices/accounts/deploymentsAzure OpenAI Deployment
Microsoft.MachineLearningServices/workspacesAzure ML Workspace
Microsoft.Search/searchServicesAzure AI Search
Microsoft.BotService/botServicesAzure Bot Service

他 3 リソースタイプ(Azure ML Online Endpoint / Deployment、Azure AI Content Safety)

location / region の抽出

IaC で指定されたリージョン設定を Data Sovereignty 確認に反映します。

IaC解決方法
Terraformresource / provider ブロックの location / region 属性
Biceplocation 属性。param の default 値で簡易解決
ARM JSONlocation 属性。[parameters('x')] の defaultValue で簡易解決
分析結果画面
IaC から検出された AI リソースもレビュー画面に表示されます

制約事項

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

IaC Support

Detect AI resources from Terraform / Bicep / ARM JSON

Overview

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.

Supported IaC

IaCFilesMethod
Terraform.tfLightweight HCL structure recognition (regex-based)
Bicep.bicepLightweight Bicep structure recognition (regex-based)
ARM JSON.json (ARM templates)Direct JSON resources array scanning

Detected AI Resources

Terraform (11 resource types)

Resource TypeService
azurerm_cognitive_accountAzure AI Services
azurerm_cognitive_deploymentAzure OpenAI Deployment
azurerm_ai_servicesAzure AI Services
aws_bedrock_custom_modelBedrock Custom Model
aws_sagemaker_endpointSageMaker Endpoint
google_vertex_ai_endpointVertex AI Endpoint

Plus 5 additional resource types (AWS SageMaker Model, Bedrock Logging, Google Vertex AI Index / Feature Store / ML Engine)

Bicep / ARM JSON (8 resource types)

Resource TypeService
Microsoft.CognitiveServices/accountsAzure AI Services
Microsoft.CognitiveServices/accounts/deploymentsAzure OpenAI Deployment
Microsoft.MachineLearningServices/workspacesAzure ML Workspace
Microsoft.Search/searchServicesAzure AI Search
Microsoft.BotService/botServicesAzure Bot Service

Plus 3 additional resource types (Azure ML Online Endpoint / Deployment, Azure AI Content Safety)

Location / Region Extraction

Region settings from IaC are fed into Data Sovereignty checks.

IaCResolution Method
Terraformlocation / region attributes in resource / provider blocks
Biceplocation attribute with simple param default resolution
ARM JSONlocation attribute with [parameters('x')] defaultValue resolution
Analysis Results
AI resources detected from IaC are displayed in the review screen

Limitations

Note: IaC detection runs only with folder scan. It does not run when importing an SBOM file.