Skip to content

Bumping Microsoft.Extensions.Http dependency to 7.0.0 to match version depencies #758

Bumping Microsoft.Extensions.Http dependency to 7.0.0 to match version depencies

Bumping Microsoft.Extensions.Http dependency to 7.0.0 to match version depencies #758

Triggered via pull request August 10, 2023 15:03
Status Success
Total duration 6m 32s
Artifacts

build-and-analyze.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Build and Test: src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeValue.cs#L86
'XacmlAttributeValue.Attributes' hides inherited member 'XacmlAnyElement.Attributes'. Use the new keyword if hiding was intended.
Build and Test: src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeValue.cs#L94
'XacmlAttributeValue.Elements' hides inherited member 'XacmlAnyElement.Elements'. Use the new keyword if hiding was intended.
Build and Test: test/UnitTest/Xacml30SerializerTests.cs#L82
The variable 'e' is declared but never used
Build and Test: test/UnitTest/SpecExamplesTests/SpecExamplesPolicyReadTests.cs#L30
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L30
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L79
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L103
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L126
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: src/Authorization/Program.cs#L361
Suggest using top level route registrations instead of UseEndpoints (https://aka.ms/aspnet/analyzers)
Analyze: src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeValue.cs#L86
'XacmlAttributeValue.Attributes' hides inherited member 'XacmlAnyElement.Attributes'. Use the new keyword if hiding was intended.
Analyze: src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeValue.cs#L94
'XacmlAttributeValue.Elements' hides inherited member 'XacmlAnyElement.Elements'. Use the new keyword if hiding was intended.
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/Program.cs#L361
Suggest using top level route registrations instead of UseEndpoints (https://aka.ms/aspnet/analyzers)
Analyze: test/UnitTest/Xacml30SerializerTests.cs#L82
The variable 'e' is declared but never used
Analyze: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L30
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Analyze: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L79
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Analyze: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L103
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Analyze: test/UnitTest/ConformanceTests/ConformancePolicyReadTests.cs#L126
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)