https://pulumi.com logo
#azure
Title
# azure
b

bulky-kite-69343

09/21/2022, 2:42 PM
General Question: For the Azure Native provider it doesn't seem to support the ability to set up Sql Server or Database Audit Policies with Log Analytics Work Spaces, however its available via the CLI this also appears to be the case for the Azure Classic Provider as well. Am I correct here, or am I missing a version that supports this?
i

icy-doctor-13719

09/21/2022, 3:02 PM
I looked into this a while ago and gave up. I was only able to achieve this via Storage account via
AzureNative.Sql.ExtendedServerBlobAuditingPolicy
b

bulky-kite-69343

09/21/2022, 3:25 PM
Gotcha, I have resorted to a post CLI operation that looks to see if its enabled, and if not enables it.
๐Ÿ‘€ 1
We are starting some refactoring and this is one thing on the list.
i

icy-doctor-13719

09/21/2022, 3:28 PM
hereโ€™s how someone did it in terraform if you want to attempt to reverse engineer for the Azure.Native provider: https://github.com/hashicorp/terraform-provider-azurerm/issues/11501
๐Ÿ‘€ 1
5 Views