Skip to content

Commit

Permalink
removed unneeded breaks from files and minor formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Lippold <[email protected]>
  • Loading branch information
aaronlippold committed Dec 5, 2024
1 parent 103c4bb commit 44d4618
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/courses/delta/02.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ author: Daniel Medina, George Dias

To conduct the delta process, the following items are needed:

1. An InSpec profile
1. An InSpec profile:
a. Clone or download an existing profile from a repository source to your local environment.
b. See [What is an InSpec Profile](../beginner/02.md#what-is-an-inspec-profile) for additional information.
2. A guidance file (XCCDF)
2. A guidance file (XCCDF):
a. Download either a DISA STIG or a CIS Benchmark from the appropriate site.

::: note Using Generated Profile Stubs
Expand Down
3 changes: 0 additions & 3 deletions src/courses/delta/03.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,13 @@ The `delta` process extends the capabilities of the `update_controls4delta` proc
b - For controls which a match is found, the describe block (code) within the old control is mapped over to the new control
3. Detailed logging
a - report file (.md), mapping statistics (CliProcessOutput.log)
<br>

You can invoke the command as such:

```sh
saf generate delta -X ./baseline_Y_xccdf_guidance_file.xml -J baseline_X_summary.json -o new_baseline_Y_controls_directory -M -c baseline_X_controls_directory
```

<br>

::: tip Optional Fuzzy Matching Flags
The `-M` and `-c` flags can be removed if not using fuzzy matching feature.
:::
Expand Down
2 changes: 0 additions & 2 deletions src/courses/delta/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ The current available commands for testing are:
bundle exec rake pre_commit_checks # Ensure the controls are ready to be committed into the repo
```

<br>

:::note Profile Controls Formatting
In the past, `cookstyle` format was used. However, support for `cookstyle` formatted profiles is limited and is geared more towards Chef cookbooks. Profile controls are written in ruby code, hence `rubocop` is preferred.
:::

0 comments on commit 44d4618

Please sign in to comment.