Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inspec-containerd-docs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inspec-containerd-docs

  • 0.1.6
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

inspec-containerd-docs

InSpec plugin to retrieve Test Kitchen data as inputs.

Use Case

In some cases you want to get info about the Test Kitchen environment that your InSpec verifier is running in. This plugin offers some insight into instance name, platform name and suite name.

Installation

Simply execute inspec plugin install inspec-containerd-docs, which will get the plugin from RubyGems and install/register it with InSpec.

You can verify successful installation via inspec plugin list

Usage

You have three input names available:

  • KITCHEN_INSTANCE_NAME ('default-amazon2')
  • KITCHEN_SUITE_NAME ('default')
  • KITCHEN_PLATFORM_NAME ('amazon2')

Use them in your InSpec tests like this:

instance_name = input('KITCHEN_INSTANCE_NAME')

describe file("/etc/#{instance_name}") do
  it { should exist }
end

FAQs

Package last updated on 18 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc