SQL Server must generate audit records for all direct access to the database(s).
Overview
Finding ID
Version
Rule ID
IA Controls
Severity
V-271381
SQLI-22-015500
SV-271381r1111095_rule
Medium
Description
In this context, direct access is any query, command, or call to SQL Server that comes from any source other than the application(s) that it supports. Examples would be the command line or a database management utility program. The intent is to capture all activity from administrative and nonstandard sources.
Determine whether any Server Audits are configured to filter records. From SQL Server Management Studio, execute the following query:
SELECT name AS AuditName, predicate AS AuditFilter
FROM sys.server_audits
WHERE predicate IS NOT NULL
If any audits are returned, review the associated filters. If any direct access to the database(s) is being excluded, this is a finding.
Fix Text (F-75331r1109049_fix)
Check the system documentation for required SQL Server Audits. Remove any Audit filters that exclude or reduce required auditing. Update filters to ensure direct access is not excluded.