output "workspace_id" { description = "The workspace containing the Entra ID audit and sign-in logs." value = azurerm_log_analytics_workspace.entra.id } output "verify" { description = "How to prove each alert fires." value = <<-EOT Rows are flowing when this returns a recent time: az monitor log-analytics query -w ${azurerm_log_analytics_workspace.entra.workspace_id} --analytics-query "SigninLogs | summarize max(TimeGenerated)" Assign a test user the Reports Reader role, then remove it. entra-role-granted emails within about fifteen minutes. Add a client secret to a test app registration, then delete it. entra-app-credentials follows. ${length(var.break_glass_object_ids) > 0 ? "Sign in once with an emergency access account, as your runbook schedules. entra-break-glass-sign-in follows." : "Set break_glass_object_ids to alert on emergency access sign-ins."} Each alert's description names its saved query in the workspace, under the category Identity provider signals. EOT }