Add internal Certificate Authority for peer TLS certificates #5491
Quality Gate failed
Failed conditions
6 New issues
6 New Code Smells (required ≤ 0)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 191 in shared/management/http/api/types.gen.go
sonarqubecloud / SonarCloud Code Analysis
This function has 250 lines of code, which is greater than the 100 authorized. Split it into smaller functions.
See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZy0wn4x17i-nYl7NpPk&open=AZy0wn4x17i-nYl7NpPk&pullRequest=5491
Check warning on line 91 in management/internals/shared/grpc/conversion.go
sonarqubecloud / SonarCloud Code Analysis
This function has 8 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZy0wn-h17i-nYl7NpPm&open=AZy0wn-h17i-nYl7NpPm&pullRequest=5491
Check warning on line 192 in shared/management/http/api/types.gen.go
sonarqubecloud / SonarCloud Code Analysis
Reduce the number of switch branches from 123 to at most 30.
See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZy0wn4x17i-nYl7NpPl&open=AZy0wn4x17i-nYl7NpPl&pullRequest=5491
Check warning on line 116 in management/internals/shared/grpc/conversion.go
sonarqubecloud / SonarCloud Code Analysis
This function has 16 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZy0wn-h17i-nYl7NpPn&open=AZy0wn-h17i-nYl7NpPn&pullRequest=5491
Check warning on line 79 in management/server/http/handler.go
sonarqubecloud / SonarCloud Code Analysis
This function has 24 parameters, which is greater than the 7 authorized.
See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZy0wn_r17i-nYl7NpPp&open=AZy0wn_r17i-nYl7NpPp&pullRequest=5491
Check failure on line 79 in management/server/http/handler.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 25 to the 20 allowed.
See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZy0wn_r17i-nYl7NpPo&open=AZy0wn_r17i-nYl7NpPo&pullRequest=5491