Skip to main content
Version: v5.7.0

opschain admin governance evidence hold

packs:security-governance

opschain admin governance evidence hold <ledger-row-id>

Flags an evidence ledger row under legal hold (GovernanceService.SetEvidenceLegalHold): the row is exempt from every purge/retention path until explicitly unflagged, and its typed citations extend the hold to the evidence they cite — transcript citations pin transcript exchanges against the retention sweep, and run citations pin a run's log evidence against the retention sweep and the admin migrate-logs purge verb. Admin plane plus a stepped-up session — an unelevated call is refused with the CLI elevation hint.

-o json / -o yaml emit the flagged row.

Exit codes​

CodeMeaning
0Flagged; the row's seq and hold state are reported.
1Refused — the admin-floor or step-up refusal, or an unknown row id.
2Usage error, including a missing server target.