Add security headers middleware (#536) #56
Annotations
1 error and 10 warnings
Test
Process completed with exit code 1.
|
Build:
src/Altinn.Broker.Persistence/DependencyInjection.cs#L42
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build:
src/Altinn.Broker.Integrations/Altinn/Events/AltinnEventBus.cs#L25
Non-nullable field '_backgroundJobClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Build:
src/Altinn.Broker.Integrations/Altinn/Events/AltinnEventBus.cs#L33
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build:
src/Altinn.Broker.Integrations/Altinn/Events/AltinnEventBus.cs#L22
Field 'AltinnEventBus._backgroundJobClient' is never assigned to, and will always have its default value null
|
Build:
src/Altinn.Broker.API/Models/FileTransferInitializeExt.cs#L100
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
|
Build:
src/Altinn.Broker.API/Models/FileTransferInitializeExt.cs#L104
Possible null reference return.
|
Build:
src/Altinn.Broker.API/Models/FileTransferInitializeExt.cs#L126
Possible null reference return.
|
Build:
tests/Altinn.Broker.Tests/HangfireStorageCompatibilityTests.cs#L37
Unboxing a possibly null value.
|
Build:
tests/Altinn.Broker.Tests/HangfireStorageCompatibilityTests.cs#L42
Unboxing a possibly null value.
|
Build:
tests/Altinn.Broker.Tests/FileTransferControllerTests.cs#L180
Dereference of a possibly null reference.
|
Loading