Add example of corporate profile

This won't work until the git fetcher is merged. It likely also
exhibits other problems related to platform support handling.

Signed-off-by: Steven Danna <steve@chef.io>
This commit is contained in:
Steven Danna 2016-09-09 13:07:21 +01:00 committed by Christoph Hartmann
parent df487861fe
commit d8d53b36c1
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# corporate-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.
# WARNING
This profile likely does not work yet. It exists as a target for
ongoing development work.

View file

@ -0,0 +1,8 @@
# encoding: utf-8
# copyright: 2015, The Authors
# license: All rights reserved
include_controls 'ssh-hardening'
include_controls 'os-hardening'
include_controls 'ssl-benchmark'
include_controls 'linux'
include_controls 'windows-patch-benchmark'

View file

@ -0,0 +1,19 @@
name: corporate-profile
title: InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: you@example.com
license: All Rights Reserved
summary: An InSpec Compliance Profile
version: 0.1.0
depends:
- name: ssh-hardening
supermarket: hardening/ssh-hardening
- name: os-hardening
url: https://github.com/dev-sec/tests-os-hardening/archive/master.zip
- name: ssl-benchmark
git: https://github.com/dev-sec/ssl-benchmark.git
- name: windows-patch-benchmark
git: https://github.com/chris-rock/windows-patch-benchmark.git
- name: linux
compliance: base/linux