CodeQL #601
Annotations
13 warnings
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v3, github/codeql-action/init@v2, 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):
src/Arcus.WebApi.Tests.Integration/Fixture/TestApiServer.cs#L67
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Integration/Logging/AzureFunctionsCorrelationTests.cs#L175
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Integration/Logging/AzureFunctionsCorrelationTests.cs#L180
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Integration/Security/Authentication/Fixture/SelfSignedCertificate.cs#L65
'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):
src/Arcus.WebApi.Tests.Unit/Hosting/Formatting/MvcOptionsExtensionsTests.cs#L16
'MvcOptionsExtensions.ConfigureJsonFormatting(MvcOptions, Action<JsonSerializerOptions>)' is obsolete: 'Use the MvcCoreMvcBuilderExtensions.AddJsonOptions instead to configure the JSON formatters'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Unit/Logging/IServiceCollectionExtensionsTests.cs#L20
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Unit/Logging/IServiceCollectionExtensionsTests.cs#L38
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Unit/Security/Authentication/CertificateAuthenticationFilterTests.cs#L13
'CertificateAuthenticationFilter.CertificateAuthenticationFilter(CertificateAuthenticationOptions)' is obsolete: 'Use the new constructor with the certificate authentication filter instead'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Unit/Security/Authentication/AuthenticationBuilderExtensionsTests.cs#L22
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
|
Analyze (csharp):
src/Arcus.WebApi.Tests.Unit/Security/Authentication/AuthenticationBuilderExtensionsTests.cs#L49
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
|