Skip to content

Custom Metrics for Vault #1870

Custom Metrics for Vault

Custom Metrics for Vault #1870

Triggered via pull request January 8, 2025 14:16
Status Success
Total duration 8m 30s
Artifacts

sonarcloud.yaml

on: pull_request
analyse  /  sonar-analysis
8m 20s
analyse / sonar-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
analyse / sonar-analysis: src/ProjectOrigin.Vault/CommandHandlers/ClaimCertificateCommandHandler.cs#L71
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
analyse / sonar-analysis: src/ProjectOrigin.Vault/CommandHandlers/TransferCertificateCommandHandler.cs#L108
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L174
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L179
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Startup.cs#L177
Make 'PrintNetworkOptions' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
analyse / sonar-analysis: src/ProjectOrigin.Vault/CommandHandlers/ClaimCertificateCommandHandler.cs#L71
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
analyse / sonar-analysis: src/ProjectOrigin.Vault/CommandHandlers/TransferCertificateCommandHandler.cs#L108
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L174
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L179
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Startup.cs#L177
Make 'PrintNetworkOptions' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)