b

    bulky-kite-69343

    3 days ago
    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

    3 days ago
    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

    3 days ago
    Gotcha, I have resorted to a post CLI operation that looks to see if its enabled, and if not enables it.
    We are starting some refactoring and this is one thing on the list.
    i

    icy-doctor-13719

    3 days ago
    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