Skip to main content

🧠 Azure Databricks Workspace is not encrypted using customer-managed key (CMK) - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:33:26.812482403Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒001βœ”οΈ 199βœ”οΈ extract('CA10Z1__encryptionManagedDisksKeySource__c').isEmpty()βœ”οΈ null
🟒002βœ”οΈ 299βœ”οΈ extract('CA10Z1__encryptionManagedDisksKeySource__c') != 'Microsoft.Keyvault'βœ”οΈ null
🟒003βœ”οΈ 399βœ”οΈ extract('CA10Z1__encryptionManagedDisksKeySource__c') == 'Microsoft.Keyvault'βœ”οΈ null
🟒004βœ”οΈ 399βœ”οΈ extract('CA10Z1__encryptionManagedDisksKeySource__c') == 'Microsoft.Keyvault'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/azure/databricks/customer-managed-keys/policy.yaml929AF730E885E8F9EAD6F8EE54308A49
Open/ce/ca/azure/databricks/customer-managed-keys/prod.logic.yaml16D37636832CDEDA165D7D8E5285E1A0
Open/ce/ca/azure/databricks/customer-managed-keys/test-data.jsonC380A82BEBF0876E6772B1A06E613241
Open/types/CA10Z1__CaAzureDatabricksWorkspace__c/object.extracts.yaml512495ACDA70E3546508F36E8A6F8AAE

Available Commands​

repo-manager policies generate FULL /ce/ca/azure/databricks/customer-managed-keys/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/databricks/customer-managed-keys/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/databricks/customer-managed-keys/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/databricks/customer-managed-keys/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/databricks/customer-managed-keys/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 encrypted with a customer-managed key."
remediationMessage: "Encrypt the Databricks workspace with a customer-managed key."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10Z1__encryptionManagedDisksKeySource__c"
- status: "INCOMPLIANT"
currentStateMessage: "The Databricks workspace is encrypted with a Microsoft-managed key."
remediationMessage: "Encrypt the Databricks workspace with a customer-managed key."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10Z1__encryptionManagedDisksKeySource__c"
right:
TEXT: "Microsoft.Keyvault"
- status: "COMPLIANT"
currentStateMessage: "The Databricks workspace is encrypted with a customer-managed key."
check:
IS_EQUAL:
left:
EXTRACT: "CA10Z1__encryptionManagedDisksKeySource__c"
right:
TEXT: "Microsoft.Keyvault"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected value in the field."