REA Trivy notes (unofficial)
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
- Authorize the Trivy config tree (+ packaged configs you hold).
- Quote selected
severity/ ignore IDs /scantype flags you actually see (never paste secrets or tokens). - Cousins → checkov-yml · tfsec-yml · dockerfile · github-actions.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_trivy_yamlAPI 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
| Artifact | Honest posture |
|---|---|
| Trivy trivy.yaml | Scanner severity/ignore/scan identity facts |
| Peer | rea-checkov-yml |
| Peer | rea-tfsec-yml |
| Not this | rea-dockerfile (image build) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
severitylists, 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/.trivyignorepaths 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).