CLI automation
The assess command supports JSON Lines output for integration with engineering pipelines and other tooling.
stacktoit assess ./terraform --format json > assessment-events.jsonlEach line is a JSON record. The terminal summary is represented as a summary record; diagnostic messages are emitted as event records.
Use strict mode in gates
Section titled “Use strict mode in gates”stacktoit assess ./terraform --strict --format json > assessment-events.jsonlThe --strict option makes partial or unverified results return a non-zero exit code while still writing the report. This allows a pipeline to preserve artifacts for inspection even when the quality gate is not satisfied.
Verify published artifacts
Section titled “Verify published artifacts”stacktoit verify ./terraform-stacktoit --output jsonA verification result is not proof that a migration was executed in the cloud. It confirms the integrity and internal consistency of the published run.
See Exit codes for reliable handling of each result.