Accepted issues missing from regulatory report CSV files?

Hi,

we are using SonarQube Cloud and I am currently looking into the regulatory report.

The regulatory_report_summary.pdf shows the number of Accepted Issues on Overall Code, and this number matches the accepted issues shown in the SonarQube Cloud web interface.

However, I cannot find these accepted issues in either:

  • open_findings_on_overall_code.csv
  • resolved_findings_on_overall_code.csv

Is it expected that accepted issues are excluded from these CSV files? If yes, is there another way within the regulatory report to see which individual issues make up the Accepted Issues count shown in the PDF?

I could not find detailed documentation regarding this behavior.

Thanks!

Hi Simon, this is the expected behavior. There is no way of pulling out issues with status ACCEPTED within the regulatory report.

If you need to review accepted issues, the best way to do that would be to review them in the issues page, [Project] > Analysis > Issues.

If you urgently need a structured export of hundreds or thousands of accepted issues - I’d love to hear more about your use case. This is possible using the /api/issues/search endpoint directly or the sonarqube cli. It’s easy enough to piece together, but we’d be happy to help if we can get a better sense of what your needs are.

Hi Christoph,

Thanks for the clarification.

Our use case is regulatory reporting: we need an auditable snapshot containing all findings for a specific revision/release, which can later be used as evidence during certification.

We can look into /api/issues/search and combine that data with the regulatory report. However, from a traceability perspective, having the accepted issues included in the regulatory report itself would be preferable, as this would provide a single snapshot tied to the analyzed state.

We would also need to document the rationale for accepted issues. Can the comments returned by the API be considered the intended source for that rationale, or does SonarQube Cloud provide another recommended way to document why an issue was accepted?