Open LaurentLesle opened 1 year ago
wrong repo
Reopened as per conversions with @krowlandson
Adding cross-reference to related conversation:
As this is a per-Subscription setting, suggestion is to use the azurerm_security_center_subscription_pricing resource to enable this as part of lz-vending process. We will look at policy options in the caf-enterprise-scale module.
Thanks both. We will add it to the backlog!
As the azurerm_security_center_subscription_pricing does not take the subscription ID as an argument I would assume that something like this would have to be done with the azapi provider rather than azurerm?
I did consider having Defender for cloud be configured via a new 'Defender' submodule as part of the LZ vending machine. The only thing putting me off that idea is that I'm not as familiar with the azapi terraform provider so I'm not sure if that is the best approach and what challenges it might bring.
Even if I could be pointed in the right direction I might be able to get something working and contribute back here.
Description
Some security center resource type like virtual machines or storage account can be customised with a subplan to adjust the pricing of that service.
As of today the following subplan are supported:
In the current implementation there is a boolean value to enable or disable the service.
Describe the solution you'd like
Customise the pricing at the platform landingzone level Customise the pricing at the landingzone or sub-level
Additional context