SV-213983r617437_rule
V-213983
SRG-APP-000357-DB-000316
SQL6-D0-010900
CAT II
10
Review the SQL Audit file location, ensure the destination has enough space available to accommodate the maximum total size of all files that could be written.
Configure the maximum number of audit log files that are to be generated, staying within the number of logs the system was sized to support.
Update the "max_files" parameter of the audits to ensure the correct number of files is defined.
Check the server documentation for the SQL Audit file size configurations. Locate the Audit file path and drive.
SELECT max_file_size, max_rollover_files, log_file_path AS "Audit Path"
FROM sys.server_file_audits
Calculate the space needed as the maximum file size and number of files from the SQL Audit File properties.
If the calculated product of the "max_file_size" times the "max_rollover_files" exceeds the size of the storage location or if "max_file_size" or "max_rollover_files" are set to "0" (UNLIMITED), this is a finding.
V-213983
False
SQL6-D0-010900
Check the server documentation for the SQL Audit file size configurations. Locate the Audit file path and drive.
SELECT max_file_size, max_rollover_files, log_file_path AS "Audit Path"
FROM sys.server_file_audits
Calculate the space needed as the maximum file size and number of files from the SQL Audit File properties.
If the calculated product of the "max_file_size" times the "max_rollover_files" exceeds the size of the storage location or if "max_file_size" or "max_rollover_files" are set to "0" (UNLIMITED), this is a finding.
M
3993