mirror of
https://github.com/inspec/inspec
synced 2024-12-26 04:53:24 +00:00
19 lines
442 B
Markdown
19 lines
442 B
Markdown
# Example InSpec Profile
|
|
|
|
This example shows the use of InSpec [profile](../../docs/profiles.rst) inheritance.
|
|
|
|
## Verify a profile
|
|
|
|
InSpec ships with built-in features to verify a profile structure.
|
|
|
|
```bash
|
|
$ inspec check examples/inheritance --profiles-path examples
|
|
```
|
|
|
|
## Execute a profile
|
|
|
|
To run a profile on a local machine use `inspec exec /path/to/profile`.
|
|
|
|
```bash
|
|
$ inspec exec examples/inheritance --profiles-path examples
|
|
```
|