Hello,
I would like to build some SonarQube dashboards on Elasticsearch by using the SonarQube API’s. Unfortunately, I could not get all data I need via APIs.
I can get the number of vulnerabilities (on metric level) with
https://MY_HOST/api/measures/component?component=my_project&metricKeys=KEY
However, this API does not provide information about the vulnerabilities’ severity (minor, major , etc.), statuses (open, resolved, closed, etc.) and vulnerability name.
In order to get this information, I tried https://MY_HOST/api/issues/search?types=VULNERABILITY&facets=types,severities&component?component=mirai?resolved=false,no
However, it does not still give the vulnerability type based on relevant severity, statuses or name.
Do you have any suggestions on how to proceed if there isn’t an API that provides that data?
Could you please help me on that?
Thank you in advance,
Gamze