Powerpipe
$ powerpipe Official Low RiskPowerpipe (powerpipe) executes HCL-defined compliance benchmarks and dashboards against Steampipe, PostgreSQL, DuckDB, or SQLite data sources. Its benchmark run and query run commands support --output json, --progress=false, --input=false, and --dry-run for clean, deterministic agent compliance checks.
brew install turbot/tap/powerpipe Running powerpipe benchmark run --output json --progress=false evaluates dozens of CIS/SOC 2 SQL controls in one structured payload instead of dozens of MCP queries.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
First-class --output json, --progress=false, --input=false, --dry-run, and --export flags built for headless CI/agent pipelines.
--output json+--progress=false --input=falseprevents spinners and prompts- Supports
--dry-runand multi-format--export
Read-only SQL/HCL benchmark evaluator; mod install writes local mod files and pulls from GitHub/registry.
- Read-only benchmark queries;
--dry-runpreviews controls safely
Single Go binary via brew install turbot/tap/powerpipe, though cloud benchmarks require a companion Steampipe or Postgres data source.
- Single binary install, external Steampipe/DB dependency for cloud queries
Rich library of CIS, NIST, PCI, HIPAA, and SOC 2 benchmarks as code across AWS, GCP, Azure, and Kubernetes.
- Pre-built compliance-as-code mods and snapshot exports
Official Turbot (turbot/powerpipe) project actively maintained under AGPL-3.0.
- Active releases from Turbot
Clean official documentation at powerpipe.io/docs with full CLI flag reference.
- Official docs at powerpipe.io/docs
Security, Auth & Guardrails
Reads database connection strings and Turbot Pipes credentials from ~/.powerpipe/ or POWERPIPE_DATABASE / PIPES_TOKEN env vars.
CLI and official compliance mods are free (AGPL-3.0); optional Turbot Pipes cloud workspace has free and paid tiers.
# Powerpipe Agent Rules - Always pass `--output json --progress=false --input=false` on `powerpipe benchmark run` and `powerpipe query run`. - Use `--dry-run` before running large compliance suites to confirm target controls. - Verify Steampipe or the target `--database` connection is running before executing benchmarks.
Agent-Ready Command Recipes
Safe Read-Only Queries
powerpipe benchmark run aws_compliance.benchmark.cis_v300 --output json --progress=false --input=false
Runs the CIS v3.0.0 benchmark non-interactively (--input=false, --progress=false) and outputs JSON to stdout.
powerpipe benchmark run aws_compliance.benchmark.cis_v300 --dry-run
Lists the controls that would execute without querying the underlying database.
Controlled Writes & Previews
powerpipe mod install github.com/turbot/steampipe-mod-aws-compliance
Downloads the compliance mod definition into powerpipe.mod and .powerpipe/ in the current directory.
Strengths for Agents
- + Purpose-built headless flags:
--output json,--progress=false,--input=false, and--dry-run. - + Comprehensive CIS, NIST, PCI, and SOC 2 compliance benchmarks as code.
Caveats & Pitfalls
- ! Requires a running Steampipe, PostgreSQL, DuckDB, or SQLite source plus
powerpipe mod installsetup. - ! AGPL-3.0 license may require review for embedded commercial redistribution.