Control: 5.1.5 Ensure that logging for Azure KeyVault is 'Enabled'
Description
Enable AuditEvent logging for key vault instances to ensure interactions with key vaults are logged and available.
Monitoring how and when key vaults are accessed, and by whom enables an audit trail of interactions with confidential information, keys and certificates managed by Azure Keyvault. Enabling logging for Key Vault saves information in an Azure storage account that the user provides. This creates a new container named insights-logs-auditevent
automatically for the specified storage account, and this same storage account can be used for collecting logs for multiple key vaults.
Remediation
Follow Microsoft Azure documentation and setup Azure Key Vault Logging.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cis_v130_5_1_5
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cis_v130_5_1_5 --share
SQL
This control uses a named query:
keyvault_logging_enabled