π§ Azure Databricks Workspace is not deployed in a customer-managed virtual network (VNet) - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π Azure Databricks Workspace
- π Azure Databricks Workspace - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-02-10T22:33:26.554516219Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 99 | βοΈ isDisappeared(CA10Z1__disappearanceTime__c) | βοΈ null |
| π’ | 002 | βοΈ 199 | βοΈ extract('caJsonText__parametersJsonCustomVirtualNetworkValue__c').isEmpty() | βοΈ null |
| π’ | 003 | βοΈ 199 | βοΈ extract('caJsonText__parametersJsonCustomVirtualNetworkValue__c').isEmpty() | βοΈ null |
| π’ | 004 | βοΈ 199 | βοΈ extract('caJsonText__parametersJsonCustomVirtualNetworkValue__c').isEmpty() | βοΈ null |
| π’ | 005 | βοΈ 299 | βοΈ extract('caJsonText__parametersJsonCustomVirtualNetworkValue__c').isNotEmpty() | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/databricks/customer-managed-virtual-network/policy.yaml | 74E59B4178BC06543ED8D7ADE3E294A7 |
| Open | /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml | F1ABD43E55A689AD829361F5365FEF64 |
| Open | /ce/ca/azure/databricks/customer-managed-virtual-network/test-data.json | 2C838A9C6E91A402ADCED8CF48344C05 |
| Open | /types/CA10Z1__CaAzureDatabricksWorkspace__c/object.extracts.yaml | 512495ACDA70E3546508F36E8A6F8AAE |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml
Contentβ
---
inputType: "CA10Z1__CaAzureDatabricksWorkspace__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10Z1__CaAzureDatabricksWorkspace__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Databricks workspace is not deployed in a customer-managed virtual network."
remediationMessage: "Delete the existing Databricks workspace and deploying a new Azure Databricks workspace in a custom virtual network."
check:
IS_EMPTY:
arg:
EXTRACT: "caJsonText__parametersJsonCustomVirtualNetworkValue__c"
- status: "COMPLIANT"
currentStateMessage: "The Databricks workspace is deployed in a customer-managed virtual network."
check:
NOT_EMPTY:
arg:
EXTRACT: "caJsonText__parametersJsonCustomVirtualNetworkValue__c"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected value in the field."