Sha256: f63d6e75998019b0e2e30c8a493c380ad73ccb6d714263a60471bb7a67b376e5

Contents?: true

Size: 1.62 KB

Versions: 89

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 mays:

 - 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

89 entries across 89 versions & 1 rubygems

Version Path
inspec-1.51.25 lib/bundles/inspec-supermarket/README.md
inspec-2.1.0 lib/bundles/inspec-supermarket/README.md
inspec-2.0.45 lib/bundles/inspec-supermarket/README.md
inspec-2.0.16 lib/bundles/inspec-supermarket/README.md
inspec-1.51.21 lib/bundles/inspec-supermarket/README.md
inspec-1.51.18 lib/bundles/inspec-supermarket/README.md
inspec-1.51.6 lib/bundles/inspec-supermarket/README.md
inspec-1.51.0 lib/bundles/inspec-supermarket/README.md
inspec-1.50.1 lib/bundles/inspec-supermarket/README.md
inspec-1.49.2 lib/bundles/inspec-supermarket/README.md
inspec-1.48.0 lib/bundles/inspec-supermarket/README.md
inspec-1.47.0 lib/bundles/inspec-supermarket/README.md
inspec-1.46.2 lib/bundles/inspec-supermarket/README.md
inspec-1.45.13 lib/bundles/inspec-supermarket/README.md
inspec-1.45.9 lib/bundles/inspec-supermarket/README.md
inspec-1.44.8 lib/bundles/inspec-supermarket/README.md
inspec-1.43.8 lib/bundles/inspec-supermarket/README.md
inspec-1.43.5 lib/bundles/inspec-supermarket/README.md
inspec-1.42.3 lib/bundles/inspec-supermarket/README.md
inspec-1.41.0 lib/bundles/inspec-supermarket/README.md