CodeQL #701
Annotations
16 warnings
Analyze (javascript)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, actions/setup-dotnet@v3, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (javascript)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (javascript)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, actions/setup-dotnet@v3, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (csharp)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Analyze (csharp):
source/dotnet/Common/Approvals.Data.Azure.CosmosDb/Helpers/CosmosDbHelper.cs#L21
Field 'CosmosDbHelper._endpoint' is never assigned to, and will always have its default value null
|
Analyze (csharp):
source/dotnet/Common/Approvals.Data.Azure.Storage/Interface/IBlobStorageHelper.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze (csharp):
source/dotnet/Common/Approvals.Data.Azure.Storage/Helpers/BlobStorageHelper.cs#L114
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze (csharp):
source/dotnet/Common/Approvals.LogManager/CustomTargets/ApplicationInsightsTarget.cs#L91
'TelemetryClient.TelemetryClient()' is obsolete: 'We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details'
|
Analyze (csharp):
source/dotnet/Common/Approvals.LogManager/CustomTargets/ApplicationInsightsTarget.cs#L95
'TelemetryClient.TelemetryClient()' is obsolete: 'We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details'
|
Analyze (csharp):
source/dotnet/Common/Approvals.LogManager/Provider/LogProvider.cs#L189
'TelemetryClient.TelemetryClient()' is obsolete: 'We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details'
|
Analyze (csharp):
source/dotnet/Common/Approvals.Messaging.Azure.ServiceBus/Helpers/ServiceBusHelper.cs#L47
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Analyze (csharp):
source/dotnet/Contract/Approvals.Model/ApprovalTenantInfo.cs#L557
Field 'ApprovalTenantInfo.adaptiveCardVersion' is never assigned to, and will always have its default value null
|
Analyze (csharp):
source/dotnet/Common/Approvals.Utilities/Helpers/AuthenticationHelper.cs#L313
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Analyze (csharp):
source/dotnet/Common/Approvals.Utilities/Helpers/QueryableExtension.cs#L157
Field 'Signature.properties' is never assigned to, and will always have its default value null
|