Skip to content

fix: enrich logs in middlewares #163

fix: enrich logs in middlewares

fix: enrich logs in middlewares #163

Triggered via pull request May 19, 2024 10:08
Status Success
Total duration 2m 50s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L18
Make sure using this hardcoded IP address '52.89.214.238' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L19
Make sure using this hardcoded IP address '34.212.75.30' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L20
Make sure using this hardcoded IP address '54.218.53.128' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L21
Make sure using this hardcoded IP address '52.32.178.7' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ContentTypeValidationMiddleware.cs#L26
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L40
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L18
Make sure using this hardcoded IP address '52.89.214.238' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L19
Make sure using this hardcoded IP address '34.212.75.30' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L20
Make sure using this hardcoded IP address '54.218.53.128' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)
build: src/CallMyTrade.Api/Middleware/ProtectEndpointMiddleware.cs#L21
Make sure using this hardcoded IP address '52.32.178.7' is safe here. (https://rules.sonarsource.com/csharp/RSPEC-1313)