!!! success “Create SecObserve products inside a product group”
```bash
thothctl scan iac -t checkov -p network-stack
–publish-to secobserve –product-group platform-team
thothctl inventory iac --check-versions \
--publish-sbom secobserve --product-group platform-team
```
--product-group for scan iac (with --publish-to secobserve) and inventory iac
(with --publish-sbom secobserve). It can also be set with SECOBSERVE_PRODUCT_GROUP or
product_group in [integrations.secobserve].origin_service as the SecObserve service.v0.33.1 fix: multi-stack Checkov findings published to SecObserve now keep their
real per-stack path (stacks/<name>/main.tf) instead of a generic /main.tf, so
distinct resources and stacks that share a rule are no longer collapsed into one
observation.
See Product groups.
!!! success “Let SecObserve’s security gate decide pass/fail”
bash
thothctl scan iac -t checkov -t kics -p my-infra \
--publish-to secobserve --gate-source secobserve --enforcement hard
--gate-source local|secobserve|both:
local (default) keeps today’s behaviour;secobserve reads the product’s security gate after publishing;both fails if either gate fails.--enforcement hard, a gate that can’t be evaluated (server
unreachable, product or branch not found) fails the pipeline.kics-results.sarif, thothctl-<tool>.sarif), and a completed tool is re-uploaded even
with no findings. Skipped or failed tools aren’t uploaded, so their history is kept.ClickCommand-based commands.!!! warning “Changed service name”
Checkov and other non-KICS findings now use the tool name as the SecObserve service
(previously thothctl-scan). Findings stored under the old service aren’t resolved
automatically.
See Security Gate Source.
scan iac --publish-to secobserve publishes every tool, not just KICS, and
findings are linked to a SecObserve service.ImportError in the OPA scanner when THOTH_ORG_POLICY is set;
CDK technical-debt scoring is weighted by semver gap; generate iac reuses its system
prompt across self-correction rounds.mcp register writes the keys used
by Kiro CLI v3.init installs AI agent skills from upstream repositories.!!! success “Accurate dependency-graph diagrams for multi-stack generation”
Composition-mode diagrams now render the real stack dependency graph
(from each stack’s depends_on) grouped by layer — no more inferred edges.
!!! success “Targeted plan validation with –plan-filter”
bash
thothctl generate iac -i "add an RDS stack" \
--composition incremental \
--plan-validation full-project \
--plan-filter "stacks/platform/data/*"
root.hcl); single-stack + full-project mode is routed
correctly--plan-filter wired end-to-end — also settable via THOTH_PLAN_FILTER or
[generation.plan].stack_filterterraform {} / provider {} blocks are removed
with a string/comment-aware scanner that handles nested blocks (backend,
assume_role, default_tags) reliably--mode project now resolves #{...}#
placeholders for single-stack generation toogeneration_tokens metrics across modes; clearer warning when scaffold
examples are unavailable (missing gh CLI)!!! success “Tool-augmented IaC generation with Kiro CLI”
bash
thothctl generate iac \
-i "EKS cluster with Karpenter, IRSA, and cluster autoscaler" \
-p kiro --apply
!!! success “Publish SBOM to Dependency-Track in one command”
bash
thothctl inventory iac --check-versions \
--publish-sbom dependency-track
!!! success “Publish SBOM to DefectDojo in one command”
bash
thothctl inventory iac --check-versions \
--publish-sbom defectdojo
--provider kiro to leverage Kiro’s headless mode as a generation engine with full tool access (file reading, doc search, web search, Terraform registry lookup)--publish-sbom dependency-track publishes CycloneDX SBOM directly to OWASP Dependency-Track after inventory generation (auto-creates project, supports parent hierarchy)--publish-sbom defectdojo publishes CycloneDX SBOM to OWASP DefectDojo (auto-creates product/engagement, deduplicates findings, Token auth)thothctl scan iac --publish-to defectdojo publishes Checkov, Trivy, KICS, and OPA findings directly to DefectDojo with native parsers--publish-sbom secobserve for license tracking + --publish-to secobserve for scan findings via SARIF (supports all scanners including OPA/Conftest)--model <agent-name> to invoke a specialized .kiro/agents/<name>.yaml for IaC generation tasksdocument iac now generates correct scoped graphs for leaf terragrunt stacks (not the full layer graph)Why Kiro as a provider? Unlike raw LLM API calls where the model only sees the prompt, Kiro has tool access — it can read your project structure, look up Terraform docs, and validate its own output. This produces significantly better results for complex multi-resource generation tasks.
The v0.27 series completes Phase 1: Intent-to-IaC Generation with plan validation, blueprint/project modes, and MCP exposure.
!!! success “Generate governed IaC from natural language”
bash
thothctl generate iac \
-i "VPC with 3 private subnets, NAT gateway, and flow logs" \
-p ollama --mode project --space prod --apply
terragrunt plan with self-correction loops--mode blueprint for IDP/Backstage templates, --mode project for ready-to-deploy outputgenerate iac available as MCP tool for AI assistants (26 tools total)Multi-stack generation grounded in organizational scaffolds.
!!! example “One intent → multiple stacks”
bash
thothctl generate iac \
-i "EKS cluster with VPC, RDS PostgreSQL, and S3 for artifacts" \
--composition multi --apply
Custom YAML pipelines and organizational policy enforcement.
!!! tip “Composable DevSecOps pipelines” ```bash # Custom workflow thothctl workflow run –file .thothcf_workflow.yaml
# Or use built-in phases
thothctl workflow devsecops --phase pre-deploy --enforcement hard
```
depends_on, conditions, and failure handling.thothcf.toml rules evaluated inside the generation loopTHOTH_ORG_POLICY env varThe workflow engine that orchestrates your entire infrastructure lifecycle.
!!! info “7-phase DevSecOps lifecycle”
bash
thothctl workflow devsecops --phase all --enforcement hard
all (full pipeline), pre-deploy (test + secure)soft (warn and continue) or hard (block on violations)pip install --upgrade thothctl
thothctl --version
ThothCTL checks for updates automatically on every invocation (cached 24h). You’ll see a notice when a newer version is available.
See CHANGELOG.md for the complete release history.