rules/findings/azure/databricks/azure-databricks-traffic-not-encrypted-between-worker-nodes.json

{
    "provider": "Azure",
    "serviceType": "Databricks",
    "serviceName": "Analytics Services",
    "displayName": "Ensure that traffic is encrypted between cluster worker nodes",
    "description": "By default, data exchanged between worker nodes in an Azure Databricks cluster is not encrypted. To ensure that data is encrypted at all times, whether at rest or in transit, you can create an initialization script that configures your clusters to encrypt traffic between worker nodes using AES 256-bit encryption over a TLS 1.3 connection.",
    "rationale": "• Protects sensitive data during transit between cluster nodes, mitigating risks of data interception or unauthorized access.\n• Aligns with organizational security policies and compliance requirements that mandate encryption of data in transit.\n• Enhances overall security posture by ensuring that all inter-node communications within the cluster are encrypted.",
    "impact": "• Enabling encryption may introduce a performance penalty due to the computational overhead associated with encrypting and decrypting traffic. This can result in longer query execution times, especially for data-intensive operations.\n• Implementing encryption requires creating and managing init scripts, which adds complexity to cluster configuration and maintenance.\n• The shared encryption secret is derived from the hash of the keystore stored in DBFS. If the keystore is updated or rotated, all running clusters must be restarted to prevent authentication failures between Spark workers and drivers.",
    "remediation": {
        "text": "",
        "code": {
            "powerShell": null,
            "iac": null,
            "terraform": null,
            "other": null
        }
    },
    "recommendation": null,
    "references": [
        "https://learn.microsoft.com/en-us/azure/databricks/security/keys/encrypt-otw"
    ],
    "compliance": [
        {
            "name": "CIS Microsoft Azure Foundations",
            "version": "6.0.0",
            "reference": "2.1.3",
            "profile": [
                "Level 2"
            ]
        }
    ],
    "level": "medium",
    "tags": [],
    "rule": {
        "path": "",
        "subPath": null,
        "selectCondition": {},
        "query": [
        ],
        "shouldExist": null,
        "returnObject": null,
        "removeIfNotExists": null
    },
    "output": {
        "html": {
            "data": {
                "properties": {},
                "expandObject": null
            },
            "table": "default",
            "decorate": [],
            "emphasis": [],
            "actions": {
                "objectData": {
                    "properties": [],
                    "expandObject": null,
                    "limit": null
                },
                "showGoToButton": "True",
                "showModalButton": "True",
                "directLink": null
            }
        },
        "text": {
            "data": {
                "properties": {},
                "expandObject": null
            },
            "status": {
                "keyName": ["name"],
                "message": "Ensure that traffic is encrypted between cluster worker nodes",
                "defaultMessage": null
            },
            "properties": {
                "resourceName": "name",
                "resourceId": "id",
                "resourceType": "type"
            },
            "onlyStatus": false
        }
    },
    "idSuffix": "azure_databricks_lacks_encryption_between_cluster_worker_nodes",
    "notes": [],
    "categories": [],
    "immutable_properties": [
        "name",
        "id"
    ],
    "id": "az_databricks_003"
}