Control: Azure Key Vault Managed HSM should have purge protection enabled
Description
Malicious deletion of an Azure Key Vault Managed HSM can lead to permanent data loss. A malicious insider in your organization can potentially delete and purge Azure Key Vault Managed HSM. Purge protection protects you from insider attacks by enforcing a mandatory retention period for soft deleted Azure Key Vault Managed HSM. No one inside your organization or Microsoft will be able to purge your Azure Key Vault Managed HSM during the soft delete retention period.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.keyvault_managed_hms_purge_protection_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.keyvault_managed_hms_purge_protection_enabled --share
SQL
This control uses a named query:
keyvault_managed_hms_purge_protection_enabled