output "stream_id" { description = "Give this to the SIEM input." value = oci_streaming_stream.siem.id } output "kafka_bootstrap_servers" { description = "For a SIEM input that reads through the Kafka API. The topic is the stream's name." value = oci_streaming_stream_pool.siem.kafka_settings[0].bootstrap_servers } output "verify" { description = "Checks." value = <<-EOT Change a tag on any resource. Within a few minutes the SIEM shows it. To read the stream directly: oci streaming stream cursor create-cursor --stream-id ${oci_streaming_stream.siem.id} --partition 0 --type TRIM_HORIZON --endpoint ${oci_streaming_stream.siem.messages_endpoint} oci streaming stream message get --stream-id ${oci_streaming_stream.siem.id} --cursor --limit 5 --endpoint ${oci_streaming_stream.siem.messages_endpoint} Confirm the subscription email. Both alarms show OK in Monitoring once the connector has moved data. EOT }