variable "name" { description = "Base name for the responder, the evidence bucket, and the memory capture document." type = string default = "evidence-capture" } variable "retention_days" { description = "How long evidence is locked. Set it to at least as long as your legal hold and investigation cycle." type = number default = 365 } variable "lock_mode" { description = "GOVERNANCE lets a principal with s3:BypassGovernanceRetention delete evidence early. COMPLIANCE lets nobody." type = string default = "GOVERNANCE" validation { condition = contains(["GOVERNANCE", "COMPLIANCE"], var.lock_mode) error_message = "lock_mode must be GOVERNANCE or COMPLIANCE." } } variable "avml_key" { description = "Where in the evidence bucket you staged the AVML binary. Upload it before an incident, not during one." type = string default = "tools/avml" } variable "memory_timeout_seconds" { description = "How long memory capture may run before isolation goes ahead without it." type = number default = 3600 } variable "alert_email" { description = "Address that gets a message at each step: preserved, memory captured, isolated. Leave empty to skip." type = string default = "" } variable "owner" { description = "Tag contract: accountable team." type = string default = "security-engineering" } variable "environment" { description = "Tag contract: environment." type = string default = "prod" } variable "extra_tags" { description = "Additional tags merged over the contract." type = map(string) default = {} }