oz0 inventory legal-basis

Usage and flags for oz0 inventory legal-basis.

For: Operators and developers looking up a command.

Give an agent (or flow) its own legal basis for one of the purposes its definition declares, from the tenant's list, in place of the purpose's; - removes it, so the purpose's holds again. A governance change: it takes --reason (or $OZ0_REASON), and changing or removing one waits for another admin while four eyes is on.

Usage

oz0 inventory legal-basis AGENT PURPOSE BASIS|- [flags]

Flags

FlagTypeDefaultDescription
--decision-refstringthe decision or case the change follows, such as a case number (at most 200 characters)
--reasonstringwhy, required for every governance change (at most 500 characters; default $OZ0_REASON); the audit log keeps it

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error
--tenantstringdefaultthe tenant

See all oz0 commands and the global flags.

On this page
Copyright © 2026