Skip to content

Commit

Permalink
Enhancements
Browse files Browse the repository at this point in the history
Signed-off-by: Shivani Karikar <[email protected]>
  • Loading branch information
karikarshivani authored Dec 2, 2024
1 parent f7b7900 commit 41c8c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/courses/user/07.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ This profile uses InSpec Inputs to make the tests more flexible. You can provide
**DO** create a separate file (often named `inputs.yml`) or pass values via the command line to overwrite default values to tailor the profile.
:::

The `inputs` configured in the `inspec.yml` file are **profile definitions and defaults for the profile** and not for the user. Automated InSpec scans are frequently run from a script, inside a pipeline, or some kind of task scheduler where the runner will often not have access to the `inspec.yml`. However, those scripts or pipelines can easily pass an inputs file or command line arguments to modify the default values defined in the `inspec.yml` file.
The `inputs` configured in the `inspec.yml` file are **profile definitions and defaults for the profile** and not for tailoring. Automated InSpec scans are frequently run from a script, inside a pipeline, or some kind of task scheduler where the runner will often not have access to the `inspec.yml`. However, those scripts or pipelines can easily pass an inputs file or command line arguments to modify the default values defined in the `inspec.yml` file.

To tailor the tested values for your deployment or organizationally defined values, **_you may update the inputs_**.

More information about InSpec inputs can be found in the [InSpec Inputs Documentation](https://docs.chef.io/inspec/inputs/).

## 7.2 Use an --input-file to tailor an InSpec profile
## 7.2 Use an `--input-file` to tailor an InSpec profile

For the NGINX example, we are going to add the following inputs. Make a new file called `inputs.yml` in your lab environment:

Expand Down

0 comments on commit 41c8c18

Please sign in to comment.