【问题标题】:Can't get the html generated report using dependency-check-sonar-plugin无法使用 dependency-check-sonar-plugin 获取 html 生成的报告
【发布时间】:2020-08-20 21:34:22
【问题描述】:

我正在尝试生成一个 html 报告,以在本地声纳服务器上的 Windows 操作系统中使用 dependency-check-sonar-plugin 和 sonarqube 来识别项目“Angularjs 和 php”中的漏洞。运行此命令后:

sonar-scanner -Dsonar.projectKey=my-project-api -Dsonar.sources=. - 
Dsonar.host.url=http://localhost:9000/ -Dsonar.dependencyCheck.htmlReportPath=dependency-check- 
report.html

我仍然看不到报告并收到以下消息:“未找到 HTML 报告。请检查属性 sonar.dependencyCheck.htmlReportPath” 我错过了什么 ? 这是我的配置文件:

sonar.dependencyCheck.reportPath=dependency-check-report.html
sonar.dependencyCheck.htmlReportPath=ependency-check-report.html

sonar.dependencyCheck.severity.blocker=9.0
sonar.dependencyCheck.severity.critical=7.0
sonar.dependencyCheck.severity.major=4.0
sonar.dependencyCheck.severity.minor=0.0

【问题讨论】:

    标签: windows sonarqube maven-dependency-check-plugin


    【解决方案1】:

    你的配置说:

    sonar.dependencyCheck.htmlReportPath=ependency-check-report.html
    

    缺少一个“d”-

    【讨论】:

      猜你喜欢
      • 2020-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-26
      • 1970-01-01
      • 1970-01-01
      • 2017-04-27
      相关资源
      最近更新 更多