Added CSRF protection for WebsiteHost. #4 #150
Annotations
21 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build for Azure Deploy:
src/Infrastructure.Web.Api.Common.UnitTests/ApiUsageFilterSpec.cs#L73
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 for Azure Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L16
Non-nullable field '_encryptionService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build for Azure Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L27
Possible null reference argument for parameter 'encryptionService' in 'CSRFService.CSRFService(IHostSettings settings, IEncryptionService encryptionService)'.
|
Build for Azure Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L14
Field 'CSRFTokenPairSpec._encryptionService' is never assigned to, and will always have its default value null
|
Build for Azure Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L15
Field 'CSRFServiceSpec._encryptionService' is never assigned to, and will always have its default value null
|
Build for Azure Deploy:
src/Infrastructure.Web.Website.IntegrationTests/AuthNApiSpec.cs#L107
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 for Azure Deploy:
src/Infrastructure.Web.Website.IntegrationTests/CSRFSpec.cs#L253
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 for Azure Deploy:
src/Infrastructure.Web.Website.IntegrationTests/ReverseProxyApiSpec.cs#L70
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 for Azure Deploy:
src/Infrastructure.Web.Website.IntegrationTests/CSRFSpec.cs#L266
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 for Azure Deploy:
src/Infrastructure.Web.Website.IntegrationTests/ReverseProxyApiSpec.cs#L80
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 for AWS Deploy:
src/Infrastructure.Web.Api.Common.UnitTests/ApiUsageFilterSpec.cs#L73
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 for AWS Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L16
Non-nullable field '_encryptionService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build for AWS Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L27
Possible null reference argument for parameter 'encryptionService' in 'CSRFService.CSRFService(IHostSettings settings, IEncryptionService encryptionService)'.
|
Build for AWS Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFTokenPairSpec.cs#L14
Field 'CSRFTokenPairSpec._encryptionService' is never assigned to, and will always have its default value null
|
Build for AWS Deploy:
src/Infrastructure.Web.Hosting.Common.UnitTests/Pipeline/CSRFServiceSpec.cs#L15
Field 'CSRFServiceSpec._encryptionService' is never assigned to, and will always have its default value null
|
Build for AWS Deploy:
src/Infrastructure.Web.Website.IntegrationTests/AuthNApiSpec.cs#L107
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 for AWS Deploy:
src/Infrastructure.Web.Website.IntegrationTests/ReverseProxyApiSpec.cs#L70
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 for AWS Deploy:
src/Infrastructure.Web.Website.IntegrationTests/ReverseProxyApiSpec.cs#L80
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 for AWS Deploy:
src/Infrastructure.Web.Website.IntegrationTests/CSRFSpec.cs#L253
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 for AWS Deploy:
src/Infrastructure.Web.Website.IntegrationTests/CSRFSpec.cs#L266
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.
|
The logs for this run have expired and are no longer available.
Loading