Azure data factories are not encrypted with a customer-managed key misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC2_AZURE_15
Category - Subcategory
Storage - Encryption
Provider
AZURE
Severity
LOW
Framework
Terraform, Terraform Plan
Impact
Use customer-managed keys to manage the encryption at rest of your Azure Data Factory. By default, customer data is encrypted with service-managed keys, but customer-managed keys are commonly required to meet regulatory compliance standards. Customer-managed keys enable the data to be encrypted with an Azure Key Vault key created and owned by you. You have full control and responsibility for the key lifecycle, including rotation and management.
How to Fix
Resource: azurerm_data_factory, azurerm_data_factory_linked_service_key_vault
Arguments: data_factory_name (of azurerm_data_factory_linked_service_key_vault ) [source,go]
resource "azurerm_data_factory" "data_factory_good" { name = "example" location = "location" resource_group_name = "group" }
resource "azurerm_data_factory_linked_service_key_vault" "factory_good" { name = "example" resource_group_name = "example" data_factory_name = azurerm_data_factory.data_factory_good.name key_vault_id = "123456" }
Last updated
Was this helpful?
