Skip to content

Add sync adapter scope for administrative access #1335

Add sync adapter scope for administrative access

Add sync adapter scope for administrative access #1335

Triggered via pull request December 12, 2024 12:26
Status Success
Total duration 3m 3s
Artifacts

codeql-analysis.yml

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

Annotations

11 warnings
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (csharp): test/Altinn.Platform.Storage.Interface.Tests/AllowInSubform/AllowInSubformTests.cs#L15
'ApplicationLogic.AllowInSubform' is obsolete: 'This property is no longer in use and will be removed in the future.'
Analyze (csharp): test/Altinn.Platform.Storage.Interface.Tests/AllowInSubform/AllowInSubformTests.cs#L23
'ApplicationLogic.AllowInSubform' is obsolete: 'This property is no longer in use and will be removed in the future.'
Analyze (csharp): src/Storage/Authorization/StorageAccessHandler.cs#L55
Parameter 'authorizationService' has no matching param tag in the XML comment for 'StorageAccessHandler.StorageAccessHandler(IHttpContextAccessor, IPDP, IAuthorization, IOptions<GeneralSettings>, IOptions<PepSettings>, ILogger<StorageAccessHandler>, IInstanceRepository, IMemoryCache)' (but other parameters do)
Analyze (csharp): src/Storage/Authorization/StorageAccessHandler.cs#L56
Parameter 'generalSettings' has no matching param tag in the XML comment for 'StorageAccessHandler.StorageAccessHandler(IHttpContextAccessor, IPDP, IAuthorization, IOptions<GeneralSettings>, IOptions<PepSettings>, ILogger<StorageAccessHandler>, IInstanceRepository, IMemoryCache)' (but other parameters do)
Analyze (csharp): test/UnitTest/TestingControllers/MessageboxInstancesControllerTests.cs#L1163
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
Analyze (csharp): test/UnitTest/TestingControllers/MessageboxInstancesControllerTests.cs#L1162
Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function. (https://xunit.net/xunit.analyzers/rules/xUnit2031)
Analyze (csharp): test/Altinn.Platform.Storage.Interface.Tests/AllowInSubform/AllowInSubformTests.cs#L15
'ApplicationLogic.AllowInSubform' is obsolete: 'This property is no longer in use and will be removed in the future.'
Analyze (csharp): test/Altinn.Platform.Storage.Interface.Tests/AllowInSubform/AllowInSubformTests.cs#L23
'ApplicationLogic.AllowInSubform' is obsolete: 'This property is no longer in use and will be removed in the future.'
Analyze (csharp): src/Storage/Authorization/StorageAccessHandler.cs#L55
Parameter 'authorizationService' has no matching param tag in the XML comment for 'StorageAccessHandler.StorageAccessHandler(IHttpContextAccessor, IPDP, IAuthorization, IOptions<GeneralSettings>, IOptions<PepSettings>, ILogger<StorageAccessHandler>, IInstanceRepository, IMemoryCache)' (but other parameters do)
Analyze (csharp): src/Storage/Authorization/StorageAccessHandler.cs#L56
Parameter 'generalSettings' has no matching param tag in the XML comment for 'StorageAccessHandler.StorageAccessHandler(IHttpContextAccessor, IPDP, IAuthorization, IOptions<GeneralSettings>, IOptions<PepSettings>, ILogger<StorageAccessHandler>, IInstanceRepository, IMemoryCache)' (but other parameters do)