Skip to main content

Azure SQL Database 'Auditing' Is Not Set to 'On'

Overview

The Azure platform allows a SQL server to be created as a service. Enabling auditing at the server level ensures that all existing and newly created databases on the SQL server instance are audited. Auditing policy applied on the SQL database does not override auditing policy and settings applied on the particular SQL server where the database is hosted.

Auditing tracks database events and writes them to an audit log in the Azure storage account. It also helps to maintain regulatory compliance, understand database activity, and gain insight into discrepancies and anomalies that could indicate business concerns or suspected security violations.

Vendor

Azure

Cloud Service

MsSqlDatabase

CIS Azure v2.0.0 4.1.1

References

https://docs.microsoft.com/en-us/azure/security-center/security-center-enable-auditing-on-sql-servers, https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/get-azurermsqlserverauditing?view=azurermps-5.2.0, https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/set-azurermsqlserverauditingpolicy?view=azurermps-5.2.0, https://docs.microsoft.com/en-us/azure/sql-database/sql-database-auditing, https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-logging-threat-detection#lt-3-enable-logging-for-security-investigation

Severity

4

Item Types

Microsoft.Sql.servers