hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.6k stars 4.64k forks source link

Support for Defender CSPM for Defender for cloud plans #19004

Closed websolut closed 1 year ago

websolut commented 2 years ago

Is there an existing issue for this?

Community Note

Description

Microsoft are actively developing the Defender for Cloud.

Current TF code does not enable 'Defender CSPM' free plan at the moment. Before it was 'Cloud Security Posture management free' and it would be enabled by default as soon as any advanced plans are enabled.

This is request to add an additional plan to azurerm_security_center_subscription_pricing resource to control this basic plan.

New or Affected Resource(s)/Data Source(s)

azurerm_azurerm_security_center_subscription_pricing

Potential Terraform Configuration

No response Cli implementation

az security pricing list

az security pricing create -n CloudPosture --tier 'standard'

It seems that we just need to allow CloudPosture.

I also think CosmosDB plan is not available.

References

No response

github-actions[bot] commented 1 year ago

This functionality has been released in v3.32.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

fslef commented 1 year ago

The new 'CloudPosture' parameter is missing from the documentation. Would it be possible to add it ?

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.