I am trying to call the SonarCloud SCA API to fetch vulnerability information, but I’m unable to get it working in Postman.
I’m using the following endpoint as the base URL:
curl --request GET --url ‘https://api.sonarcloud.io/sca/risk-reports?component=organization_project&branch=master&riskType=VULNERABILITY’
I’m also using the token generated from the SonarCloud UI with:
Authorization: Bearer
However, the request is not working and getting the below error,
{“message”:“SCA feature is not enabled at Enterprise level”}
I am on Sonarcloud Team Plan With Advanced Security Add-on.
Can someone please help me on this?
Thank You!