REA SonarCloud notes (unofficial)
SonarCloud trees (sonar-project.properties / organization / projectKey / quality-gate pins) record SAST/quality-gate identity. In REA 6.7.x, treat selected organization and gate labels as Evidence beside archive/package routes — complementing sonar-project.properties / Snyk / Semgrep cousins without inventing APIs. Distinct from rea-sonar-project-properties (stack identity ≠ properties depth) and rea-snyk (SonarCloud ≠ Snyk). Preferred slug kept free — KEEP.
Mental model
- Authorize the SonarCloud config tree (+ packaged charts you hold).
- Quote selected organization / projectKey / quality-gate labels you actually see (never paste SONAR_TOKEN).
- Cousins → sonar-project-properties · snyk · dependabot · semgrep.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_sonarcloudAPI REA never called.
Minimal path
# authorized SonarCloud sonar-project.properties (+ charts you hold)
# quote selected organization / projectKey / quality-gate labels into case notes
# cousins → peer sonar-project.properties / Snyk / Semgrep lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_sonarcloud .
Compare
| Artifact | Honest posture |
|---|---|
| organization / gate pins | SonarCloud stack identity facts |
| Peer | rea-sonar-project-properties |
| Peer | rea-snyk |
| Not this | rea-semgrep (Semgrep zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected organization keys, projectKey values, and quality-gate names only — enough for most Evidence binders.
- SONAR_TOKEN and org API secrets are secrets — record key names only.
- Keep SonarCloud stack identity distinct from sonar-project.properties / Snyk trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live SonarCloud scans.
Scope we will not cover
- No inventing
inspect_sonarcloud/ automatic scans against foreign orgs. - No credential theft from SONAR_TOKEN or org API secrets.
- No pirate redistribution of proprietary SonarCloud trees.
- No crack framing via SonarCloud pins.
- No cookbooks that weaken quality gates on foreign accounts.
- No using SonarCloud as an unauthorized SAST-recon guide against orgs you do not own.
Honest limits
RepoRead documents config literacy — how authorized SonarCloud trees relate to Evidence — not a full SAST course. Prefer upstream SonarCloud docs; use rea-sonar-project-properties for properties depth. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-sonar-project-properties / rea-snyk / rea-dependabot / rea-semgrep?
rea-sonar-project-properties covers sonar-project.properties depth. rea-snyk covers Snyk. rea-dependabot covers Dependabot. rea-semgrep covers Semgrep. This page zooms on SonarCloud SAST/quality stack identity — it does not overwrite those pages.
Is there inspect_sonarcloud in 6.7.0?
Not assumed. Quote sonar-project.properties / organization / projectKey / quality gate pins you actually open, then use documented package/archive lanes. Do not invent inspect_sonarcloud.
Does REA call SonarCloud APIs or steal tokens?
No. Local trees only. Redact SONAR_TOKEN and org secrets; do not treat REA as a SonarCloud runner. No credential theft.
How should I label Evidence vs sonar-project.properties / Snyk trees?
Label Evidence by the file present. Keep SonarCloud stack identity separate from rea-sonar-project-properties and rea-snyk.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).