verdict generate catalog
Validate a mapped policy and emit its database-specific source catalog.
Runs locally. Effects: write catalog when —output is supplied.
Arguments and flags
Section titled “Arguments and flags”| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
<file> | positional | yes | No parser default | Policy file |
--output | string | no | No parser default | Write catalog to this path |
--check | string | no | No parser default | Compare with a saved catalog without writing |
--help (-h) shows command help without executing the command. Boolean flags support --no-<flag>. Defaults stated in descriptions may be resolved by the handler or configuration rather than the argument parser.
A mapped policy file.
File input: supported. Standard input: unsupported.
- —output and —check are mutually exclusive.
Result
Section titled “Result”{ "kind": "source", "description": "Versioned JSON source catalog."}Standard output: JSON catalog unless —output or —check is supplied.
Lifecycle: Completes after generation or comparison.
Examples
Section titled “Examples”verdict generate catalog policy.vd > verdict.catalog.jsonverdict generate catalog policy.vd --output verdict.catalog.jsonverdict generate catalog policy.vd --check verdict.catalog.json