SV-255327r960885_rule
V-255327
SRG-APP-000091-DB-000325
ASQL-00-004600
CAT II
10
Deploy an Azure SQL Database audit.
Refer to the supplemental file "AzureSQLDatabaseAudit.txt" PowerShell script.
Review Azure SQL Database configuration to verify that audit records are produced when the system denies or fails to complete attempts to retrieve privileges/permissions/role membership.
To determine if an audit is configured, follow the instructions below:
Run this TSQL command to determine if SQL Auditing AuditActionGroups are configured:
SELECT DISTINCT sd.audit_action_name
FROM sys.database_audit_specification_details sd
JOIN sys.database_audit_specifications s
ON s.database_specification_id = sd.database_specification_id
WHERE (name = 'SqlDbAuditing_ServerAuditSpec' /*Server Audit*/
OR name = 'SqlDbAuditing_AuditSpec') /*Database Audit*/
AND s.is_state_enabled = 1
ORDER BY sd.audit_action_name
If no values exist for AuditActionGroup, this is a finding.
Verify the following AuditActionGroup(s) are configured:
SCHEMA_OBJECT_ACCESS_GROUP
If any listed AuditActionGroups do not exist in the configuration, this is a finding.
V-255327
False
ASQL-00-004600
Review Azure SQL Database configuration to verify that audit records are produced when the system denies or fails to complete attempts to retrieve privileges/permissions/role membership.
To determine if an audit is configured, follow the instructions below:
Run this TSQL command to determine if SQL Auditing AuditActionGroups are configured:
SELECT DISTINCT sd.audit_action_name
FROM sys.database_audit_specification_details sd
JOIN sys.database_audit_specifications s
ON s.database_specification_id = sd.database_specification_id
WHERE (name = 'SqlDbAuditing_ServerAuditSpec' /*Server Audit*/
OR name = 'SqlDbAuditing_AuditSpec') /*Database Audit*/
AND s.is_state_enabled = 1
ORDER BY sd.audit_action_name
If no values exist for AuditActionGroup, this is a finding.
Verify the following AuditActionGroup(s) are configured:
SCHEMA_OBJECT_ACCESS_GROUP
If any listed AuditActionGroups do not exist in the configuration, this is a finding.
M
5500