You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Enable auto provision of log analytics agents on VM's if they doesn't exist.
23
+
enable_security_center_auto_provisioning = on
17
24
18
25
# Subscription Security Center contacts
19
26
# One or more email addresses seperated by commas not supported by Azure proivider currently
@@ -26,18 +33,30 @@ module "security-center" {
26
33
}
27
34
```
28
35
36
+
## Security Center API Settings
37
+
38
+
This module support enable/disable Microsoft Cloud App Security data access (MCAS) and Windows Defender ATP data access (WDATP). Use `enable_security_center_setting` and `security_center_setting_name` to use this feature.
39
+
40
+
## Agents Auto Provisioning
41
+
42
+
Security Center collects data from your Azure virtual machines (VMs), virtual machine scale sets, IaaS containers, and non-Azure (including on-premises) machines to monitor for security vulnerabilities and threats.
43
+
44
+
Data collection is required to provide visibility into missing updates, misconfigured OS security settings, endpoint protection status, and health and threat protection. Data collection is only needed for compute resources such as VMs, virtual machine scale sets, IaaS containers, and non-Azure computers.
45
+
46
+
Auto provisioning reduces management overhead by installing all required agents and extensions on existing - and new - machines to ensure faster security coverage for all supported resources. To enable this feature with this module declare the `enable_security_center_auto_provisioning = "On"` variable.
47
+
29
48
## Requirements
30
49
31
50
Name | Version
32
51
-----|--------
33
52
terraform | >= 0.13
34
-
azurerm | ~> 2.27
53
+
azurerm | >= 2.59.0
35
54
36
55
## Providers
37
56
38
57
| Name | Version |
39
58
|------|---------|
40
-
azurerm | 2.27.0
59
+
azurerm | >= 2.59.0
41
60
42
61
## Inputs
43
62
@@ -47,6 +66,11 @@ Name | Description | Type | Default
47
66
`log_analytics_workspace_name`|The name of log analytics workspace name|string|`""`
48
67
`security_center_contacts`|Manages the subscription's Security Center Contact|object|{}
49
68
`scope_resource_id`|The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope|string|`current Subscripion id`
69
+
`security_center_subscription_pricing`| The pricing tier to use. Possible values are `Free` and `Standard`|string|`Standard`
70
+
`resource_type`|The resource type this setting affects. Possible values are `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm` and `Dns`|string|`VirtualMachines`
71
+
`enable_security_center_setting`|Boolean flag to enable/disable data access|string|`false`
72
+
`security_center_setting_name`|The setting to manage. Possible values are `MCAS` and `WDAT`|string|`MCAS`
73
+
`enable_security_center_auto_provisioning`|Should the security agent be automatically provisioned on Virtual Machines in this subscription? Possible values are `On` (to install the security agent automatically, if it's missing) or `Off` (to not install the security agent automatically).|string|`"Off"`
50
74
51
75
## Outputs
52
76
@@ -67,4 +91,4 @@ Originally created by [Kumaraswamy Vithanala](mailto:kumarvna@gmail.com)
0 commit comments