Reference the module to a specific version (recommended):
module "azure_security_center" {
source = "aztfmod/caf-security-center/azurerm"
version = "0.x.y"
contact_email = "${var.prefix}"
contact_phone = "${var.resource_groups}"
scope_id = "${var.scope_id}"
workspace_id = "${var.workspace_id}"
}
(Required) Email address of the email alerts recipient.
variable "contact_email" {
description = "(Required) Email address of the email alerts recipient. "
}
Example
contact_email = "email@email.com"
(Required) Phone number of the alerts recipient.
variable "contact_phone" {
description = "(Required) Phone number of the alerts recipient."
}
Example
contact_phone = "9293829328"
(Required) The scope at which the ASC will be tied, typically a subscription: /subscriptions/00000000-0000-0000-0000-000000000000
variable "scope_id" {
description = "(Required) The scope at which the ASC will be tied, typically a subscription: /subscriptions/00000000-0000-0000-0000-000000000000"
}
Example
scope_id = "/subscriptions/00000000-0000-0000-0000-000000000000"
(Required) Azure Log Analytics workspace ID that will be used.
variable "workspace_id" {
description = "(Required) Azure Log Analytics workspace ID that will be used."
}
Example
workspace_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/operations-rg/providers/microsoft.operationalinsights/workspaces/myloganalytics"
(Optional) Switch to determine if ASC is deployed. Defaulted to true.
variable "enable_security_center" {
description = "(Optional) Switch to determine if ASC is deployed."
default = true
}
Example
enable_security_center = false
Name | Type | Description |
---|---|---|
object | object | Returns the full ASC object created |
id | string | Returns the ID of the ASC environment created |