Skip to content

CodeQL

CodeQL #534

Triggered via schedule September 6, 2023 22:24
Status Success
Total duration 7m 52s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeValue.cs#L86
'XacmlAttributeValue.Attributes' hides inherited member 'XacmlAnyElement.Attributes'. Use the new keyword if hiding was intended.
Analyze (csharp): src/Altinn.Authorization.ABAC/Xacml/XacmlAttributeValue.cs#L94
'XacmlAttributeValue.Elements' hides inherited member 'XacmlAnyElement.Elements'. Use the new keyword if hiding was intended.
Analyze (csharp): src/Authorization/Program.cs#L361
Suggest using top level route registrations instead of UseEndpoints (https://aka.ms/aspnet/analyzers)
Analyze (csharp): test/UnitTest/Xacml30SerializerTests.cs#L82
The variable 'e' is declared but never used
Analyze (csharp): 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)
Analyze (csharp): 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 (csharp): 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 (csharp): 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 (csharp): 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)
Analyze (csharp): 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)