This template allows you to deploy an Azure SQL server with Aduiting enabled to write audit logs to a blob storage
Auditing for Azure SQL Database and SQL Data Warehouse tracks database events and writes them to an audit log in your Azure storage account, OMS workspace or Event Hubs.
For more information on SQL database auditing , see the official documentation.