Skip to content

Commit 8e62179

Browse files
committed
Update golden snyk.md used in docs page test
1 parent 5d67599 commit 8e62179

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • cmd/kosli/testdata/output/docs

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ summary: "Report a snyk attestation to an artifact or a trail in a Kosli flow.
99

1010
## Synopsis
1111

12+
```shell
13+
snyk [IMAGE-NAME | FILE-PATH | DIR-PATH] [flags]
14+
```
15+
1216
Report a snyk attestation to an artifact or a trail in a Kosli flow.
1317
Only SARIF snyk output is accepted.
1418
Snyk output can be for "snyk code test", "snyk container test", or "snyk iac test".
@@ -29,10 +33,6 @@ You can optionally redact some of the git commit data sent to Kosli using `--red
2933
Note that when the attestation is reported for an artifact that does not yet exist in Kosli, `--commit` is required to facilitate
3034
binding the attestation to the right artifact.
3135

32-
```shell
33-
snyk [IMAGE-NAME | FILE-PATH | DIR-PATH] [flags]
34-
```
35-
3636
## Flags
3737
| Flag | Description |
3838
| :--- | :--- |
@@ -62,7 +62,7 @@ snyk [IMAGE-NAME | FILE-PATH | DIR-PATH] [flags]
6262

6363
## Examples Use Cases
6464

65-
These examples all assume that the flags `--api-token`, `--org`, `--host`, (and `--flow`, `--trail` when required), are set/provided.
65+
These examples all assume that the flags `--api-token`, `--org`, `--host`, (and `--flow`, `--trail` when required), are [set/provided](https://docs.kosli.com/getting_started/install/#assigning-flags-via-environment-variables).
6666

6767
**report a snyk attestation about a pre-built docker artifact (kosli calculates the fingerprint)**
6868

0 commit comments

Comments
 (0)