OtherDevOpsGene / zap-sonar-plugin

Integrates OWASP Zed Attack Proxy reports into SonarQube
GNU General Public License v3.0
69 stars 31 forks source link

HTML report does not show on SonarQube #93

Closed fhperuchi closed 3 years ago

fhperuchi commented 3 years ago

Hi!

I'm generating a full scan ZAP HTML report with this: https://www.zaproxy.org/docs/docker/full-scan/ The HTML file is being generated well. I've checked it.

I'm passing these parameters as recommended here to SonarScanner tool:

/home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonar/bin/sonar-scanner -Dsonar.projectKey=*** -Dsonar.projectName=**** -Dsonar.branch.name=feature/14766-run-automated-pentest-scan -Dsonar.zaproxy.reportPath=tmp/zaproxy-report.xml -Dsonar.zaproxy.htmlReportPath=tmp/zaproxy-report.html

But the HTML does not show here:

image

PS: XML report file (tmp/zaproxy-report.xml) is being processed without any issues.

Could you help me?

wingkwong commented 3 years ago

@fhperuchi The latest released version doesn't include the fix I made. You may clone the master branch and build the jar.

fhperuchi commented 3 years ago

@fhperuchi The latest released version doesn't include the fix I made. You may clone the master branch and build the jar.

Thanks @wingkwong . I'll try.

fhperuchi commented 3 years ago

It worked. Thanks.