SV-274444r1137654_rule
V-274444
SRG-APP-000033-DB-000084
SQLI-22-016200
CAT II
10
Modify the enabled flag of SQL Server's [sa] (system administrator) account by running the following script:
USE master;
GO
ALTER LOGIN [sa] DISABLE;
GO
Check SQL Server settings to determine if the [sa] (system administrator) account has been disabled by executing the following query:
USE master;
GO
SELECT name, is_disabled
FROM sys.sql_logins
WHERE principal_id = 1;
GO
Verify that the "name" column contains the current name of the [sa] database server account.
If the "is_disabled" column is not set to "1", this is a finding.
V-274444
False
SQLI-22-016200
Check SQL Server settings to determine if the [sa] (system administrator) account has been disabled by executing the following query:
USE master;
GO
SELECT name, is_disabled
FROM sys.sql_logins
WHERE principal_id = 1;
GO
Verify that the "name" column contains the current name of the [sa] database server account.
If the "is_disabled" column is not set to "1", this is a finding.
M
5677