Registry / testing / inspec

inspec

JSON →
library7.1.7rbrubygemsunverified

InSpec provides a framework for creating end-to-end infrastructure tests, integration tests, and compliance testing.

gem install inspec
INSTALL
IMPORT
SIG · INSPEC
I
inspec
testingrubyv7.1.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Inspec
require 'inspec'

Define and run an infrastructure compliance control.

require 'inspec' # Run a simple control control 'example-1' do impact 0.7 title 'Check SSH port' desc 'An optional description...' describe port(22) do it { should be_listening } end end
Debug
Known issues
breakingInSpec 7.x requires Ruby 3.0+
fix
Upgrade Ruby to 3.0 or later, or use an older InSpec version.
affects: >= 7.0.0
Upgrade
Version history
7.1.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
inspec — gem install inspec · libregistry