You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sonarcloud-audit.sh cleanup closes audit issues in repos excluded from the current run's selection #1409
The repository selection limits finding collection but does not limit cleanup. Cleanup interprets missing findings from excluded repositories as resolved and closes their audit issues using organization credentials.
Source/control: The supported target_repo workflow_dispatch input, forwarded as TARGET_REPO.
Sink/decision: gh issue close with a false resolution comment in close_resolved().
Missing mitigation: Cleanup does not require the repository to belong to the selected, successfully scanned set before treating absent findings as resolved.
.github/workflows/sonarcloud-audit.yml:56 — forward TARGET_REPO to the audit script
scripts/sonarcloud-audit.sh:473 — main calls scan
scripts/sonarcloud-audit.sh:212 — omit findings from other repositories
scripts/sonarcloud-audit.sh:482 — independently list organization repositories
scripts/sonarcloud-audit.sh:481 — call close_resolved for each listed repository
scripts/sonarcloud-audit.sh:411 — excluded repository has no current families
scripts/sonarcloud-audit.sh:418 — close its audit issue [sink]
Related: #1197 item 1 (truncation can also close issues as resolved; separate root cause).
Filed from a CodeRabbit security scan (scan 2d23b5ee-606a-403f-b407-81ddebdb0115, revision 1ea9ee1fbecc). Finding IDs: 03357458-44bd-4fd0-a0ff-57e61b91646f. CodeRabbit notes that findings relying on its stated assumptions are capped at medium severity; dismiss if an assumption does not hold.
Activity
fix(security): script robustness batch — temp-dir symlinks, quadratic…