SV-276276r1149737_rule
V-276276
SRG-APP-000855-DB-000240
MSQL-00-019500
CAT II
10
Create documentation to ensure administrators select "User must change password at next login" when a SQL login password is reset.
OR
Enable Entra-only Authentication.
Refer to: https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-azure-ad-only-authentication-tutorial?view=azuresql&tabs=azure-powershell
Determine whether Azure SQL Managed Instance is configured to use Entra-only authentication.
Run this PowerShell command to determine whether Microsoft Entra-only authentication is enabled:
Get-AzSqlInstanceActiveDirectoryOnlyAuthentication -InstanceName <myinstance> -ResourceGroupName <myresource>
If "AzureADOnlyAuthentication" value is "True", this is not a finding.
OR
In a query interface such as the SSMS Transact-SQL editor, run the statement:
SELECT CASE SERVERPROPERTY('IsExternalAuthenticationOnly')
WHEN 1 THEN 'Entra-only Authentication'
WHEN 0 THEN 'Entra and SQL Server Authentication'
END as [Authentication Mode]
If "Entra-only Authentication" is returned, this is not a finding.
Otherwise, verify documentation exists requiring administrators to select "User must change password at next login" when a SQL login password has been reset.
If documentation does not exist requiring the selection of a new password upon administrator password reset, this is a finding.
V-276276
False
MSQL-00-019500
Determine whether Azure SQL Managed Instance is configured to use Entra-only authentication.
Run this PowerShell command to determine whether Microsoft Entra-only authentication is enabled:
Get-AzSqlInstanceActiveDirectoryOnlyAuthentication -InstanceName <myinstance> -ResourceGroupName <myresource>
If "AzureADOnlyAuthentication" value is "True", this is not a finding.
OR
In a query interface such as the SSMS Transact-SQL editor, run the statement:
SELECT CASE SERVERPROPERTY('IsExternalAuthenticationOnly')
WHEN 1 THEN 'Entra-only Authentication'
WHEN 0 THEN 'Entra and SQL Server Authentication'
END as [Authentication Mode]
If "Entra-only Authentication" is returned, this is not a finding.
Otherwise, verify documentation exists requiring administrators to select "User must change password at next login" when a SQL login password has been reset.
If documentation does not exist requiring the selection of a new password upon administrator password reset, this is a finding.
M
5711