Skip to content

Commit

Permalink
docs: synchronizing help from snyk/user-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Avishagp committed Jul 14, 2022
1 parent b278096 commit 81690d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion help/cli-commands/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Example: `$ snyk code test --json-file-output=vuln.json`

Return results in SARIF format.

Example: \$snyk code
Example: $snyk code

### `--sarif-file-output=<OUTPUT_FILE_PATH>`

Expand Down
2 changes: 2 additions & 0 deletions help/cli-commands/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ To fail on any vulnerability (the default behavior), do not use the `--fail-on`

Allow detection of vulnerabilities in your application dependencies from container images, as well as from the operating system, all in one single scan.

In CLI version 1.962.0 and higher, use the `--app-vulns` option with the the `--json` option to see the operating system as well as application vulnerabilities in JSON format in the results.

### `--nested-jars-depth`

When using `--app-vulns` use the `--nested-jars-depth` option to set how many levels of nested jars Snyk is to unpack. Depth must be a number.
Expand Down
4 changes: 2 additions & 2 deletions help/cli-commands/iac.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For more information see [Snyk CLI for Infrastructure as Code](https://docs.snyk
All the `snyk iac` commands are listed here with the help options:

- [iac test](iac-test.md); `iac test --help`: tests for any known security issue
- [iac describe](iac-describe.md); `iac describe--help`: detects infrastructure drift and unmanaged cloud resources\
Example: `snyk iac describe --only-unmanaged`&#x20;
- [iac update-exclude-policy](iac-update-exclude-policy.md); `iac update-exclude-policy --help`: auto-generates `.snyk` exclusions for cloud resources\
Example: `snyk iac describe --json --all | snyk iac update-exclude-policy`
- [iac describe](iac-describe.md); `iac describe --help`: detects infrastructure drift and unmanaged cloud resources\
Example: `snyk iac describe --only-unmanaged`

0 comments on commit 81690d3

Please sign in to comment.