dependency-check / azuredevops

Dependency Check Azure DevOps Extension
Apache License 2.0
47 stars 25 forks source link

Send Report from build Pipeline to sonarqube #29

Closed jheinath closed 4 years ago

jheinath commented 4 years ago

How do i configure the Extension to send the Reports to my Sonarqube instance that is running the dependency-check Plugin?

ejohn20 commented 4 years ago

My understanding is this:

1) Use the Azure DevOps extension to generate the XML / JSON results format and archive those results

2)Use either option to send the report to Sonar for processing:

@jeremylong might be able to confirm. I have not used the Sonar integration personally.

rouke-broersma commented 4 years ago

@ejohn20 To upload the report, you have to add a property with the report path on the sonarqube scan settings. It looks something like this:

In order to setup sonarqube to pick up the report, you need to know the location the report will be saved on in the owasp dependency check task.

jheinath commented 1 year ago

Thanks for clarification! Question answered.