More Info:

Enable auditing for all SQL Servers.

Risk Level

Medium

Address

Security, Operational Maturity

Compliance Standards

CISAZURE, CBP, HIPAA, ISO27001, HITRUST, SOC2, NISTCSF, PCIDSS

Triage and Remediation

Remediation

To remediate the “Auditing Disabled for SQL Servers” misconfiguration in Azure using the Azure console, follow these steps:

  1. Log in to the Azure portal (https://portal.azure.com/) using your credentials.

  2. Navigate to the Azure SQL Server that you want to remediate.

  3. Click on the “Auditing” option from the left-hand side menu.

  4. In the “Auditing” blade, click on “Enable Auditing”.

  5. In the “Audit to” section, select the destination where you want to store the audit logs. You can choose to store the logs in a storage account or log analytics workspace.

  6. In the “Audit logs retention (days)” section, specify the number of days for which you want to retain the audit logs.

  7. In the “Event types to audit” section, select the events that you want to audit. You can choose to audit all events or select specific events.

  8. In the “Storage account settings” or “Log Analytics workspace settings” section, specify the required details for the destination where you want to store the audit logs.

  9. Click on “Save” to enable auditing for the SQL Server.

  10. Verify that auditing is enabled by checking the “Auditing” blade. You should see a message that says “Auditing is enabled”.

That’s it! You have successfully remediated the “Auditing Disabled for SQL Servers” misconfiguration in Azure.