inspec/examples/profile
Adam Leff a6582bea9b Remove any "All Rights Reserved" references (#1969)
* Remove any "All Rights Reserved" references

InSpec is licensed and released under the Apache 2.0 license. This
change removes all reference to legacy code files that still had
any Copyright or License lines referring to "All Rights Reserved".

Signed-off-by: Adam Leff <adam@leff.co>

* fix functional tests

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-06-28 04:14:19 -07:00
..
controls Remove any "All Rights Reserved" references (#1969) 2017-06-28 04:14:19 -07:00
libraries extended gordon_config with more examples 2016-04-04 14:03:26 +01:00
inspec.yml verifies that inspec.yml uses licenses in SPDX format 2017-05-31 00:21:05 -05:00
README.md Fix broken link in README.md 2016-10-20 12:42:15 -04:00

Example InSpec Profile

This example shows the implementation of an InSpec profile.

Verify a profile

InSpec ships with built-in features to verify a profile structure.

$ inspec check examples/profile
Summary
-------
Location: examples/profile
Profile: profile
Controls: 4
Timestamp: 2016-03-24T16:20:21+00:00
Valid: true

Errors
------

Warnings
--------

Execute a profile

To run all supported controls on a local machine use inspec exec /path/to/profile.

$ inspec exec examples/profile
..

Finished in 0.0025 seconds (files took 0.12449 seconds to load)
8 examples, 0 failures

Execute a specific control from a profile

To run one control from the profile use inspec exec /path/to/profile --controls name.

$ inspec exec examples/profile --controls tmp-1.0
.

Finished in 0.0025 seconds (files took 0.12449 seconds to load)
1 examples, 0 failures