STIGUI
V-271273CAT II — Medium severitySV-271273r1109234_rule

SQL Server must initiate session auditing upon startup.

Rule version SQLI-22-004700 · STIG v1 · 2026-02-25

Discussion

Session auditing is for use when a user's activities are under investigation. To be sure of capturing all activity during those periods when session auditing is in use, it needs to be in operation for the whole time SQL Server is running.

Check

When audits are enabled, they start up when the instance starts. Refer to https://msdn.microsoft.com/en-us/library/cc280386.aspx#Anchor_2

Check if an audit is configured and enabled by executing the following query:

SELECT name AS 'Audit Name', status_desc AS 'Audit Status', audit_file_path AS 'Current Audit File' FROM sys.dm_server_audit_status WHERE status_desc = 'STARTED'

All currently defined audits for the SQL server instance will be listed. If no audits are returned, this is a finding.

Fix

Configure the SQL audit(s) to automatically start during system startup.

ALTER SERVER AUDIT [<Server Audit Name>] WITH STATE = ON

Execute the following:

SELECT name AS 'Audit Name', status_desc AS 'Audit Status', audit_file_path AS 'Current Audit File' FROM sys.dm_server_audit_status WHERE status_desc = 'STARTED'

Ensure the SQL STIG Audit is configured to initiate session auditing upon startup.

Identifiers

Group ID
V-271273
Group title
SRG-APP-000092-DB-000208
Rule ID
SV-271273r1109234_rule
Check ID
C-75316r1108433_chk
Fix ID
F-75223r1109233_fix