Skip to content

Refactor User Tracking and Add Session Cleanup Handler #941

Refactor User Tracking and Add Session Cleanup Handler

Refactor User Tracking and Add Session Cleanup Handler #941

Triggered via pull request November 1, 2024 03:29
Status Success
Total duration 5m 42s
Artifacts

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserStore.cs#L52
Possible null reference argument for parameter 'tenantId' in 'Task<ApplicationRole> MultiTenantUserStore.GetRoleAsync(string normalizedRoleName, string tenantId, CancellationToken cancellationToken)'.
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserStore.cs#L85
Possible null reference argument for parameter 'tenantId' in 'Task<ApplicationRole> MultiTenantUserStore.GetRoleAsync(string normalizedRoleName, string tenantId, CancellationToken cancellationToken)'.
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserStore.cs#L109
Possible null reference argument for parameter 'tenantId' in 'Task<ApplicationRole> MultiTenantUserStore.GetRoleAsync(string normalizedRoleName, string tenantId, CancellationToken cancellationToken)'.
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserManager.cs#L73
Possible null reference argument for parameter 'roleName' in 'Task<IdentityResult> MultiTenantUserManager.AddToRoleAsync(ApplicationUser user, string roleName)'.
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserManager.cs#L106
Possible null reference argument for parameter 'roleName' in 'Task<bool> MultiTenantUserManager.IsInRoleAsync(ApplicationUser user, string roleName)'.
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserManager.cs#L116
Possible null reference argument for parameter 'roleName' in 'Task IUserRoleStore<ApplicationUser>.AddToRoleAsync(ApplicationUser user, string roleName, CancellationToken cancellationToken)'.
Analyze: src/Infrastructure/Services/MultiTenant/MultiTenantUserClaimsPrincipalFactory.cs#L47
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
Analyze
Unexpected input(s) 'languages', valid inputs are ['check_name', 'output', 'upload', 'cleanup-level', 'ram', 'add-snippets', 'skip-queries', 'threads', 'checkout_path', 'ref', 'sha', 'category', 'upload-database', 'wait-for-processing', 'token', 'matrix', 'expect-error']
Analyze
Unexpected input(s) 'languages', valid inputs are ['check_name', 'output', 'upload', 'cleanup-level', 'ram', 'add-snippets', 'skip-queries', 'threads', 'checkout_path', 'ref', 'sha', 'category', 'upload-database', 'wait-for-processing', 'token', 'matrix', 'expect-error']