REA Datree notes (unofficial)
Datree trees (.datree / policies.yaml / schema / severity pins) record Kubernetes policy CLI identity. In REA 6.7.x, treat selected policy and schema labels as Evidence beside archive/package routes — complementing Polaris / kube-linter / Checkov / Conftest cousins without inventing APIs. Distinct from rea-polaris (Datree ≠ Polaris dashboard) and rea-kube-linter (Datree ≠ kube-linter). Preferred rea-polaris already lived; this SWAP uses free backup rea-datree.
Mental model
- Authorize the Datree config tree (+ packaged charts you hold).
- Quote selected policy / schema / severity labels you actually see (never paste Datree tokens or kubeconfig secrets).
- Cousins → polaris · kube-linter · checkov · conftest.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_datreeAPI REA never called.
Minimal path
# authorized Datree .datree / policies.yaml (+ charts you hold)
# quote selected policy / schema / severity labels into case notes
# cousins → peer Polaris / kube-linter / Checkov / Conftest lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_datree .
Compare
| Artifact | Honest posture |
|---|---|
| policy / schema pins | Datree stack identity facts |
| Peer | rea-polaris |
| Peer | rea-kube-linter |
| Not this | rea-checkov (Checkov IaC zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected policy names, schema IDs, and severity floors only — enough for most Evidence binders.
- Datree tokens and kubeconfig secrets are secrets — record key names only.
- Keep Datree stack identity distinct from Polaris / kube-linter 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 Datree scans.
Scope we will not cover
- No inventing
inspect_datree/ automatic scans against foreign clusters. - No credential theft from Datree tokens or kubeconfig secrets.
- No pirate redistribution of proprietary Datree trees.
- No crack framing via Datree pins.
- No cookbooks that weaken Kubernetes policy on foreign accounts.
- No using Datree as an unauthorized cluster-recon guide against clusters you do not own.
Honest limits
RepoRead documents config literacy — how authorized Datree trees relate to Evidence — not a full Kubernetes-policy course. Prefer upstream Datree docs; use rea-polaris for Polaris peers. 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-polaris / rea-kube-linter / rea-checkov / rea-conftest?
rea-polaris covers Polaris. rea-kube-linter covers kube-linter. rea-checkov covers Checkov. rea-conftest covers Conftest. This page zooms on Datree Kubernetes policy stack identity — it does not overwrite those pages.
Is there inspect_datree in 6.7.0?
Not assumed. Quote .datree / policies.yaml / schema / severity pins you actually open, then use documented package/archive lanes. Do not invent inspect_datree.
Does REA call Datree APIs or steal cluster credentials?
No. Local trees only. Redact Datree tokens and kubeconfig secrets; do not treat REA as a Datree runner. No credential theft.
How should I label Evidence vs Polaris / kube-linter trees?
Label Evidence by the file present. Keep Datree stack identity separate from rea-polaris and rea-kube-linter. Preferred rea-polaris already lived; this SWAP uses free backup rea-datree.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).