output "evidence_account" { description = "Where each VM's record and hash land." value = azurerm_storage_account.evidence.name } output "status_topic" { description = "Subscribe to this topic for one event per step." value = azurerm_eventgrid_topic.status.id } output "verify" { description = "The drill, on a test VM you do not mind isolating." value = <<-EOT az tag update --resource-id --operation Merge --tags incident=drill-1 az lock list --resource -o table # incident-drill-1, CanNotDelete az snapshot list -g ${azurerm_resource_group.evidence.name} --query "[?tags.incident=='drill-1'].name" -o tsv az network nic show --ids --query networkSecurityGroup.id -o tsv # nsg-incident-quarantine- az storage blob list --auth-mode login --account-name ${azurerm_storage_account.evidence.name} -c evidence --prefix incidents/drill-1/ -o table # instance.json and its sha256; needs Storage Blob Data Reader az storage blob delete --auth-mode login --account-name ${azurerm_storage_account.evidence.name} -c evidence -n incidents/drill-1///instance.json # refused: immutability policy, even for Storage Blob Data Owner Subscribe a storage queue to ${azurerm_eventgrid_topic.status.name} before the drill to see recorded, locked, snapshot, isolated, done. Download incidents/drill-1 with an account that can read it, then run evidence-verify on it. EOT }