Manages the Data Access Settings for Azure Security Center.
resource "azurerm_security_center_setting" "example" {
setting_name = "MCAS"
enabled = true
}
The following arguments are supported:
setting_name
- (Required) The setting to manage. Possible values are MCAS
, WDATP
, WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW
, WDATP_UNIFIED_SOLUTION
and Sentinel
. Changing this forces a new resource to be created.enabled
- (Required) Boolean flag to enable/disable data access.In addition to the Arguments listed above - the following Attributes are exported:
id
- The subscription security center setting id.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 10 minutes) Used when creating the Security Center Setting.update
- (Defaults to 10 minutes) Used when updating the Security Center Setting.read
- (Defaults to 5 minutes) Used when retrieving the Security Center Setting.delete
- (Defaults to 10 minutes) Used when deleting the Security Center Setting.The setting can be imported using the resource id
, e.g.
terraform import azurerm_security_center_setting.example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/settings/<setting_name>