Skip to main content

🧠 Azure Databricks Workspace is not deployed in a customer-managed virtual network (VNet) - prod.logic.yaml 🟒

Flags​

Input Type​

TypeAPI NameExtractsExtract FilesLogic Files
πŸ”’πŸ“— Azure Databricks WorkspaceCA10Z1__CaAzureDatabricksWorkspace__c412

Uses​

Test Results πŸŸ’β€‹

Generated at: 2025-07-21T17:37:23.298559827Z Open

ResultIdCondition IndexCondition TextRuntime 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​

FileMD5
Open/ce/ca/azure/databricks/customer-managed-virtual-network/policy.yaml99F0728712C9E23B96E3DF0394288B8B
Open/ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml05D8CFF1B6F4E5B6B424091D77FD9E42
Open/ce/ca/azure/databricks/customer-managed-virtual-network/test-data.json2C838A9C6E91A402ADCED8CF48344C05
Open/types/CA10Z1__CaAzureDatabricksWorkspace__c/object.extracts.yaml386013C014351948A2036C32C9D43AB2

Generate FULL script​

java -jar repo-manager.jar policies generate FULL /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml

Generate DEBUG script​

java -jar repo-manager.jar policies generate DEBUG /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml

Generate CAPTURE_TEST_DATA script​

java -jar repo-manager.jar policies generate CAPTURE_TEST_DATA /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml

Generate TESTS script​

java -jar repo-manager.jar policies generate TESTS /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml

Execute tests​

java -jar repo-manager.jar policies test /ce/ca/azure/databricks/customer-managed-virtual-network/prod.logic.yaml

Content​

Open File

---
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: "Consider deleting 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."