Skip to main content

πŸ›‘οΈ Azure Managed HSM diagnostic logging is not enabled🟒βšͺ

  • Contextual name: πŸ›‘οΈ Managed HSM diagnostic logging is not enabled🟒βšͺ
  • ID: /ce/ca/azure/managed-hsm/diagnostic-logging
  • Tags:
  • Policy Type: COMPLIANCE_POLICY
  • Policy Categories: SECURITY

Stats​

not available

Description​

Open File

Description​

A Managed HSM keeps its AuditEvent resource log, the record of authenticated requests and key operations, only when a diagnostic setting sends that log category to a Log Analytics workspace, storage account, or event hub.

Rationale​

Without a diagnostic setting, the HSM's key operations, local role assignment changes, and security domain downloads leave no retained record. Misuse of a key, an over- broad role assignment, or a security domain export by an insider then cannot be detected or attributed, for the keys that protect an estate's most sensitive data.

Audit​

This requirement needs manual assessment. Managed HSM resources and their audit diagnostic settings are not collected.

Remediation​

Open File

Remediation​

A Managed HSM keeps its AuditEvent resource log, the record of authenticated requests and key operations, only when a diagnostic setting sends that log category to a Log Analytics workspace, storage account, or event hub.

On the Managed HSM, open Monitoring > Diagnostic settings. Add or edit a setting, enable the audit category group or AuditEvent category, select at least one approved destination, and save. Preserve existing log categories and destinations when editing a setting. Verify that audit events reach the destination.

Automated assessment is unavailable: Managed HSM resources and their audit diagnostic settings are not collected.

policy.yaml​

Open File

Linked Framework Sections​

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
πŸ’Ό CIS Azure v7.0.0 β†’ πŸ’Ό 8.3.1.2 Ensure that Logging for Azure Key Vault Managed HSM is 'Enabled' (Automated)1no data
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Logging and Monitoring Configuration82no data