Skip to main content

๐Ÿง  Azure Databricks Workspace is not encrypted using customer-managed key (CMK) - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2026-06-06T12:03:34.090243665Z 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.yaml79F2711B8D59F3D5C7B156AA748588A0
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."