Sha256: 56d73498c71f640fba6b1cec6c380b6973a0e740dc7f31ec48b6c7fd5d64f302

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

Contents

# meta-profile

The inspec.yml file in this profile shows how one can use dependencies
from non-local sources such as Git or an HTTP url. This feature can
be used to build up a environment-wide profile that is based on more
specific profiles managed by others.

InSpec supports multiple profile locations:

```
depends:
  # defaults to supermarket
  - name: hardening/ssh-hardening  
  # remote tar or zip file
  - name: os-hardening
    url: https://github.com/dev-sec/tests-os-hardening/archive/master.zip
  # git
  - git: https://github.com/dev-sec/ssl-baseline.git
  - name: windows-patch-benchmark
    git: https://github.com/chris-rock/windows-patch-benchmark.git
  # Chef Compliance
  - name: linux
    compliance: base/linux
```

You could use those dependencies in your `example.rb`:

```

include_controls 'hardening/ssh-hardening'
include_controls 'os-hardening'
include_controls 'ssl-baseline'
include_controls 'linux'
include_controls 'windows-patch-benchmark'
```

Further details are described in our [InSpec Docs](https://www.inspec.io/docs/reference/profiles/)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inspec-2.1.81 examples/meta-profile/README.md
inspec-2.1.21 examples/meta-profile/README.md
inspec-2.1.10 examples/meta-profile/README.md
inspec-2.0.32 examples/meta-profile/README.md
inspec-2.0.17 examples/meta-profile/README.md
inspec-1.51.15 examples/meta-profile/README.md