Skip to content

chore: use appinsights pkg for isolated az func #576

chore: use appinsights pkg for isolated az func

chore: use appinsights pkg for isolated az func #576

Triggered via pull request December 25, 2023 06:40
Status Success
Total duration 4m 10s
Artifacts

codeql-analysis.yml

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

Annotations

11 warnings
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): 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/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.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.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'