Git Product home page Git Product logo

inspec_install_guide's Introduction

How to Install InSpec

Instructions

First things first, we need InSpec on our workstation. For production and standalone environments, the InSpec omnibus package gives you the bare minimum of what you need. This can be manually installed from a downloaded package or installed using a handy installer script provided by Chef.

Option 1: Manual installation

This option is best when working in an air-gapped environment. Downloading the latest package files for InSpec from Chef's downloads page will allow you to transfer the installers where you need them to go, then, depending on the operating system, install them in the platform-appropriate manner.

Option 2: Automated installation

Another option is to install InSpec via a command line script, provided and maintained by Chef. This will only work if your firewall does not restrict WAN access to the following domains:

  • omnitruck.chef.io
  • packages.chef.io

Unix/Linux/Mac:

$ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -c stable -P inspec -v 3

Windows:

$ . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -channel stable -project inspec -version 3

After Install

Once InSpec is installed, run inspec version to verify that the installation was successful.

Versioning

This project uses the Semantic Versioning Policy.

See VERSIONING.md for more details.

NOTICE

© 2018 The MITRE Corporation.

Approved for Public Release; Distribution Unlimited. Case Number 18-3678.

NOTICE

MITRE hereby grants express written permission to use, reproduce, distribute, modify, and otherwise leverage this software to the extent permitted by the licensed terms provided in the LICENSE.md file included with this project.

NOTICE

This software was produced for the U. S. Government under Contract Number HHSM-500-2012-00008I, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.

No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.

For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000.

inspec_install_guide's People

Contributors

aaronlippold avatar djhaynes avatar hackershark avatar thelonelyghost avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inspec_install_guide's Issues

Providing a minimalistic InSpec install guide

More a question than anything. Why suggest the full ChefDK if only InSpec is being used from it? There is a curl-to-bash (and windows equivalent) for installing only the InSpec omnibus package, though it isn't very well documented, which I'd be happy to provide.

Net benefits of InSpec omnibus package over ChefDK:

  • Only installing exactly what is needed
  • InSpec is kept more up-to-date with the latest available version (ChefDK is notoriously behind in InSpec releases)
  • Better granularity with installing a specific version of InSpec

I was about to submit a pull request to change the docs for these reasons, but wanted to ask the question first since it might make more sense in your situation to leave it as-is.

Maintenance

Is this information still accurate?

What content is in here that isn't covered in the basic developer class? Can this repo be archived in favor of putting the contents inside of the miscellaneous resources repo?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.