REA tfsec notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

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

  1. Authorize the tfsec config tree (+ packaged charts you hold).
  2. Quote selected check / severity / exclude labels you actually see (never paste cloud tokens or state secrets).
  3. Cousins → tfsec-yml · checkov · checkov-yml · terrascan.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_tfsec API 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

ArtifactHonest posture
check / severity pinstfsec stack identity facts
Peerrea-tfsec-yml
Peerrea-checkov
Not thisrea-terrascan (Terrascan zoom)
Evidence binderrea-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).

Sources