Auth/pm 35392/master password service foundation #6421
test-database.yml
on: pull_request
Run tests
6m 10s
Run validation
2m 13s
Validate new migration naming and order
15s
Annotations
24 warnings
|
Run validation:
src/Core/Utilities/CoreHelpers.cs#L338
The behavior of 'long.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'CoreHelpers.ReadableBytesSize(long)' with a call to 'long.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/CoreHelpers.cs#L251
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'CoreHelpers.SecureRandomString(int, string)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/CoreHelpers.cs#L122
The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'CoreHelpers.CleanCertificateThumbprint(string)' with a call to 'string.ToUpper(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Utilities/EnumerationProtectionHelpers.cs#L30
The behavior of 'long.Parse(string, NumberStyles)' could vary based on the current user's locale settings. Replace this call in 'EnumerationProtectionHelpers.GetIndexForInputHash(byte[], string, int)' with a call to 'long.Parse(string, NumberStyles, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/EmailValidation.cs#L57
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'EmailValidation.GetDomain(string)' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Utilities/HostBuilderExtensions.cs#L14
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'IHostBuilder.ConfigureCustomAppConfiguration(string[])' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Utilities/EncryptedStringLengthAttribute.cs#L13
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'EncryptedStringLengthAttribute.FormatErrorMessage(string)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/JsonHelpers.cs#L127
The behavior of 'long.ToString()' could vary based on the current user's locale settings. Replace this call in 'MsEpochConverter.Write(Utf8JsonWriter, DateTime?, JsonSerializerOptions)' with a call to 'long.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Billing/Pricing/Organizations/Purchasable.cs#L30
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'PurchasableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Billing/Pricing/Organizations/Purchasable.cs#L79
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'FreeOrScalableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L252
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.GetOrganizationsForSubscriptionSyncAsync_GivenOrganizationHasChangedSeatCount_WhenGettingOrgsToUpdate_ThenReturnsOrgSubscriptionUpdate(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L252
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.GetOrganizationsForSubscriptionSyncAsync_GivenOrganizationHasChangedSeatCount_WhenGettingOrgsToUpdate_ThenReturnsOrgSubscriptionUpdate(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L232
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasChangedSeatCountBeforeAndRecordExists_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L232
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasChangedSeatCountBeforeAndRecordExists_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L210
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasNotChangedSeatCountBefore_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L210
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasNotChangedSeatCountBefore_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Infrastructure.Dapper/NotificationCenter/Repositories/NotificationRepository.cs#L56
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NotificationRepository.GetByUserIdAndStatusAsync(Guid, ClientType, NotificationStatusFilter, PageOptions)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Infrastructure.Dapper/Dirt/Repositories/EventRepository.cs#L184
The behavior of 'long.ToString()' could vary based on the current user's locale settings. Replace this call in 'EventRepository.GetManyAsync(string, IDictionary<string, object>, DateTime, DateTime, PageOptions)' with a call to 'long.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L43
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogError(Exception, string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L38
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogError(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L33
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogWarning(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L28
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogInformation(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L23
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogDebug(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L18
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogTrace(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
report.xml
|
1.22 KB |
sha256:493884a7c543baf94a1f1e8bdbed1c644c2b65e118297e850956b7d589db5120
|
|
|
sql.dacpac
|
165 KB |
sha256:2426e1a5c9155b4991ad53dd72bdedb8f3f64a8518d8f2bfe7b7eafc9ffd2710
|
|