{"id":79817,"library":"inspec","title":"InSpec","description":"InSpec provides a framework for creating end-to-end infrastructure tests, integration tests, and compliance testing.","status":"active","version":"7.1.7","language":"ruby","source_language":null,"source_url":"https://github.com/inspec/inspec","tags":["infrastructure","testing","compliance","security"],"install":[{"cmd":"gem install inspec","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'inspec', '~> 7.1.7'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Inspec","correct":"require 'inspec'"}],"quickstart":{"code":"require 'inspec'\n\n# Run a simple control\ncontrol 'example-1' do\n  impact 0.7\n  title 'Check SSH port'\n  desc 'An optional description...'\n  describe port(22) do\n    it { should be_listening }\n  end\nend","lang":"ruby","description":"Define and run an infrastructure compliance control."},"warnings":[{"fix":"Upgrade Ruby to 3.0 or later, or use an older InSpec version.","message":"InSpec 7.x requires Ruby 3.0+","severity":"breaking","affected_versions":">= 7.0.0"}],"env_vars":null,"search_vec":"'complianc':17,21 'creat':7 'end':9,11 'end-to-end':8 'framework':5 'infrastructur':12,19 'inspec':1,2 'integr':14 'provid':3 'secur':22 'test':13,15,18,20","created_at":"2026-06-18T05:03:16.444128+00:00","updated_at":"2026-06-18T05:03:16.444128+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/inspec/inspec","github":"https://github.com/inspec/inspec","docs":"http://www.rubydoc.info/gems/inspec/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}