forked from trussworks/terraform-aws-cloudtrail-alarms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
124 lines (102 loc) · 2.63 KB
/
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Setup Variables
variable "alarm_namespace" {
description = "Namespace for generated Cloudwatch alarms"
type = string
default = "CISBenchmark"
}
variable "alarm_prefix" {
description = "Prefix for the alarm name"
type = string
default = ""
}
variable "alarm_sns_topic_arn" {
description = "SNS topic ARN for generated alarms"
type = string
}
variable "cloudtrail_log_group_name" {
description = "Cloudwatch log group name for Cloudtrail logs"
type = string
default = "cloudtrail-events"
}
# Behavior Toggles
variable "disable_assumed_role_login_alerts" {
description = "Toggle to disable assumed role console login alerts - violates CIS Benchmark"
type = bool
default = false
}
# Alarm Toggles
variable "aws_config_changes" {
description = "Toggle AWS Config changes alarm"
type = bool
default = true
}
variable "cloudtrail_cfg_changes" {
description = "Toggle Cloudtrail config changes alarm"
type = bool
default = true
}
variable "console_signin_failures" {
description = "Toggle console signin failures alarm"
type = bool
default = true
}
variable "disable_or_delete_cmk" {
description = "Toggle disable or delete CMK alarm"
type = bool
default = true
}
variable "iam_changes" {
description = "Toggle IAM changes alarm"
type = bool
default = true
}
variable "nacl_changes" {
description = "Toggle network ACL changes alarm"
type = bool
default = true
}
variable "network_gw_changes" {
description = "Toggle network gateway changes alarm"
type = bool
default = true
}
variable "no_mfa_console_login" {
description = "Toggle no MFA console login alarm"
type = bool
default = true
}
variable "root_usage" {
description = "Toggle root usage alarm"
type = bool
default = true
}
variable "route_table_changes" {
description = "Toggle route table changes alarm"
type = bool
default = true
}
variable "s3_bucket_policy_changes" {
description = "Toggle S3 bucket policy changes alarm"
type = bool
default = true
}
variable "security_group_changes" {
description = "Toggle security group changes alarm"
type = bool
default = true
}
variable "tags" {
description = "Tags for resources created"
type = map(string)
default = {}
}
variable "unauthorized_api_calls" {
description = "Toggle unauthorized api calls alarm"
type = bool
default = true
}
variable "vpc_changes" {
description = "Toggle VPC changes alarm"
type = bool
default = true
}