variable "tenancy_ocid" { description = "The tenancy. The dynamic group, the security attribute namespace, and their policies live here." type = string } variable "compartment_ocid" { description = "Compartment whose instances the responder watches. The function runs here too." type = string } variable "evidence_compartment_ocid" { description = "Compartment for the evidence bucket and its vault. A compartment the instance operators cannot manage keeps evidence out of an attacker's reach. Empty means the instances' compartment." type = string default = "" } variable "region" { description = "Region identifier, such as us-ashburn-1." type = string } variable "subnet_ocid" { description = "A private subnet for the function, with a service gateway so it can reach the Oracle APIs." type = string } variable "python_version" { description = "Managed Python runtime for the function. oci fn functions-runtime-version list --all shows what the region offers." type = string default = "3.12" } variable "isolation" { description = "How the instance is cut off. zpr applies a security attribute no Zero Trust Packet Routing policy allows, which keeps the instance running with its memory intact; the tenancy must have ZPR enabled. stop powers the instance off, which ends the attacker's session and loses memory." type = string default = "zpr" validation { condition = contains(["zpr", "stop"], var.isolation) error_message = "isolation must be zpr or stop." } } variable "status_emails" { description = "Addresses that get one message per step. Each must confirm the subscription once." type = list(string) default = [] } variable "retention_days" { description = "Nothing in the evidence bucket can be deleted or overwritten until it is this old." type = number default = 365 validation { condition = var.retention_days >= 1 error_message = "retention_days must be 1 or more." } } variable "lock_at" { description = "When to lock the retention rule, as an RFC 3339 time at least 14 days ahead. Until then the rule can still be edited or removed. After it, never. Leave empty to keep the rule unlocked." type = string default = "" } variable "owner" { description = "Tag contract: accountable team." type = string default = "security-operations" } variable "environment" { description = "Tag contract: environment." type = string default = "prod" } variable "extra_tags" { description = "Additional freeform tags merged over the contract." type = map(string) default = {} }