Turn on LimitCollectionCreationDeletionSplit
for self host
#3731
Triggered via pull request
October 4, 2024 19:56
addisonbeck
synchronize
#4808
Status
Success
Total duration
4m 7s
Artifacts
–
scan.yml
on: pull_request_target
Check PR run
/
Check
3s
Annotations
2 errors and 10 warnings
Bit.Api.Test.Vault.AuthorizationHandlers.BulkCollectionAuthorizationHandlerTests ► CanCreateAsync_WhenMissingOrgAccess_NoSuccess(userId: 2582f206-9884-4fec-b6c2-9ccad82165c1, organization: CurrentContextOrganization { AccessSecretsManager = True, Id = ...:
test/Api.Test/Vault/AuthorizationHandlers/BulkCollectionAuthorizationHandlerTests.cs#L132
Failed test found in:
test/Api.Test/TestResults/oss-test-results.trx
Error:
Assert.False() Failure
Expected: False
Actual: True
|
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/Billing/Services/Implementations/PaymentHistoryService.cs#L14
Parameter 'logger' is unread.
|
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)
|