oz0 tenant tool-policy load
Usage and flags for oz0 tenant tool-policy load.
For: Operators and developers looking up a command.
How many approval prompts per day each rule of the tool policy that asks a person (Ask: action approve) would give, counted from the tenant's tool calls of the last days (at most 30) whose function the rule matches and no earlier rule without conditions decides. A rule with a condition (when, callers, kinds, other_plugins) shows an upper bound, since the audit trail keeps no call's arguments outside its private part.
--policy-file counts for a draft policy (the JSON tool-policy show --json prints) before you set it. The counts are per rule, never per person.
Usage
oz0 tenant tool-policy load [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--days | int | 30 | how many days back to count, 1 to 30 |
--json | bool | print JSON instead of a table | |
--policy-file | string | count for this draft tool policy (JSON) instead of the tenant's | |
--tenant | string | default | tenant |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.