Use correct encryption properties

When configuring security features in Azure ARM templates, always use the correct property names as specified in the Azure documentation. For double encryption of Azure Compute disks, use "enableDoubleEncryption" rather than "doubleEncryptionEnabled". Using incorrect property names may result in security features not being properly applied, potentially...

copy reviewer prompt

Prompt

Reviewer Prompt

When configuring security features in Azure ARM templates, always use the correct property names as specified in the Azure documentation. For double encryption of Azure Compute disks, use “enableDoubleEncryption” rather than “doubleEncryptionEnabled”. Using incorrect property names may result in security features not being properly applied, potentially leaving resources vulnerable even when you intended to secure them.

// INCORRECT
"properties": {
  "doubleEncryptionEnabled": true
}

// CORRECT
"properties": {
  "enableDoubleEncryption": true
}

Source discussions