oz0 replay privilege test

Usage and flags for oz0 replay privilege test.

For: Operators and developers looking up a command.

Starts a policy replay whose candidate is the privilege replay's suggestion, its rules acting with the preset origin privilege, over --since (the window the privilege replay read, by default 7 days); with --agent, that agent's rules over its jobs. A suggestion that refuses only what the agents never called changes no call they made; the report shows the calls it would have changed, such as one a person was asked about and said no to. Nothing is applied.

Usage

oz0 replay privilege test ID [--agent A] [--since 7d] [--wait] [flags]

Flags

FlagTypeDefaultDescription
--agentstringonly this agent's jobs
--jsonboolprint JSON instead of a table
--max-jobsint322000, at most 10000at most this many jobs, newest first
--pluginstringonly the jobs of this plugin's agents
--pollduration2swith --wait, how often to look
--sincestring7dhow far back to read: 7d, 36h, 90m
--tenantstringdefaulttenant
--waitboolwait for the report and print 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

See all oz0 commands and the global flags.

On this page
Copyright © 2026