REA Trivy notes (unofficial)

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

Trivy config trees (trivy.yaml / .trivy.yaml) record scanner identity (severity, ignorefile, scan type, timeout). In REA 6.7.x, treat selected severity/ignore/scan-type labels as Evidence beside archive/package routes — complementing Checkov/Dockerfile cousins without inventing APIs.

Mental model

  1. Authorize the Trivy config tree (+ packaged configs you hold).
  2. Quote selected severity / ignore IDs / scan type flags you actually see (never paste secrets or tokens).
  3. Cousins → checkov-yml · tfsec-yml · dockerfile · github-actions.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_trivy_yaml API REA never called.

Minimal path

# authorized trivy.yaml / .trivy.yaml (+ artifact you hold)
# quote selected severity / ignore / scan-type labels into case notes
# cousins → peer Checkov / tfsec / Dockerfile / Actions lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_trivy_yaml .

Compare

ArtifactHonest posture
Trivy trivy.yamlScanner severity/ignore/scan identity facts
Peerrea-checkov-yml
Peerrea-tfsec-yml
Not thisrea-dockerfile (image build)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote severity lists, selected ignore IDs, and scan-type / timeout flags — enough for most Evidence binders.
  • Registry tokens and vulnerability-DB URIs are secrets — record key names only.
  • Keep Trivy configs distinct from Checkov / tfsec trees in case notes.
  • ignorefile / .trivyignore paths are identity Evidence — label them separately from cousin pages.
  • Select keys are useful inventory — quote them without inventing REA helpers for trivy fs ..

Scope we will not cover

  • No inventing inspect_trivy_yaml / automatic scans against foreign registries.
  • No credential theft from registry tokens or remote DB URIs.
  • No pirate redistribution of proprietary Trivy trees.
  • No crack framing via Trivy pins.
  • No cookbooks that weaken remote auth on foreign scanner accounts.
  • No using Trivy ignore lists as an unauthorized security-control bypass guide against systems you do not own.

Honest limits

RepoRead documents config literacy — how authorized Trivy trees relate to Evidence — not a full Trivy course. Prefer upstream Trivy docs for severity and ignore files. 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-dockerfile / rea-tfsec-yml?

rea-checkov-yml covers Checkov IaC scan config. rea-dockerfile covers Dockerfiles. rea-tfsec-yml covers tfsec. This page zooms on Trivy scan config identity — it does not overwrite those pages.

Is there inspect_trivy_yaml in 6.7.0?

Not assumed. Quote severity / ignorefile / scan-type labels you actually open, then use documented package/archive lanes. Do not invent inspect_trivy_yaml.

Does REA call Trivy cloud APIs or steal scanner credentials?

No. Local trees only. Redact registry tokens, DB URIs, and remote URLs; do not treat REA as a Trivy runner. No credential theft.

How should I label Evidence vs other scanner configs?

Label Evidence by the file present. Keep trivy.yaml / .trivy.yaml separate from Checkov/tfsec pages like rea-checkov-yml and rea-tfsec-yml.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources