JSON schemas
Each schema's $id is the URL it is served at, so an editor or a validator can fetch it from there.
| Schema | Title | Description |
|---|---|---|
audit-v1.json | tfcensus audit backend --format json | The report envelope (report-v1.json) with the backend audit payload. Findings carry identifiers only: bucket names, keys, unit paths, resource addresses and attribute names, never attribute values. |
codify-v1.json | tfcensus codify --format json | The report envelope (report-v1.json) with the import blocks codify wrote, the findings it skipped and the next steps. |
config-v1.json | tfcensus configuration | Schema for $XDG_CONFIG_HOME/tfcensus/config.yaml and .tfcensus.yaml. Generated from internal/config by mise run test:golden -- -update; do not edit. |
drift-v1.json | tfcensus drift --format json | The report envelope (report-v1.json) with the drift payload. Changes carry attribute paths; before and after values appear only with --show-attributes, and sensitive and unknown values are masked even then. notify and report html read this file. |
index-v1.json | tfcensus identifier index (inventory --save-index) | The report envelope (report-v1.json) with every managed, current resource instance and its identifiers. It holds no other attribute values. |
inventory-v1.json | tfcensus inventory --format json | The report envelope (report-v1.json) with the inventory payload. relgap reads terraform_version and providers[].source and version per unit as a pin source. |
move-suggest-v1.json | tfcensus move suggest --format json | The report envelope (report-v1.json) with the moves move suggest found in plans and the drafted migration file. Addresses, types and attribute names are identifiers; no attribute value appears. |
move-v1.json | tfcensus move --format json | The report envelope (report-v1.json) with what a move command did to each block and unit of a migration file. Addresses are identifiers; no attribute value appears. |
report-v1.json | tfcensus JSON output envelope | Every --format json output is wrapped in this envelope. data is command-specific; its schemas are added per command. |
scan-v1.json | tfcensus scan --format json | The report envelope (report-v1.json) with the scan payload. Findings carry identifiers, tags and state addresses, never state attribute values. codify and report html read this file. |
whois-v1.json | tfcensus whois --format json | The report envelope (report-v1.json) with one answer per query. Answers carry identifiers, tags and state addresses, never state attribute values. |