REA tfsec notes (unofficial)

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

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

  1. Authorize the tfsec config tree (+ packaged configs you hold).
  2. Quote selected exclude IDs / minimum_severity / soft_fail flags you actually see (never paste secrets or tokens).
  3. Cousins → checkov-yml · trivy-yaml · terraform-tf · cdktf-json.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_tfsec_yml API 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

ArtifactHonest posture
tfsec tfsec.ymlIaC exclude/severity/soft-fail identity facts
Peerrea-checkov-yml
Peerrea-trivy-yaml
Not thisrea-terraform-tf (HCL program)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote exclude check IDs, minimum_severity, and soft_fail flags — 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_checks directories 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).

Sources