Skip to content

Azure Security Center module for Cloud Adoption Framework for Azure landing zones

License

Notifications You must be signed in to change notification settings

frodopackets/terraform-azurerm-caf-security-center

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

Configures Azure Security Center

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}"
}

Parameters

contact_email

(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" 

contact_phone

(Required) Phone number of the alerts recipient.

variable "contact_phone" {
  description = "(Required) Phone number of the alerts recipient."
}

Example

    contact_phone   = "9293829328"

scope_id

(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"

workspace_id

(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"

enable_security_center

(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

Outputs

Name Type Description
object object Returns the full ASC object created
id string Returns the ID of the ASC environment created

About

Azure Security Center module for Cloud Adoption Framework for Azure landing zones

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%