OtherDevOpsGene/zap-sonar-plugin

HTML report does not show on SonarQube

Closed this issue · 3 comments

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?

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

@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.

It worked. Thanks.