Skip to content

Commit 726bd14

Browse files
authored
CodeQL suppression fixes (#2728)
1 parent e49fe6f commit 726bd14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microsoft/sqlserver/jdbc/SQLServerSecurityUtility.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ static SqlAuthenticationToken getDefaultAzureCredAuthToken(String resource,
450450
dacBuilder.additionallyAllowedTenants(additionallyAllowedTenants);
451451
}
452452

453-
dac = dacBuilder.build();
453+
dac = dacBuilder.build(); // CodeQL [SM05141] This is a client library supporting all scenarios (dev, test, prod, etc.), not just prod environments.
454454

455455
Credential credential = new Credential(dac);
456456
CREDENTIAL_CACHE.put(key, credential);

0 commit comments

Comments
 (0)