output "topic_ocid" { description = "The topic every alarm publishes to. Subscribe other endpoints here." value = oci_ons_notification_topic.insider.id } output "verify" { description = "How to prove each alarm fires, and that the event names match." value = <<-EOT oci os preauth-request create --bucket-name --name probe --access-type ObjectRead --object-name x --time-expires 2030-01-01T00:00:00Z # shared-outside emails within a few minutes oci os bucket update --name --public-access-type ObjectRead, then set it back to NoPublicAccess # shared-outside again Add a line to a test policy's description and save # rights-changed follows Update a test alarm's display name # logging-weakened follows If one stays quiet, search the tenancy's _Audit_Include_Subcompartment for the call and read data.eventName: the connector filters on that exact name. ${local.reads ? "Read more than ${var.bulk_read_threshold} objects from a sensitive bucket within five minutes: insider-bulk-read names you within a few minutes. If it stays quiet, read the object_reads metric in Monitoring; a connector may count a batch of events as one point." : "Set sensitive_buckets to record object reads and alarm on bulk downloads."} Each alarm's body names its saved search in Logging Search. EOT }