Skip to content

JSON schemas ​

Each schema's $id is the URL it is served at, so an editor or a validator can fetch it from there.

SchemaTitleDescription
audit-v1.jsontfcensus audit backend --format jsonThe 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.jsontfcensus codify --format jsonThe report envelope (report-v1.json) with the import blocks codify wrote, the findings it skipped and the next steps.
config-v1.jsontfcensus configurationSchema 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.jsontfcensus drift --format jsonThe 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.jsontfcensus 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.jsontfcensus inventory --format jsonThe 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.jsontfcensus move suggest --format jsonThe 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.jsontfcensus move --format jsonThe 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.jsontfcensus JSON output envelopeEvery --format json output is wrapped in this envelope. data is command-specific; its schemas are added per command.
scan-v1.jsontfcensus scan --format jsonThe 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.jsontfcensus whois --format jsonThe report envelope (report-v1.json) with one answer per query. Answers carry identifiers, tags and state addresses, never state attribute values.