SV-255376r961839_rule
V-255376
SRG-APP-000508-DB-000358
ASQL-00-015500
CAT II
10
Check the system documentation for required Azure SQL Database Audits. Remove any Audit filters that exclude or reduce required auditing. Update filters to ensure administrative activity is not excluded.
Review Azure SQL Database configuration to verify that audit records are produced for all direct access to the database(s).
To determine if an audit PredicateExpression (filter) exists, execute the following PowerShell script.
1. In the Azure Portal, open a Cloud Shell session.
2. Run this PowerShell command to determine the PredicateExpression:
$ResourceGroup = "myResourceGroup"
$ServerName = "myServerName"
$FormatEnumerationLimit=-1
Get-AzSqlServerAudit -ResourceGroupName $ResourceGroup -ServerName $ServerName
If a PredicateExpression is returned, review the associated filters to determine whether administrative activities are being excluded.
If any audits are configured to exclude administrative activities, this is a finding.
V-255376
False
ASQL-00-015500
Review Azure SQL Database configuration to verify that audit records are produced for all direct access to the database(s).
To determine if an audit PredicateExpression (filter) exists, execute the following PowerShell script.
1. In the Azure Portal, open a Cloud Shell session.
2. Run this PowerShell command to determine the PredicateExpression:
$ResourceGroup = "myResourceGroup"
$ServerName = "myServerName"
$FormatEnumerationLimit=-1
Get-AzSqlServerAudit -ResourceGroupName $ResourceGroup -ServerName $ServerName
If a PredicateExpression is returned, review the associated filters to determine whether administrative activities are being excluded.
If any audits are configured to exclude administrative activities, this is a finding.
M
5500