Web API /api/issues/gitlab_sast_export

We are evaluating SonarQube Community Edition 10.2.1 and think about using the Developer Edition. We try to integrate with our Gitlab CI and encounter an issue. Sonarqube suggests a stage downloading a vulnerability-report from /api/issues/gitlab_sast_export. However, the answer is ‘Unknown url’, and in fact the Web API documentation doesn’t show this route.
We wonder if this is just a bug, something we have wrongly configured or if this API route is available in the developer edition only.

Hey there.

Yes, this API route is only available in Developer Edition.

Which makes it unfortunate that we reference it in the Community Edition tutorial. :confused:

I’ll flag this for attention.

A Jira for improving the tutorials in SonarQube has been created and it is available here.
The endpoint is not visible when exploring the API in the community edition, but as already mentioned, the setup wizards are the same, and they are shared among all the editions.

I have the same problem that api is returning {“errors”:[{“msg”:“Unknown url : /api/issues/gitlab_sast_export”}]}

But we are using a Developer Edition v9.1

Should be something else defined to enable this route in API? I can not see that route in documentation at web_api/api/issues

Hi @mgfteg,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.1 → 9.9.4 → 10.4 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us in a new thread.