forked from DNXLabs/terraform-aws-guardduty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_variables.tf
50 lines (41 loc) · 1.19 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
variable "admin_account_id" {
description = "GuardDuty Detector ID for master account"
}
variable "alarm_slack_webhook" {
description = "Slack Incoming Web Hook URL. Leave blank to disable alarm to slack"
default = ""
}
variable "alarm_slack_severity" {
default = "HIGH"
description = "Minimum severity level (LOW, MEDIUM, HIGH)"
}
# variable "notification_arn" {
# description = "SNS Topic to send notifications to"
# type = string
# }
variable "email" {
default = ""
description = "Email address to subscribe notification to (optional)"
}
variable "event_pattern" {
default = ""
description = "Event pattern"
}
variable "sns_topic_name" {
description = "Topic name (optional - creates SNS topic)"
default = ""
}
variable "sns_topic_arn" {
description = "SNS Topic to use instead of creating one (optional)"
default = ""
}
variable "account_ids" {
type = list(string)
default = []
description = "List of accounts to allow publishing to SNS (optional - only when SNS topic is created)"
}
variable "sns_kms_encryption" {
type = bool
default = false
description = "Enabled KMS CMK encryption at rest for SNS Topic"
}