output "subscriptions" { description = "Give all to the SIEM collector, and urgent to whatever pages the on-call responder." value = { for k, v in google_pubsub_subscription.feed : k => v.id } } output "verify" { description = "A drift, its finding on both feeds, and its history." value = <<-EOT In a scratch project, create a firewall rule allowing tcp:22 from 0.0.0.0/0. Once Security Health Analytics raises the finding: gcloud pubsub subscriptions pull scc-findings-all --project ${var.security_project} --limit=5 gcloud pubsub subscriptions pull scc-findings-urgent --project ${var.security_project} --limit=5 # if its severity is on the urgent list The finding also appears in the scc_findings_history dataset. Delete the rule afterwards. EOT }