Skip to content

Commit

Permalink
Suppress unapplicable CodeQL AAD issues (#10701)
Browse files Browse the repository at this point in the history
  • Loading branch information
jviau authored Jan 22, 2025
1 parent 4dea997 commit a3d1338
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ private static IEnumerable<string> GetValidAudiences()
public static TokenValidationParameters CreateTokenValidationParameters()
{
var signingKeys = SecretsUtility.GetTokenIssuerSigningKeys();

// There are two separate CodeQL alerts for the same issue. The double comment on same line is intentional.
// CodeQL [SM04555] this handler does not verify AAD tokens. It verifies tokens issued by the platform. // CodeQL [SM04554] this handler does not verify AAD tokens. It verifies tokens issued by the platform.
var result = new TokenValidationParameters();
if (signingKeys.Length > 0)
{
Expand Down

0 comments on commit a3d1338

Please sign in to comment.