inspec/lib/plugins/inspec-init
Stuart Paterson f64da78edb Adding inspec init profile for GCP. (#3484)
* Adding inspec init profile for GCP.
* Adding final newline, thanks rubocop.
* Ensure README headings are at the same level.
* Move OS-specific default profile to new location
* Enforce os-platform restriction on default profile template
* Use profile templates in subdirs.
* Updates to address PR feedback after rebasing from #3491.
* Alter test setup to properly use YAML

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-10-25 14:16:31 -04:00
..
lib Adding inspec init profile for GCP. (#3484) 2018-10-25 14:16:31 -04:00
test/functional Adding inspec init profile for GCP. (#3484) 2018-10-25 14:16:31 -04:00
README.md Move inspec init to v2 plugins (#3407) 2018-09-18 15:54:33 -04:00

InSpec Extension to create new profiles

This extensions helps you to easily create a new profile

Usage

$ inspec init profile examples/new-profile
Create new profile at /Users/chartmann/Development/compliance/inspec/examples/new-profile
  * Create directory controls
  * Create file controls/example.rb
  * Create file inspec.yml
  * Create directory libraries
  * Create file README.md
  * Create file libraries/.gitkeep

$ inspec check examples/new-profile
Summary
-------
Location: examples/new-profile
Profile: examples/new-profile
Controls: 2
Timestamp: 2016-05-06T14:39:47+02:00
Valid: true

Errors
------

Warnings
--------