Sha256: 78a6724d1a1dcd5196a8a62043159ac8460f3299902c2147fad1791313063037

Contents?: true

Size: 1.62 KB

Versions: 199

Compression:

Stored size: 1.62 KB

Contents

# InSpec Extension for Chef Supermarket

To use the CLI, this InSpec add-on adds the following commands:

 * `$ inspec supermarket configure` - configures the supermarket server
 * `$ inspec supermarket search` - searches for a compliance profile on supermarket
 * `$ inspec supermarket exec nathenharvey/tmp-compliance-profile` - extends execute to load the profile

 Compliance profiles from Supermarket can be executed in two ways:

 - via supermarket exec: `inspec supermarket exec nathenharvey/tmp-compliance-profile`
 - via supermarket scheme: `inspec exec supermarket://nathenharvey/tmp-compliance-profile`

## Usage

```
$ inspec supermarket
Commands:
  inspec supermarket exec PROFILE    # execute a Supermarket profile
  inspec supermarket help [COMMAND]  # Describe subcommands or one specific subcommand
  inspec supermarket info PROFILE    # display Supermarket profile details
  inspec supermarket profiles        # list all available profiles in Chef Supermarket

$ inspec supermarket profiles
Available profiles:
-------------------
 * nathenharvey/tmp-compliance-profile
 * hardening/os-hardening
 * hardening/ssh-hardening

$ inspec supermarket info hardening/os-hardening
name:   os-hardening
owner:  hardening
url:    https://github.com/dev-sec/tests-os-hardening

description:   Base Linux Compliance profile, used for Security + DevOps. More Information is available at http://dev-sec.io/

$ inspec exec supermarket://hardening/os-hardening
........F.F.................F......FFF.....FFFF.F........FF....FFFFFFF...FF.FFFFFF.FFFFFFFFFFF.F...

...

Finished in 3.81 seconds (files took 5.69 seconds to load)
99 examples, 40 failures
```

Version data entries

199 entries across 199 versions & 2 rubygems

Version Path
inspec-core-4.50.3 lib/bundles/inspec-supermarket/README.md
inspec-core-4.49.0 lib/bundles/inspec-supermarket/README.md
inspec-core-4.46.13 lib/bundles/inspec-supermarket/README.md
inspec-core-4.41.20 lib/bundles/inspec-supermarket/README.md
inspec-core-4.41.2 lib/bundles/inspec-supermarket/README.md
inspec-core-4.38.9 lib/bundles/inspec-supermarket/README.md
inspec-core-4.38.3 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.30 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.25 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.23 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.20 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.17 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.8 lib/bundles/inspec-supermarket/README.md
inspec-core-4.37.0 lib/bundles/inspec-supermarket/README.md
inspec-core-4.36.4 lib/bundles/inspec-supermarket/README.md
inspec-core-4.33.1 lib/bundles/inspec-supermarket/README.md
inspec-core-4.32.0 lib/bundles/inspec-supermarket/README.md
inspec-core-4.31.1 lib/bundles/inspec-supermarket/README.md
inspec-core-4.31.0 lib/bundles/inspec-supermarket/README.md
inspec-core-4.29.3 lib/bundles/inspec-supermarket/README.md