SV-214027r617437_rule
V-214027
SRG-APP-000516-DB-000363
SQL6-D0-016100
CAT II
10
Configure the instance to audit telemetry data. More information about auditing telemetry data can be found at https://msdn.microsoft.com/en-us/library/mt743085.aspx.
Create a folder to store the telemetry audit data in.
Grant the SQLTELEMETRY service the following permissions on the folder:
- List folder contents
- Read
- Write
Create and configure the following registry key:
Note: InstanceId refers to the type and instance of the feature. (e.g., MSSQL13.SqlInstance, MSAS13.SSASInstance, MSRS13.SSRSInstance)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[InstanceId]\CPE\UserRequestedLocalAuditDirectory [string]
Set the "UserRequestedLocalAuditDirectory" key value to the path of the telemetry audit folder.
Set the telemetry service to start automatically. Restart the service.
- For Database Engine, use SQL Server CEIP service (<INSTANCENAME>).
- For Analysis Services, use SQL Server Analysis Services CEIP (<INSTANCENAME>).
Review the server documentation to determine if auditing of the telemetry data is required. If auditing of telemetry data is not required, this is not a finding.
If auditing of telemetry data is required, determine the telemetry service user name by executing the following query:
SELECT name
FROM sys.server_principals
WHERE name LIKE '%SQLTELEMETRY%'
Review the values of the following registry key:
Note: InstanceId refers to the type and instance of the feature. (e.g., MSSQL13.SqlInstance, MSAS13.SSASInstance, MSRS13.SSRSInstance)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[InstanceId]\CPE\UserRequestedLocalAuditDirectory
If the registry key do not exist or the value is blank, this is a finding.
Navigate the path defined in the "UserRequestedLocalAuditDirectory" registry key in file explorer.
Right-click on the folder and choose "Properties".
Open the "Security" tab.
Verify the SQLTELEMETRY account has the following permissions:
- List folder contents
- Read
- Write
If the permissions are not set properly on the folder, this is a finding.
Open services.msc and find the telemetry service.
- For Database Engine, use SQL Server CEIP service (<INSTANCENAME>).
- For Analysis Services, use SQL Server Analysis Services CEIP (<INSTANCENAME>).
Right-click on the service and choose "Properties". Verify the "Startup type" is "Automatic."
If the service is not configured to automatically start, this is a finding.
Review the processes and procedures for reviewing the telemetry data. If there is evidence that the telemetry data is periodically reviewed in accordance with the processes and procedures, this is not a finding.
If no processes and procedures exist for reviewing telemetry data, this is a finding.
V-214027
False
SQL6-D0-016100
Review the server documentation to determine if auditing of the telemetry data is required. If auditing of telemetry data is not required, this is not a finding.
If auditing of telemetry data is required, determine the telemetry service user name by executing the following query:
SELECT name
FROM sys.server_principals
WHERE name LIKE '%SQLTELEMETRY%'
Review the values of the following registry key:
Note: InstanceId refers to the type and instance of the feature. (e.g., MSSQL13.SqlInstance, MSAS13.SSASInstance, MSRS13.SSRSInstance)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\[InstanceId]\CPE\UserRequestedLocalAuditDirectory
If the registry key do not exist or the value is blank, this is a finding.
Navigate the path defined in the "UserRequestedLocalAuditDirectory" registry key in file explorer.
Right-click on the folder and choose "Properties".
Open the "Security" tab.
Verify the SQLTELEMETRY account has the following permissions:
- List folder contents
- Read
- Write
If the permissions are not set properly on the folder, this is a finding.
Open services.msc and find the telemetry service.
- For Database Engine, use SQL Server CEIP service (<INSTANCENAME>).
- For Analysis Services, use SQL Server Analysis Services CEIP (<INSTANCENAME>).
Right-click on the service and choose "Properties". Verify the "Startup type" is "Automatic."
If the service is not configured to automatically start, this is a finding.
Review the processes and procedures for reviewing the telemetry data. If there is evidence that the telemetry data is periodically reviewed in accordance with the processes and procedures, this is not a finding.
If no processes and procedures exist for reviewing telemetry data, this is a finding.
M
3993