I have a bunch of report from Gosec with format=sonarqube which are JSON files. I would like to import these reports to Sonarqube and I’m not finding any way to do this from the Web_API or even UI. I am using sonarqube community Edition version 8.7.1
Thanks @Joe this clarify the workflow. I saw that there is a binary sonar reporter that I need to use instead of using the Web API. Can I build the binary from source?
I’m not sure what you mean by “sonar reporter”. Perhaps you mean the Sonar scanner? Please start with the Overview page that explains the Sonar scanner for analysis. Where are your Sonar scanners running? Wherever it is running, you need to add the extra analysis parameter sonar.externalIssuesReportPaths and the path to the gosec reports.