Skip to content

Commit

Permalink
fix a spacing issue and a couple of typos
Browse files Browse the repository at this point in the history
Signed-off-by: Emily Rodriguez <[email protected]>
  • Loading branch information
em-c-rod committed Nov 16, 2023
1 parent 0f6c292 commit 82d1a0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions courses/advanced/11.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This tool was installed alongside InSpec when you ran the `./build-lab.sh` scrip

#### SAF CLI Capabilities

The SAF CLI has more commands then we can comfortably explain in this class. Some are listed in this diagram, but you can see all of them on the [SAF CLI documentation](https://saf-cli.mitre.org/).
Some SAF CLI capabilities are listed in this diagram, but you can see all of them on the [SAF CLI documentation](https://saf-cli.mitre.org/).

In addition to the documentation site, you can view the SAF CLI's capabilities by running:

Expand Down Expand Up @@ -90,7 +90,7 @@ Let's add two steps to our pipeline to use the SAF CLI to understand our InSpec
- name: VERIFY - Ensure the scan meets our results threshold
uses: mitre/saf_action@v1 # check if the pipeline passes our defined threshold
with:
command_string: "validate threshold -i results/pipeline_run.json -F threshold.yml"
command_string: "validate threshold -i results/pipeline_run.json -F threshold.yml"
```
@tab `pipeline.yml` after adding verify steps
``` yaml
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
with:
path: results/pipeline_run.json
- name: VERIFY - Display our results summary
- name: VERIFY - Display our results summary
uses: mitre/saf_action@v1
with:
command_string: "view summary -i results/pipeline_run.json"
Expand Down Expand Up @@ -205,7 +205,7 @@ error:
max: 0
```

::: note How could we change this threshold file to ensure that out pipeline run will fail?
::: note How could we change this threshold file to ensure that the pipeline run will fail?
:::

And with that, we have a complete pipeline file. Let's commit our changes and see what happens.
Expand Down

0 comments on commit 82d1a0a

Please sign in to comment.