REA tfsec notes (unofficial)
tfsec config trees (.tfsec/ / tfsec.yml) record Terraform IaC scan identity (exclude, minimum-severity, soft-fail). In REA 6.7.x, treat selected exclude/severity/soft-fail labels as Evidence beside archive/package routes — complementing Checkov/Terraform cousins without inventing APIs.
Mental model
- Authorize the tfsec config tree (+ packaged configs you hold).
- Quote selected
excludeIDs /minimum_severity/soft_failflags you actually see (never paste secrets or tokens). - Cousins → checkov-yml · trivy-yaml · terraform-tf · cdktf-json.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_tfsec_ymlAPI REA never called.
Minimal path
# authorized .tfsec/ / tfsec.yml (+ artifact you hold)
# quote selected exclude / minimum-severity / soft-fail labels into case notes
# cousins → peer Checkov / Trivy / Terraform / CDKTF lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_tfsec_yml .
Compare
| Artifact | Honest posture |
|---|---|
| tfsec tfsec.yml | IaC exclude/severity/soft-fail identity facts |
| Peer | rea-checkov-yml |
| Peer | rea-trivy-yaml |
| Not this | rea-terraform-tf (HCL program) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
excludecheck IDs,minimum_severity, andsoft_failflags — enough for most Evidence binders. - Custom check paths and remote config URIs may hold tokens — record key names only.
- Keep tfsec configs distinct from Terraform program trees and Checkov configs in case notes.
custom_checksdirectories are identity Evidence — label them separately from cousin pages.- Select keys are useful inventory — quote them without inventing REA helpers for
tfsec ..
Scope we will not cover
- No inventing
inspect_tfsec_yml/ automatic scans against foreign cloud accounts. - No credential theft from scanner tokens or remote URIs.
- No pirate redistribution of proprietary tfsec trees.
- No crack framing via tfsec pins.
- No cookbooks that weaken remote auth on foreign scanner accounts.
- No using tfsec exclude lists as an unauthorized security-control bypass guide against systems you do not own.
Honest limits
RepoRead documents config literacy — how authorized tfsec trees relate to Evidence — not a full tfsec course. Prefer upstream tfsec docs for checks and excludes. 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-checkov-yml / rea-terraform-tf / rea-trivy-yaml?
rea-checkov-yml covers Checkov. rea-terraform-tf covers Terraform HCL. rea-trivy-yaml covers Trivy. This page zooms on tfsec config identity — it does not overwrite those pages.
Is there inspect_tfsec_yml in 6.7.0?
Not assumed. Quote exclude / minimum-severity / soft-fail labels you actually open, then use documented package/archive lanes. Do not invent inspect_tfsec_yml.
Does REA call tfsec cloud APIs or steal scanner credentials?
No. Local trees only. Redact API tokens and remote URIs; do not treat REA as a tfsec runner. No credential theft.
How should I label Evidence vs other IaC scan configs?
Label Evidence by the file present. Keep .tfsec/ / tfsec.yml separate from rea-checkov-yml and rea-terraform-tf.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).