Skip to content

Commit 0b6743c

Browse files
github-actions[bot]Avishagp
and
Avishagp
authored
docs: synchronizing help from snyk/user-docs (#4969)
Co-authored-by: Avishagp <[email protected]>
1 parent b2ab4c0 commit 0b6743c

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

help/cli-commands/container-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Possible exit codes and their meaning:
1616

1717
**0**: success (scan completed), no vulnerabilities found\
1818
**1**: action_needed (scan completed), vulnerabilities found\
19-
**2**: failure, try to re-run command\
19+
**2**: failure, try to re-run command. Use `-d` to output the debug logs.\
2020
**3**: failure, no supported projects detected
2121

2222
## Configure the Snyk CLI
@@ -96,7 +96,7 @@ Report only vulnerabilities at the specified level or higher.
9696
Fail only when there are vulnerabilities that can be fixed.
9797

9898
- `all`: fail when there is at least one vulnerability that can be either upgraded or patched.
99-
- `upgradable`: fail when there is at least one vulnerability that can be upgraded.
99+
- `upgradable`: fail when there is at least one vulnerability for which Snyk has a computed remediation available.
100100

101101
To fail on any Snyk discoverable vulnerability (the default behavior), do not use the `--fail-on` option. If vulnerabilities do not have a Snyk-computed fix and this option is being used, tests pass.
102102

help/cli-commands/iac-describe.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ Use filter rules.
113113

114114
Filter rules allow you to build a JMESPath expression to include or exclude a set of resources from the report.
115115

116-
To filter on resource attributes, deep mode must be enabled. Deep mode is enabled by default for `--all` and `--only-managed`. To enable deep mode while using `--only-unmanaged`, use the `--deep` option.
117-
118116
For more information, see [Filter results](https://docs.snyk.io/products/snyk-infrastructure-as-code/detect-drift-and-manually-created-resources/filter-results)
119117

120118
### `--strict`

help/cli-commands/test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ Report only vulnerabilities at the specified level or higher.
213213
Fail only when there are vulnerabilities that can be fixed. Use one of the values as follows:
214214

215215
- `all`: Use to fail when there is at least one vulnerability that can be either upgraded or patched.
216-
- `upgradable`: Use to fail when there is at least one vulnerability that can be upgraded.
217-
- `patchable`: Use to fail when there is at least one vulnerability that can be patched. Note that when you use patchable, the test will also fail if at least one vulnerability can be patched and other vulnerabilities found can be upgraded.
216+
- `upgradable`: Use to fail when there is at least one vulnerability for which Snyk has a computed remediation available.
217+
- `patchable`: Use to fail when there is at least one vulnerability that can be patched. Note that when you use `patchable`, the test will also fail if at least one vulnerability can be patched and other vulnerabilities found have a computed remediation available.
218218

219219
To fail on any Snyk-discoverable vulnerability (the default behavior), do not use the `--fail-on` option. If vulnerabilities do not have a Snyk-computed fix and this option is being used, tests pass.
220220

0 commit comments

Comments
 (0)