Skip to content

Fix code scanning alert no. 327: SQL query built from user-controlled sources #958

Fix code scanning alert no. 327: SQL query built from user-controlled sources

Fix code scanning alert no. 327: SQL query built from user-controlled sources #958

Triggered via pull request October 8, 2024 17:56
Status Success
Total duration 4m 45s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/MetaResult_Context.PublicKey.g.cs#L91
'PublicKey.Key' is obsolete: 'PublicKey.Key is obsolete. Use the appropriate method to get the public key, such as GetRSAPublicKey.' (https://aka.ms/dotnet-warnings/SYSLIB0027)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/MetaResult_Context.PublicKey.g.cs#L142
'PublicKey.Key' is obsolete: 'PublicKey.Key is obsolete. Use the appropriate method to get the public key, such as GetRSAPublicKey.' (https://aka.ms/dotnet-warnings/SYSLIB0027)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/UserQueryResultResource_Context.PublicKey.g.cs#L91
'PublicKey.Key' is obsolete: 'PublicKey.Key is obsolete. Use the appropriate method to get the public key, such as GetRSAPublicKey.' (https://aka.ms/dotnet-warnings/SYSLIB0027)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/UserQueryResultResource_Context.PublicKey.g.cs#L142
'PublicKey.Key' is obsolete: 'PublicKey.Key is obsolete. Use the appropriate method to get the public key, such as GetRSAPublicKey.' (https://aka.ms/dotnet-warnings/SYSLIB0027)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/MetaResult_Context.X509Certificate2.g.cs#L27
'X509Certificate2.X509Certificate2()' is obsolete: 'X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.' (https://aka.ms/dotnet-warnings/SYSLIB0026)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/UserQueryResultResource_Context.X509Certificate2.g.cs#L27
'X509Certificate2.X509Certificate2()' is obsolete: 'X509Certificate and X509Certificate2 are immutable. Use the appropriate constructor to create a new certificate.' (https://aka.ms/dotnet-warnings/SYSLIB0026)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/MetaResult_Context.X509Certificate2.g.cs#L186
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/MetaResult_Context.X509Certificate2.g.cs#L187
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/RoleQueryResultResource_Context.PublicKey.g.cs#L91
'PublicKey.Key' is obsolete: 'PublicKey.Key is obsolete. Use the appropriate method to get the public key, such as GetRSAPublicKey.' (https://aka.ms/dotnet-warnings/SYSLIB0027)
Analyze (csharp): IdentityManager2/src/IdentityManager2/obj/Debug/net8.0/generated/System.Text.Json.SourceGeneration/System.Text.Json.SourceGeneration.JsonSourceGenerator/RoleQueryResultResource_Context.PublicKey.g.cs#L142
'PublicKey.Key' is obsolete: 'PublicKey.Key is obsolete. Use the appropriate method to get the public key, such as GetRSAPublicKey.' (https://aka.ms/dotnet-warnings/SYSLIB0027)