Rule 1: VM Trusted Launch not enabled
- Rule ID: AZ-XXX-000
- Severity: MEDIUM
- Category: Compute
- Frameworks: CIS / NIST / ISO 27001
What it detects: Generation 2 VMs where Trusted Launch (Secure Boot and vTPM) is not enabled.
Detection logic: Check security_profile.security_type == "TrustedLaunch" and that both
uefi_settings.secure_boot_enabled and uefi_settings.v_tpm_enabled are true. Skip
(NOT_APPLICABLE) Generation 1 VMs, which don't support Trusted Launch.
Why it matters: Without Secure Boot and vTPM, malicious or unsigned code can run during boot and
persist beneath the OS, evading OS-level antimalware and EDR entirely.
Remediation: Portal (VM > Configuration > Security type), or
az vm update --security-type TrustedLaunch --enable-secure-boot true --enable-vtpm true
(requires a restart; only supported VM sizes/images).
Test plan (Rule 1 only)
Coordination
The originally-scoped "VM without Managed Identity" rule (Rule 2) has been removed from this
issue to avoid overlapping the enterprise identity work. The Trusted Launch rule (Rule 1) above
is the sole remaining scope of this issue. The VM Managed Identity rule is now tracked within the
enterprise identity packs — #254 (App Identity/OAuth), #258 (Privileged Access/Identity), and the
closed #193 (Managed Identity pack) — and should be picked up as part of that pack rather than as
a standalone rule.
Rule 1: VM Trusted Launch not enabled
What it detects: Generation 2 VMs where Trusted Launch (Secure Boot and vTPM) is not enabled.
Detection logic: Check security_profile.security_type == "TrustedLaunch" and that both
uefi_settings.secure_boot_enabled and uefi_settings.v_tpm_enabled are true. Skip
(NOT_APPLICABLE) Generation 1 VMs, which don't support Trusted Launch.
Why it matters: Without Secure Boot and vTPM, malicious or unsigned code can run during boot and
persist beneath the OS, evading OS-level antimalware and EDR entirely.
Remediation: Portal (VM > Configuration > Security type), or
az vm update --security-type TrustedLaunch --enable-secure-boot true --enable-vtpm true(requires a restart; only supported VM sizes/images).
Test plan (Rule 1 only)
Coordination
The originally-scoped "VM without Managed Identity" rule (Rule 2) has been removed from this
issue to avoid overlapping the enterprise identity work. The Trusted Launch rule (Rule 1) above
is the sole remaining scope of this issue. The VM Managed Identity rule is now tracked within the
enterprise identity packs — #254 (App Identity/OAuth), #258 (Privileged Access/Identity), and the
closed #193 (Managed Identity pack) — and should be picked up as part of that pack rather than as
a standalone rule.