v2.2.6 release #120
v2.2.6 release #120
Quality Gate failed
Failed conditions
1 Security Hotspot
E Security Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4SQxEYoR5TGQXJS&open=AZ3Sw4SQxEYoR5TGQXJS&pullRequest=120
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4SxxEYoR5TGQXJU&open=AZ3Sw4SxxEYoR5TGQXJU&pullRequest=120
Check warning on line 44 in Source/CDR.Register.API.Infrastructure/Middleware/ApiExceptionHandler.cs
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary check for null.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4QCxEYoR5TGQXJO&open=AZ3Sw4QCxEYoR5TGQXJO&pullRequest=120
Check failure on line 273 in .azuredevops/pipelines/build-v2.yml
sonarqubecloud / SonarCloud Code Analysis
Change this step to not use user-controlled data directly in the argument 'script'.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4UmxEYoR5TGQXJa&open=AZ3Sw4UmxEYoR5TGQXJa&pullRequest=120
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4SGxEYoR5TGQXJR&open=AZ3Sw4SGxEYoR5TGQXJR&pullRequest=120
sonarqubecloud / SonarCloud Code Analysis
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4QpxEYoR5TGQXJP&open=AZ3Sw4QpxEYoR5TGQXJP&pullRequest=120
Check warning on line 78 in Source/CDR.Register.API.Infrastructure/Filters/CheckIndustryAttribute.cs
sonarqubecloud / SonarCloud Code Analysis
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4NDxEYoR5TGQXJM&open=AZ3Sw4NDxEYoR5TGQXJM&pullRequest=120
Check warning on line 20 in Source/CDR.Register.Discovery.API/Business/MappingProfile.cs
sonarqubecloud / SonarCloud Code Analysis
'RegisterDataHolderBrandServiceEndpoint' is obsolete: 'Deprecated in the standards, used by versions prior to V1.35.0. This is aligned with RAAP implementation and can be removed when the endpoint is no longer supported.'
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4TBxEYoR5TGQXJV&open=AZ3Sw4TBxEYoR5TGQXJV&pullRequest=120
Check warning on line 44 in Source/CDR.Register.Discovery.API/Controllers/DiscoveryController.cs
sonarqubecloud / SonarCloud Code Analysis
Do not forget to remove this deprecated code someday.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4UGxEYoR5TGQXJY&open=AZ3Sw4UGxEYoR5TGQXJY&pullRequest=120
Check failure on line 258 in .azuredevops/pipelines/build-v2.yml
sonarqubecloud / SonarCloud Code Analysis
Change this step to not use user-controlled data directly in the argument 'script'.
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4UmxEYoR5TGQXJZ&open=AZ3Sw4UmxEYoR5TGQXJZ&pullRequest=120
sonarqubecloud / SonarCloud Code Analysis
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase'
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4RExEYoR5TGQXJQ&open=AZ3Sw4RExEYoR5TGQXJQ&pullRequest=120
Check warning on line 27 in Source/CDR.Register.Discovery.API/Business/DiscoveryService.cs
sonarqubecloud / SonarCloud Code Analysis
'ResponseRegisterDataHolderBrandList' is obsolete: 'Deprecated in the standards, used by versions prior to V1.35.0. This is aligned with RAAP implementation and can be removed when the endpoint is no longer supported.'
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4SgxEYoR5TGQXJT&open=AZ3Sw4SgxEYoR5TGQXJT&pullRequest=120
Check warning on line 48 in Source/CDR.Register.Discovery.API/Business/MappingProfile.cs
sonarqubecloud / SonarCloud Code Analysis
'RegisterDataHolderBrand' is obsolete: 'Deprecated in the standards, used by versions prior to V1.35.0. This is aligned with RAAP implementation and can be removed when the endpoint is no longer supported.'
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4TBxEYoR5TGQXJX&open=AZ3Sw4TBxEYoR5TGQXJX&pullRequest=120
Check warning on line 38 in Source/CDR.Register.Discovery.API/Business/MappingProfile.cs
sonarqubecloud / SonarCloud Code Analysis
'ResponseRegisterDataHolderBrandList' is obsolete: 'Deprecated in the standards, used by versions prior to V1.35.0. This is aligned with RAAP implementation and can be removed when the endpoint is no longer supported.'
See more on https://sonarcloud.io/project/issues?id=ConsumerDataRight_mock-register&issues=AZ3Sw4TBxEYoR5TGQXJW&open=AZ3Sw4TBxEYoR5TGQXJW&pullRequest=120