Skip to content

Update nuget non-major dependencies #3299

Update nuget non-major dependencies

Update nuget non-major dependencies #3299

Triggered via pull request January 20, 2025 22:28
Status Failure
Total duration 6m 15s
Artifacts

build-and-analyze.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Build and Test: src/Authorization/Models/ActionUrn.cs#L19
Partial method 'ActionUrn.IsActionId(out ActionIdentifier)' must have an implementation part because it has accessibility modifiers.
Build and Test: src/Authorization/Models/AccessListAuthorizationRequest.cs#L21
The type 'Altinn.Authorization.Models.Register.PartyUrn' cannot be used as type parameter 'T' in the generic type or method 'UrnJsonTypeValue<T>'. There is no implicit reference conversion from 'Altinn.Authorization.Models.Register.PartyUrn' to 'Altinn.Urn.IKeyValueUrn<Altinn.Authorization.Models.Register.PartyUrn>'.
Build and Test: src/Authorization/Models/AccessListAuthorizationRequest.cs#L28
The type 'Altinn.Authorization.Models.ResourceRegistry.ResourceIdUrn' cannot be used as type parameter 'T' in the generic type or method 'UrnJsonTypeValue<T>'. There is no implicit reference conversion from 'Altinn.Authorization.Models.ResourceRegistry.ResourceIdUrn' to 'Altinn.Urn.IKeyValueUrn<Altinn.Authorization.Models.ResourceRegistry.ResourceIdUrn>'.
Build and Test: src/Authorization/Models/AccessListAuthorizationRequest.cs#L33
The type 'Altinn.Authorization.Models.ResourceRegistry.ActionUrn' cannot be used as type parameter 'T' in the generic type or method 'UrnJsonTypeValue<T>'. There is no implicit reference conversion from 'Altinn.Authorization.Models.ResourceRegistry.ActionUrn' to 'Altinn.Urn.IKeyValueUrn<Altinn.Authorization.Models.ResourceRegistry.ActionUrn>'.
Build and Test: src/Authorization/Models/ResourceRegistry/AccessListResourceMembershipWithActionFilterDto.cs#L18
The type name 'PartyUuid' does not exist in the type 'PartyUrn'
Build and Test: src/Authorization/Models/ResourceRegistry/AccessListResourceMembershipWithActionFilterDto.cs#L19
The type name 'ResourceId' does not exist in the type 'ResourceUrn'
Build and Test: src/Authorization/Models/AccessListAuthorizationResponse.cs#L35
The type 'Altinn.Authorization.Models.Register.PartyUrn' cannot be used as type parameter 'T' in the generic type or method 'UrnJsonTypeValue<T>'. There is no implicit reference conversion from 'Altinn.Authorization.Models.Register.PartyUrn' to 'Altinn.Urn.IKeyValueUrn<Altinn.Authorization.Models.Register.PartyUrn>'.
Build and Test: src/Authorization/Models/AccessListAuthorizationResponse.cs#L40
The type 'Altinn.Authorization.Models.ResourceRegistry.ResourceIdUrn' cannot be used as type parameter 'T' in the generic type or method 'UrnJsonTypeValue<T>'. There is no implicit reference conversion from 'Altinn.Authorization.Models.ResourceRegistry.ResourceIdUrn' to 'Altinn.Urn.IKeyValueUrn<Altinn.Authorization.Models.ResourceRegistry.ResourceIdUrn>'.
Build and Test: src/Authorization/Models/AccessListAuthorizationResponse.cs#L45
The type 'Altinn.Authorization.Models.ResourceRegistry.ActionUrn' cannot be used as type parameter 'T' in the generic type or method 'UrnJsonTypeValue<T>'. There is no implicit reference conversion from 'Altinn.Authorization.Models.ResourceRegistry.ActionUrn' to 'Altinn.Urn.IKeyValueUrn<Altinn.Authorization.Models.ResourceRegistry.ActionUrn>'.
Build and Test: src/Authorization/Models/Register/PartyUrn.cs#L21
Partial method 'PartyUrn.IsPartyUuid(out Guid)' must have an implementation part because it has accessibility modifiers.
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/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/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/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/AccessListAuthorizationRequest.cs#L33
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/External/XacmlJsonRequestExternal.cs#L15
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/External/XacmlJsonRequestExternal.cs#L20
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#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)