Add web UI for false-positive-check script#2
Add web UI for false-positive-check script#2roberto-luzardo-sonarsource wants to merge 2 commits into
Conversation
Wraps sonarqube_false_positives.py in a small Flask app so the project- and rule-based false-positive reports can be run and reviewed from a browser, with CSV downloads, instead of only via CLI.
|
@gitar-bot review |
On it — running a full code review now. |
|
gitar auto-apply:on |
Co-authored-by: Roberto Luzardo <185836695+roberto-luzardo-sonarsource@users.noreply.github.com>
Code Review ✅ Approved 3 resolved / 3 findingsIntegrates a Flask web UI for the false-positive check script, resolving security risks regarding persistent secrets, restricted file permissions, and automated cleanup of generated CSV reports. ✅ 3 resolved✅ Bug: Random per-process secret key breaks flash across workers/restarts
✅ Security: Reports written to shared world-accessible temp dir
✅ Quality: Generated CSV reports are never cleaned up
Options ✅ Auto-apply✅ Auto-apply is on → Gitar will commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
Summary
false-positive-check/webui/) that wraps the existingsonarqube_false_positives.pymoduleTest plan
GET /renders andPOST /analyzeredirects with a flash message when the URL is missing/download/<file>rejects path-traversal attempts (returns 404)