Open jsun9406 opened 1 year ago
I think you would just use azurerm_policy_assignment's for built-in policies under the category 'Regulatory Compliance', and once you do this Azure will 'detect' this under the Security Policy blade. You can do something similar to enable the Defender plan features, as some/most of the features are backed by Azure Policy.
Regulatory Compliance built-in policies
Evidence that policy assignments can be used enable some defender plan settings
Is there an existing issue for this?
Community Note
Description
While working on using Terraform to manage Microsoft Defender for Cloud.
I am trying to find a way to enable/disable Regulatory Compliance in Security Policy via Terraform (see below screenshot). Is there a such resource type in Terraform can achieve this?
New or Affected Resource(s)/Data Source(s)
azurerm_security_center
Potential Terraform Configuration
No response
References
No response