STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 3 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to MS SQL Server 2016 Instance Security Technical Implementation Guide

V-213940

CAT II (Medium)

SQL Server must initiate session auditing upon startup.

Rule ID

SV-213940r960888_rule

STIG

MS SQL Server 2016 Instance Security Technical Implementation Guide

Version

V3R6

CCIs

CCI-001464

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 Content

When Audits are enabled, they start up when the instance starts. 
https://msdn.microsoft.com/en-us/library/cc280386.aspx#Anchor_2 
 
Check if an audit is configured and enabled. 
 
Execute 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 Text

Configure the SQL Audit(s) to automatically start during system start-up.  
 
ALTER SERVER AUDIT [<Server Audit Name>] WITH STATE = ON 
 
Execute 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' 
 
Ensure the SQL STIG Audit is configured to initiate session auditing upon startup.