Skip to content

Commit 40a87ca

Browse files
committed
Update golden text for TestDocsCommandTestSuite
1 parent cf8880b commit 40a87ca

File tree

1 file changed

+5
-6
lines changed
  • cmd/kosli/testdata/output/docs

1 file changed

+5
-6
lines changed

cmd/kosli/testdata/output/docs/snyk.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ By default, the `--scan-results` .json file is also uploaded to Kosli's evidence
1919
You can disable that by setting `--upload-results=false`
2020

2121

22-
The attestation can be bound to a trail using the trail name.
23-
24-
If the attestation is for an artifact, the attestation can be bound to the artifact using one of two ways:
22+
The attestation can be bound to a *trail* using the trail name.
23+
The attestation can be bound to an *artifact* in two ways:
2524
- using the artifact's SHA256 fingerprint which is calculated (based on the `--artifact-type` flag and the artifact name/path argument) or can be provided directly (with the `--fingerprint` flag).
2625
- using the artifact's name in the flow yaml template and the git commit from which the artifact is/will be created. Useful when reporting an attestation before creating/reporting the artifact.
2726

28-
You can optionally associate the attestation to a git commit using `--commit` (requires access to a git repo). And you
29-
can optionally redact some of the git commit data sent to Kosli using `--redact-commit-info`.
30-
Note that when the attestation is reported for an artifact that does not yet exist in Kosli, `--commit` becomes required to facilitate
27+
You can optionally associate the attestation to a git commit using `--commit` (requires access to a git repo).
28+
You can optionally redact some of the git commit data sent to Kosli using `--redact-commit-info`.
29+
Note that when the attestation is reported for an artifact that does not yet exist in Kosli, `--commit` is required to facilitate
3130
binding the attestation to the right artifact.
3231

3332
```shell

0 commit comments

Comments
 (0)