mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
7e569669aa
This commit is the foundation of the dependency resolution as described in https://github.com/chef/inspec/issues/888 . It currently only works with local dependencies, as seen in the example inheritance profile. Tests and full resolution are coming next on the path to an MVP implementation. |
||
---|---|---|
.. | ||
controls | ||
inspec.yml | ||
README.md |
Example InSpec Profile
This example shows the use of InSpec profile inheritance.
Verify a profile
InSpec ships with built-in features to verify a profile structure.
$ inspec check examples/inheritance --profiles-path examples
Execute a profile
To run a profile on a local machine use inspec exec /path/to/profile
.
$ inspec exec examples/inheritance --profiles-path examples