SonarCloud API to get details of Vulnerability analysis results in the Azure DevOps Pull Request

Hello Everyone,

I’m trying to extract the severity data reported for the vulnerability (Blocker, Critical, Major etc) from Sonarqube using an API through Powershell or any Script or any other possible way and display those results in the Pull Request itself in Azure DevOps, Anyone has idea on how to achieve this scenario?

Thanks,
GP

Hi,

Have you tried this via the UI? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

 
HTH,
Ann