Must-share information (formatted with Markdown):
- SonarQube Enterprise version 188.8.131.52466
- Deployed via Docker
- Export issues for all projects via the API
- paging through api/issues and hitting api/projects/export_findings
- I will not be sharing any of the text as they are issues for internal projects
The api/issues endpoint has a max results of 10,000 so for very large projects exporting from that endpoint doesn’t function. The api/projects/export_findings endpoint returns all issues supposedly, but the count of the issues returned changes with every call.
For example when I query export_findings 10 times in 30 seconds, it returns 8 different totals for issues. I was testing on a project with a little over 5,000 issues just to ensure I didn’t hit any limits. Due to the very short time frame I’m also certain that there was no one in there changing issues or new scans taking place.