You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sp_Blitz.sql
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3319,9 +3319,9 @@ AS
3319
3319
'Linked Server Configured'AS Finding ,
3320
3320
'https://www.brentozar.com/go/link'ASURL ,
3321
3321
+CASEWHENl.remote_name='sa'
3322
-
THENCOALESCE(s.data_source, s.provider)
3322
+
THENCOALESCE(s.data_source, s.name, s.provider)
3323
3323
+' is configured as a linked server. Check its security configuration as it is connecting with sa, because any user who queries it will get admin-level permissions.'
3324
-
ELSECOALESCE(s.data_source, s.provider)
3324
+
ELSECOALESCE(s.data_source, s.name, s.provider)
3325
3325
+' is configured as a linked server. Check its security configuration to make sure it isn''t connecting with SA or some other bone-headed administrative login, because any user who queries it might get admin-level permissions.'
0 commit comments