Skip to content

Turn on LimitCollectionCreationDeletionSplit for self host #3731

Turn on LimitCollectionCreationDeletionSplit for self host

Turn on LimitCollectionCreationDeletionSplit for self host #3731

Triggered via pull request October 4, 2024 19:56
@addisonbeckaddisonbeck
synchronize #4808
Status Success
Total duration 4m 7s
Artifacts

scan.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Bit.Api.Test.Vault.AuthorizationHandlers.BulkCollectionAuthorizationHandlerTests ► HandleRequirementAsync_Provider_Success(sutProvider: SutProvider`1 { Sut = BulkCollectionAuthorizationHandler { }, SutType = typeof(Bit.Api.Vault.AuthorizationHandlers.C...: test/Api.Test/Vault/AuthorizationHandlers/BulkCollectionAuthorizationHandlerTests.cs#L1301
Failed test found in: test/Api.Test/TestResults/oss-test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: ProviderUserForOrgAsync(1d85faaa-e8eb-4e60-b67d-688aabe9ee50) Actually received no matching calls.
Quality scan: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L11
'ProviderInitiateDeleteModel.WebVaultUrl' hides inherited member 'BaseMailModel.WebVaultUrl'. Use the new keyword if hiding was intended.
Quality scan: src/Core/Models/Mail/Provider/ProviderInitiateDeleteModel.cs#L14
'ProviderInitiateDeleteModel.SiteName' hides inherited member 'BaseMailModel.SiteName'. Use the new keyword if hiding was intended.
Quality scan: src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/UpdateOrganizationUserCommand.cs#L118
Possible null reference argument for parameter 'collections' in 'Task IOrganizationUserRepository.ReplaceAsync(OrganizationUser obj, IEnumerable<CollectionAccessSelection> collections)'.
Quality scan: src/Core/Services/Implementations/MultiServiceMailDeliveryService.cs#L14
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
Quality scan: src/Core/Utilities/CoreHelpers.cs#L32
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
Quality scan: src/Core/Jobs/BaseJobsHostedService.cs#L100
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
Quality scan: src/Core/Jobs/BaseJobsHostedService.cs#L145
'_scheduler?.Shutdown(cancellationToken)' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259)
Quality scan: src/Core/Auth/Utilities/DuoWeb.cs#L221
Make sure this weak hash algorithm is not used in a sensitive context here. (https://rules.sonarsource.com/csharp/RSPEC-4790)
Quality scan: src/Core/Services/Implementations/UserService.cs#L166
'_currentContext' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259)