Open glopezGitHub opened 1 month ago
SonarQube
The Sonarqube Enterprise Edition v10.6 the URI /api/sonarqube/findings?componentKey= respond {"msg":"Unknown url : /api/sonarqube/findings"
This version uses the uri api/projects/export_findings?componentKey
we can configure the api uri in order to inyect the api value
sonarqube: baseUrl: ${SONARQUBE_BASEURL} externalBaseUrl: ${SONARQUBE_BASEURL} apiKey: ${SONARQUBE_APIKEY} api: findingsUrl: api/projects/export_findings?project=
curl --header 'Authorization: Bearer sqa_xxxx ' 'https://xxx.xxxx.xxxx/api/sonarqube/findings?componentKey=xxxx' {"errors":[{"msg":"Unknown url : /api/sonarqube/findings"}]}[
curl --header 'Authorization: Bearer xxxxx' 'https://xxx.xxx.xxx/api/projects/export_findings?project=xxxxx {"export_findings": [stanceKey='''''' {"key":"xxxxxxxxxxxx","projectKey":"xxxxxxxx",xxxxx}
1- Configure Sonarquebe Plugin 2 - Configure Sonarqube Catalog
The tab SonarQube Code Quality No information to display
None
@punkle ^ FYI
Plugin Name
SonarQube
📜 Description
The Sonarqube Enterprise Edition v10.6 the URI /api/sonarqube/findings?componentKey= respond {"msg":"Unknown url : /api/sonarqube/findings"
This version uses the uri api/projects/export_findings?componentKey
👍 Expected behavior
we can configure the api uri in order to inyect the api value
sonarqube: baseUrl: ${SONARQUBE_BASEURL} externalBaseUrl: ${SONARQUBE_BASEURL} apiKey: ${SONARQUBE_APIKEY} api: findingsUrl: api/projects/export_findings?project=
👎 Actual Behavior with Screenshots
curl --header 'Authorization: Bearer sqa_xxxx ' 'https://xxx.xxxx.xxxx/api/sonarqube/findings?componentKey=xxxx' {"errors":[{"msg":"Unknown url : /api/sonarqube/findings"}]}[
curl --header 'Authorization: Bearer xxxxx' 'https://xxx.xxx.xxx/api/projects/export_findings?project=xxxxx {"export_findings": [stanceKey='''''' {"key":"xxxxxxxxxxxx","projectKey":"xxxxxxxx",xxxxx}
👟 Reproduction steps
1- Configure Sonarquebe Plugin 2 - Configure Sonarqube Catalog
📃 Provide the context for the Bug.
The tab SonarQube Code Quality No information to display
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None