CheckOps
Chef InSpec
Chef InSpec is an auditing and testing framework with a Ruby-based DSL for checking that servers, containers and cloud resources meet compliance and security requirements.
- Open source
- Free
- Iac Testing
- Compliance
- Ruby
- Integration testing
- Security testing
- Production monitoring & observability
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Chef InSpec is an open-source framework for testing and auditing applications and infrastructure. Tests are written as human-readable controls in a Ruby-based DSL, such as describe port(443) do it { should be_listening } end, and can run locally, over SSH or WinRM, inside Docker containers, or against cloud APIs.
Controls are grouped into profiles that carry metadata like impact and references to compliance standards, and community profiles exist for CIS benchmarks and other baselines. Resource packs extend InSpec to AWS, Azure and Google Cloud so the same style of control can check a security group or a storage bucket.
The source code is Apache-2.0, while Progress Chef distributes official builds under its own licence terms, so check which you are installing. In the quality loop InSpec works as a verifier in Test Kitchen, as a post-deploy check, and as a continuous compliance scan in production.
The source code is at inspec/inspec on GitHub under the Apache-2.0 licence, with about 3,100 stars; the most recent commit was on 10 November 2026.
Features
- Readable controls: describe blocks with matchers for files, ports, packages, services and more.
- Remote targets: SSH, WinRM, Docker and cloud API targets.
- Profiles: Package and share controls with metadata and dependencies.
- Cloud resources: AWS, Azure and GCP resource packs.
- Reporters: CLI, JSON, JUnit and HTML output.
- Waivers: Document accepted exceptions.
Pros
- Compliance-friendly: Controls map cleanly to audit requirements.
- Free to use: Open source under the Apache-2.0 licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 10 November 2026.
- Community: About 3,100 GitHub stars.
Cons
- Licensing nuance: Official Chef builds have commercial terms separate from the open-source code.
- Ruby ecosystem: Ruby tooling is needed to extend it.
- Slower than unit tests: Runs against real systems.
Usage and Links (Example)
control 'ssh-01' do
impact 1.0
title 'SSH root login disabled'
describe sshd_config do
its('PermitRootLogin') { should eq 'no' }
end
end
inspec exec ./profile -t ssh://admin@host --reporter cli junit2:inspec.xml
Resources:
Pricing
Chef InSpec is free and open source under the Apache-2.0 licence.
Recommended for?
- Security and compliance teams auditing fleets against baselines.
- Infrastructure teams verifying servers after configuration changes.
Conclusion
InSpec turns compliance requirements into executable, reviewable tests.
Confirm the licence of the build you use, then run the same profiles in CI and in production.
On CheckOps, Chef InSpec is filed under the Integration testing, Security testing and Production monitoring & observability stages. Related tools listed here include Terratest, Test Kitchen, Molecule, Goss, terraform-compliance and Container Structure Test. Which one fits best depends mostly on your stack, your team’s size and skills, and whether you prefer to run tools yourself or pay for a managed service. This page reflects the official website, documentation and repository as they stood on 11 November 2026.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with Chef InSpec side by side.
TTerratestTerratest is an Apache-2.0 Go library from Gruntwork for writing automated tests that deploy real Terraform, Packer, Docker and Kubernetes infrastructure, validate it and tear it down.Compare with Chef InSpec
TTest KitchenTest Kitchen is an Apache-2.0 integration testing harness that converges infrastructure code on isolated platforms such as Docker, Vagrant and cloud VMs, then runs verifiers like InSpec.Compare with Chef InSpec
MMoleculeMolecule is an MIT Ansible-native testing framework for roles, playbooks and collections, creating test instances, converging them and running verification and idempotence checks.Compare with Chef InSpec
GGossGoss is an Apache-2.0 YAML-based tool for quick server and container validation, checking packages, files, ports, services and HTTP endpoints, with dgoss for Docker images.Compare with Chef InSpec
Tterraform-complianceterraform-compliance is an MIT, BDD-style test framework that checks Terraform plans against security and compliance rules written in Gherkin.Compare with Chef InSpec
CContainer Structure TestContainer Structure Test is an Apache-2.0 tool from Google for validating the structure of container images: commands, file contents, metadata and existence checks defined in YAML.Compare with Chef InSpec