CLICommands
orl authz policy validate
Validate a policy without saving it (needs `orl auth login`), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.
orl authz policy validate --kind <kind> --name <name>Returns line and column diagnostics and the lockout check for a candidate policy. Requires a signed-in session and the permission saving it would need.
Flags
| Flag | Type | Required | |
|---|---|---|---|
--cedar-text | string | no | |
--description | string | no | |
--enabled | bool | no | Defaults to true. |
--endpoints | []string | no | |
--guardrail | key_networks, everyone_networks, model_allowlist | no | |
--ip-ranges | []string | no | |
--kind | guardrail, custom | yes | |
--models | []string | no | |
--name | string | yes | |
--body | string | no | a JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"} |
--body-file | string | no | read the --body JSON object from a file (- for stdin) |
This wraps the validatePolicy API operation.