I'm working on web application. I need to check security of dependencies.
I'm actually scanning my source code with OWASP dependency check but i think it's not the best tool to use on web app. I think npm audit or yarn audit is better tool to check dependencies security of this king of application.
With OWASP, i use OWASP SonarQube Project to integrate result into sonarQube Example of settings used :
sonar.dependencyCheck.reportPath=$(System.DefaultWorkingDirectory)/DependencyCheckResults/dependency-check-report.xml
sonar.dependencyCheck.htmlReportPath=$(System.DefaultWorkingDirectory)/DependencyCheckResults/dependency-check-report.html
In the same way, is there a way to use the npm audit (or yarn audit) report into SonarQube?
At the moment i generate report in json format, using this command:
npm audit --json
I also know that it's possible to generate HTML report from npm audit with https://github.com/eventOneHQ/npm-audit-html
So, it's just missing a SonarQube plugin to import it or something like that, but i can't find it.