REA tfsec notes (unofficial)
tfsec trees (.tfsec / tfsec.yml / exclude / severity pins) record Terraform security scanner identity. In REA 6.7.x, treat selected check and severity labels as Evidence beside archive/package routes — complementing tfsec YAML / Checkov / Terrascan cousins without inventing APIs. Distinct from rea-tfsec-yml (stack identity ≠ YAML depth) and rea-checkov (tfsec ≠ Checkov). Preferred slug kept free — KEEP.
Mental model
- Authorize the tfsec config tree (+ packaged charts you hold).
- Quote selected check / severity / exclude labels you actually see (never paste cloud tokens or state secrets).
- Cousins → tfsec-yml · checkov · checkov-yml · terrascan.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_tfsecAPI REA never called.
Minimal path
# authorized tfsec .tfsec / tfsec.yml (+ charts you hold)
# quote selected check / severity / exclude labels into case notes
# cousins → peer tfsec YAML / Checkov / Terrascan lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_tfsec .
Compare
| Artifact | Honest posture |
|---|---|
| check / severity pins | tfsec stack identity facts |
| Peer | rea-tfsec-yml |
| Peer | rea-checkov |
| Not this | rea-terrascan (Terrascan zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected check IDs, severity floors, and exclude path labels only — enough for most Evidence binders.
- Cloud tokens and Terraform state secrets are secrets — record key names only.
- Keep tfsec stack identity distinct from tfsec YAML / Checkov 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 tfsec scans.
Scope we will not cover
- No inventing
inspect_tfsec/ automatic scans against foreign cloud accounts. - No credential theft from cloud tokens or Terraform state secrets.
- No pirate redistribution of proprietary tfsec trees.
- No crack framing via tfsec pins.
- No cookbooks that weaken Terraform policy on foreign accounts.
- No using tfsec as an unauthorized IaC-recon guide against accounts you do not own.
Honest limits
RepoRead documents config literacy — how authorized tfsec trees relate to Evidence — not a full Terraform-scanner course. Prefer upstream Aqua docs; use rea-tfsec-yml for YAML 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-tfsec-yml / rea-checkov / rea-checkov-yml / rea-terrascan?
rea-tfsec-yml covers tfsec YAML depth. rea-checkov covers Checkov stack identity. rea-checkov-yml covers Checkov YAML. rea-terrascan covers Terrascan. This page zooms on tfsec Terraform scanner stack identity — it does not overwrite those pages.
Is there inspect_tfsec in 6.7.0?
Not assumed. Quote .tfsec / tfsec.yml / exclude / severity pins you actually open, then use documented package/archive lanes. Do not invent inspect_tfsec.
Does REA call tfsec APIs or steal cloud credentials?
No. Local trees only. Redact cloud tokens and Terraform state secrets; do not treat REA as a tfsec runner. No credential theft.
How should I label Evidence vs tfsec YAML / Checkov trees?
Label Evidence by the file present. Keep tfsec stack identity separate from rea-tfsec-yml and rea-checkov.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).