You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/622990/Black+Duck+SonarQube the plugin was installed and configured (setting the properties relating to HUB username, password). When accessing the Blackduck analysis page under Sonarqube (More-> Black Duck Hub Security Analysis), it is giving processing status and no response/data. While debugging found the
{"errors":[{"msg":"The \u0027component\u0027 parameter is missing"}]}
blackducksoftware#11 - hub-sonarqube giving "component" error
due to deprecation of Sonar api/measures/component_tree 'baseComponentKey' parameter in Sonar v8.8
Following https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/622990/Black+Duck+SonarQube the plugin was installed and configured (setting the properties relating to HUB username, password). When accessing the Blackduck analysis page under Sonarqube (More-> Black Duck Hub Security Analysis), it is giving processing status and no response/data. While debugging found the
{"errors":[{"msg":"The \u0027component\u0027 parameter is missing"}]}
On closer look found the following API call was missing "component" parameter.
https://SONARQUBE-HOST/api/measures/component_tree?baseComponentKey=ABC&p=1&ps=100&metricKeys=num_vuln_low%2C%20num_vuln_med%2C%20num_vuln_high%2C%20num_vuln_critical%2C%20hub_component_names%2C%20num_components_rating&s=metric&metricSort=hub_component_names&metricSortFilter=withMeasuresOnly
SonarQube version 8.9.1 (build 44547)
hub-sonarqube plugin version 1.2.0
The text was updated successfully, but these errors were encountered: