Update nuget non-major dependencies #3179
build-and-analyze.yml
on: pull_request
Build and Test
55s
Analyze
4m 48s
Annotations
20 warnings
Build and Test:
src/Authorization/Exceptions/PlatformHttpException.cs#L45
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Build and Test:
src/Authorization/Repositories/DelegationMetadataRepository.cs#L43
'NpgsqlConnection.GlobalTypeMapper' is obsolete: 'Global-level type mapping has been replaced with data source mapping, see the 7.0 release notes.'
|
Build and Test:
src/Authorization/Helpers/EventLogHelper.cs#L193
Converting null literal or possible null value to non-nullable type.
|
Build and Test:
src/Authorization/Helpers/EventLogHelper.cs#L194
Possible null reference return.
|
Build and Test
Found version-specific or distribution-specific runtime identifier(s): win7-x64. Affected libraries: Microsoft.Azure.DocumentDB.Core. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L50
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L50
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L59
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/Util/PrincipalUtil.cs#L59
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build and Test:
test/IntegrationTests/ContextHandlerTest.cs#L56
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Analyze:
src/Authorization/Exceptions/PlatformHttpException.cs#L45
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Analyze:
src/Authorization/Helpers/EventLogHelper.cs#L193
Converting null literal or possible null value to non-nullable type.
|
Analyze:
src/Authorization/Helpers/EventLogHelper.cs#L194
Possible null reference return.
|
Analyze:
src/Authorization/Repositories/DelegationMetadataRepository.cs#L43
'NpgsqlConnection.GlobalTypeMapper' is obsolete: 'Global-level type mapping has been replaced with data source mapping, see the 7.0 release notes.'
|
Analyze:
src/Authorization/appsettings.json#L28
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
|
Analyze:
src/Authorization/appsettings.json#L29
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
|
Analyze:
src/Authorization/Models/Rule.cs#L24
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
|
Analyze:
src/Authorization/Models/Rule.cs#L29
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
|
Analyze:
src/Authorization/Models/Rule.cs#L35
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
|
Analyze:
src/Authorization/Models/Rule.cs#L41
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
|