variables.tf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
variable "auto_enable_controls" {
  description = "Automatically enable new controls in enabled standards"
  type        = bool
  default     = true
}

variable "control_finding_generator" {
  description = "Finding generator mode — SECURITY_CONTROL or STANDARD_CONTROL"
  type        = string
  default     = "SECURITY_CONTROL"
}

variable "delegated_admin_account_id" {
  description = "Account ID to designate as Security Hub delegated administrator"
  type        = string
  default     = null
}

variable "auto_enable_org_members" {
  description = "Auto-enable Security Hub for new organization member accounts"
  type        = bool
  default     = true
}

variable "standards" {
  description = "Map of security standard ARN suffix to enable. Keys are logical names."
  type        = map(string)
  default = {
    cis_aws_foundations = "ruleset/cis-aws-foundations-benchmark/v/1.4.0"
    fsbp                = "standards/aws-foundational-security-best-practices/v/1.0.0"
    pci_dss             = "standards/pci-dss/v/3.2.1"
  }
}

variable "disabled_controls" {
  description = "Map of standard logical key to list of control IDs to disable"
  type        = map(list(string))
  default     = {}
}

variable "finding_aggregation_region" {
  description = "Region to aggregate findings from all linked regions (home region)"
  type        = string
  default     = null
}

variable "member_accounts" {
  description = "Map of member account logical keys to account IDs and email addresses"
  type = map(object({
    account_id = string
    email      = string
  }))
  default = {}
}

variable "tags" {
  description = "Resource tags to apply to all resources"
  type        = map(string)
  default     = {}
}

variable "enable_delegation" {
  description = "Enable the registration of the delegated administrator account (run in Org Management account)"
  type        = bool
  default     = true
}

variable "enable_organization_config" {
  description = "Enable organization-level member auto-enablement (run in Security/Delegated Admin account)"
  type        = bool
  default     = true
}