# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "org_id" { description = "Numeric organisation ID." type = string } variable "security_project" { description = "Project that contains the log buckets, alerts, and saved queries. Keep it separate from workloads." type = string } variable "alert_emails" { description = "Addresses that receive the alerts. Prefer an on-call address over a person." type = list(string) } variable "expected_principals" { description = "Service accounts that change IAM, keys, and logging as part of their job, such as the deployment pipeline. Their changes do not alert. Every entry is a blind spot, so keep it short." type = list(string) default = [] validation { condition = alltrue([for p in var.expected_principals : can(regex("^[^@\\s]+@[^@\\s]+$", p))]) error_message = "Each entry must be an email address, such as deployer@my-project.iam.gserviceaccount.com." } } variable "sensitive_projects" { description = "Projects whose Cloud Storage reads are recorded object by object, so bulk downloads can be seen. Leave empty to skip." type = list(string) default = [] } variable "bulk_read_threshold" { description = "Objects one principal may read in five minutes, across the sensitive projects, before the alert fires. Set it from a week of normal use; the default is a starting point." type = number default = 1000 } variable "retention_days" { description = "How long the matched admin entries are kept." type = number default = 400 } variable "read_retention_days" { description = "How long object read entries are kept. They are the largest volume here." type = number default = 90 } variable "owner" { description = "Label contract: accountable team. Lowercase, because labels must be." type = string default = "security-operations" } variable "environment" { description = "Label contract: environment." type = string default = "prod" } variable "extra_labels" { description = "Additional labels merged over the contract." type = map(string) default = {} }