REA Trivy notes (unofficial)

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

Trivy trees (trivy.yaml / .trivyignore / scanner / vulnerability-db pins) record container and filesystem scanner identity. In REA 6.7.x, treat selected scanner and policy labels as Evidence beside archive/package routes — complementing Trivy Operator / Trivy YAML / Grype cousins without inventing APIs. Distinct from rea-trivy-operator (CLI/config ≠ operator CRDs) and rea-grype-yml (Trivy ≠ Grype). Preferred slug kept free — KEEP.

Mental model

  1. Authorize the Trivy config tree (+ packaged charts you hold).
  2. Quote selected scanner / severity / ignore labels you actually see (never paste registry tokens or DB credentials).
  3. Cousins → trivy-operator · trivy-yaml · grype-yml · syft-yml.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_trivy API REA never called.

Minimal path

# authorized Trivy trivy.yaml / .trivyignore (+ charts you hold)
# quote selected scanner / severity / ignore labels into case notes
# cousins → peer Trivy Operator / Trivy YAML / Grype / Syft lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_trivy .

Compare

ArtifactHonest posture
scanner / policy pinsTrivy stack identity facts
Peerrea-trivy-operator
Peerrea-trivy-yaml
Not thisrea-grype-yml (Grype YAML zoom)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote selected scanner names, severity floors, and ignore path labels only — enough for most Evidence binders.
  • Registry tokens, vulnerability DB credentials, and cloud keys are secrets — record key names only.
  • Keep Trivy stack identity distinct from Trivy Operator / Grype 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 Trivy scans.

Scope we will not cover

  • No inventing inspect_trivy / automatic scans against foreign registries.
  • No credential theft from registry tokens or DB credentials.
  • No pirate redistribution of proprietary Trivy trees.
  • No crack framing via Trivy pins.
  • No cookbooks that weaken scanner policy on foreign accounts.
  • No using Trivy as an unauthorized vulnerability-recon guide against accounts you do not own.

Honest limits

RepoRead documents config literacy — how authorized Trivy trees relate to Evidence — not a full vulnerability-scanner course. Prefer upstream Aqua docs; use rea-trivy-yaml 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-trivy-operator / rea-trivy-yaml / rea-grype-yml / rea-syft-yml?

rea-trivy-operator covers Trivy Operator stack identity. rea-trivy-yaml covers Trivy YAML depth. rea-grype-yml covers Grype YAML. rea-syft-yml covers Syft YAML. This page zooms on Trivy scanner stack identity — it does not overwrite those pages.

Is there inspect_trivy in 6.7.0?

Not assumed. Quote trivy.yaml / .trivyignore / scanner policy pins you actually open, then use documented package/archive lanes. Do not invent inspect_trivy.

Does REA call Trivy APIs or steal registry credentials?

No. Local trees only. Redact registry tokens, DB credentials, and cloud keys; do not treat REA as a Trivy runner. No credential theft.

How should I label Evidence vs Trivy Operator / Grype trees?

Label Evidence by the file present. Keep Trivy stack identity separate from rea-trivy-operator and rea-grype-yml.

npm version checked?

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

Sources