SV-255328r960888_rule
V-255328
SRG-APP-000092-DB-000208
ASQL-00-004700
CAT II
10
Deploy an Azure SQL Database audit.
Refer to the supplemental file "AzureSQLDatabaseAudit.txt" PowerShell script.
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqlserveraudit
When Audits are enabled, they start up when the audits are enabled and remain operating until the audit is disabled.
Check if an audit is configured and enabled.
To determine if session auditing is configured and enabled, follow the instructions below:
Run this TSQL command to determine if SQL Auditing is configured and enabled:
SELECT *
FROM sys.database_audit_specifications
where (name = 'SqlDbAuditing_ServerAuditSpec'
or name = 'SqlDbAuditing_AuditSpec')
and is_state_enabled = 1
All currently defined audits for the Azure SQL Database instance will be listed. If no audits are returned, this is a finding.
V-255328
False
ASQL-00-004700
When Audits are enabled, they start up when the audits are enabled and remain operating until the audit is disabled.
Check if an audit is configured and enabled.
To determine if session auditing is configured and enabled, follow the instructions below:
Run this TSQL command to determine if SQL Auditing is configured and enabled:
SELECT *
FROM sys.database_audit_specifications
where (name = 'SqlDbAuditing_ServerAuditSpec'
or name = 'SqlDbAuditing_AuditSpec')
and is_state_enabled = 1
All currently defined audits for the Azure SQL Database instance will be listed. If no audits are returned, this is a finding.
M
5500