Added auditlog client, function processor (#22) #60
build-analyze.yml
on: push
Build and Test
36s
Analyze
7m 23s
Annotations
20 warnings
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthenticationEvent.cs#L18
Non-nullable property 'UserId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthenticationEvent.cs#L28
Non-nullable property 'EventType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthenticationEvent.cs#L38
Non-nullable property 'AuthenticationMethod' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthenticationEvent.cs#L43
Non-nullable property 'AuthenticationLevel' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthenticationEvent.cs#L48
Non-nullable property 'SessionId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthorizationEvent.cs#L18
Non-nullable property 'SubjectUserId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthorizationEvent.cs#L28
Non-nullable property 'ResourcePartyId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthorizationEvent.cs#L38
Non-nullable property 'InstanceId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthorizationEvent.cs#L43
Non-nullable property 'Operation' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Build and Test:
src/Altinn.Auth.AuditLog.Core/Models/AuthorizationEvent.cs#L48
Non-nullable property 'TimeToDelete' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/Models/AuthenticationEvent.cs#L18
Non-nullable property 'UserId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/Models/AuthenticationEvent.cs#L28
Non-nullable property 'EventType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/Models/AuthenticationEvent.cs#L38
Non-nullable property 'AuthenticationMethod' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/Models/AuthenticationEvent.cs#L43
Non-nullable property 'AuthenticationLevel' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/Models/AuthenticationEvent.cs#L48
Non-nullable property 'SessionId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/EventsProcessor.cs#L29
Converting null literal or possible null value to non-nullable type.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/EventsProcessor.cs#L30
Possible null reference argument for parameter 'authEvent' in 'Task IAuditLogClient.SaveAuthenticationEvent(AuthenticationEvent authEvent)'.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/Configuration/PlatformSettings.cs#L11
Non-nullable property 'AuditLogApiEndpoint' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Analyze:
src/Functions/Altinn.Auth.AuditLog.Functions/EventsProcessor.cs#L13
Remove this unread private field '_logger' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Analyze:
src/Altinn.Auth.AuditLog.Core/Models/ContextRequest.cs#L35
Non-nullable property 'AccessSubject' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|