REA OPA notes (unofficial)
OPA config trees (ConfigMap policies / bundle manifests / decision-log settings / Helm values) record policy-engine runtime identity. In REA 6.7.x, treat selected policy/bundle labels as Evidence beside archive/package routes — complementing opa-rego / Gatekeeper / Kyverno cousins without inventing APIs. Distinct from rea-opa-rego (runtime identity ≠ Rego source) and rea-gatekeeper (OPA runtime ≠ Gatekeeper Constraints).
Mental model
- Authorize the OPA config tree (+ packaged charts/bundles you hold).
- Quote selected policy ConfigMap names / bundle service labels / decision-log labels you actually see (never paste signing keys or credentials).
- Cousins → opa-rego · gatekeeper · kyverno · falco-yml.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_opaAPI REA never called.
Minimal path
# authorized OPA ConfigMap / bundle / decision-log / Helm values (+ charts you hold)
# quote selected policy / bundle / decision-log labels into case notes
# cousins → peer opa-rego / Gatekeeper / Kyverno / Falco lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_opa .
Compare
| Artifact | Honest posture |
|---|---|
| OPA ConfigMap / bundle / decision-log / Helm values | OPA runtime identity facts |
| Peer | rea-opa-rego |
| Peer | rea-gatekeeper |
| Not this | rea-kyverno (Kyverno) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected policy ConfigMap names, bundle service labels, and decision-log destinations — enough for most Evidence binders.
- Bundle signing keys, decision-log credentials, and remote OPA tokens are secrets — record key names only.
- Keep OPA runtime identity distinct from opa-rego / Gatekeeper / Kyverno 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 OPA admission.
Scope we will not cover
- No inventing
inspect_opa/ automatic scrape against foreign policy engines. - No credential theft from bundle signing keys, decision-log credentials, or remote OPA URLs.
- No pirate redistribution of proprietary OPA trees.
- No crack framing via OPA pins.
- No cookbooks that weaken remote OPA auth on foreign accounts.
- No using OPA as an unauthorized policy-bypass guide against engines you do not own.
Honest limits
RepoRead documents config literacy — how authorized OPA trees relate to Evidence — not a full OPA/Rego course. Prefer upstream OPA docs for bundles and decision logs; use rea-opa-rego for Rego source literacy. 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-opa-rego / rea-gatekeeper / rea-kyverno / rea-falco-yml?
rea-opa-rego covers Rego source literacy. rea-gatekeeper covers Gatekeeper Constraints. rea-kyverno covers Kyverno policies. rea-falco-yml covers Falco rules. This page zooms on OPA runtime/bundle identity — it does not overwrite those pages.
Is there inspect_opa in 6.7.0?
Not assumed. Quote ConfigMap / bundle / decision-log labels you actually open, then use documented package/archive lanes. Do not invent inspect_opa.
Does REA call OPA APIs or steal tokens?
No. Local trees only. Redact bundle signing keys, decision-log credentials, and remote OPA URLs; do not treat REA as an OPA runner. No credential theft.
How should I label Evidence vs opa-rego / Gatekeeper / Kyverno configs?
Label Evidence by the file present. Keep OPA runtime/bundle labels separate from rea-opa-rego, rea-gatekeeper, and rea-kyverno.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).