Skip to content

Commit

Permalink
docs(getting-started): mention the slsa attestor in getting started
Browse files Browse the repository at this point in the history
The Provenance being the very first requirement from SLSA, it seems quite
appropriate to mention how Witness helps achieve this easily.

Signed-off-by: Rémi REY <[email protected]>
  • Loading branch information
rrey committed May 24, 2024
1 parent 05e6821 commit c986cb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/tutorials/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,16 @@ verify:
><span class="tip-text">💡 Tip: You can upload the recorded attestations to an [Archivista](https://github.com/in-toto/archivista) server by using the `--enable-archivista` flag!</span>
- The `-a {attestor}` flag allows you to define which attestors run
- ex. `-a maven -a gcp -a gitlab` would be used for a maven build running on a GitLab runner on GCP.
- Witness has a set of attestors that are always run. You can see them in the output of the `witness attestors list` command.
- Defining step names is important, these will be used in the policy.
- This should happen as a part of a CI step

```
witness run --step build -o test-att.json -- go build -o=testapp .
witness run --step build -o test-att.json -a slsa -- go build -o=testapp .
```

><span class="tip-text">💡 Tip: The `-a slsa` option allows to generate the [SLSA Provenace](https://slsa.dev/spec/v1.0/provenance) predicate in the attestation. This is a mandatory requirement for SLSA 1</span>
### 4. View the attestation data in the signed DSSE Envelope

- This data can be stored and retrieved from Archivista
Expand Down

0 comments on commit c986cb7

Please sign in to comment.