Closed juhakivekas closed 6 years ago
hi @juhakivekas could you share the scan file please?
The XML report is behind this link https://pastebin.com/nLQWmYJ7. If you are referring to another scan file, let me know
Actually, that is the output of the the DependencyCheck Jenkins plugin, not the stock OWASP DependencyCheck. However, the XML can be reliably reproduced with this command:
./bin/dependency-check.sh --scan ../juice-shop/ -f ALL --project juiceshop
Apparently the xml namespace has changed since the parser was written. The namespaces seem to be quite different from each other too.
https://jeremylong.github.io/DependencyCheck/dependency-check.1.3.xsd (used by the Defect Dojo)
https://jeremylong.github.io/DependencyCheck/dependency-check.1.5.xsd (used by DependencyCheck)
Believe to be fixed via: https://github.com/OWASP/django-DefectDojo/pull/406
After running a DependencyCheck scan on JuiceShop during a DevSecOps hackathon, trying to upload the results to Defect Dojo failed with an exception and stacktrace. Something in the parser breaks. Unfortunately we didn't have time to debug this any futher.
Tested with commit
6377d9cd682c394f80c5f88c9b9b1c6d2b9499fb
The input used is this: https://pastebin.com/nLQWmYJ7