General Question: For the Azure Native provider it...
# azure
b
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
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
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
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