snyk 1.911.0 → 1.912.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,10 +51,14 @@ For more information see the article [How to select the organization to use in t
51
51
 
52
52
  Print results in JSON format.
53
53
 
54
+ Example: `$ snyk code test --json`
55
+
54
56
  ### `--sarif`
55
57
 
56
58
  Return results in SARIF format.
57
59
 
60
+ Example: `$ snyk code`
61
+
58
62
  ### `--severity-threshold=<low|medium|high|critical>`
59
63
 
60
64
  Report only vulnerabilities at the specified level or higher. Note that the Snyk Code configuration issues do not currently use the `critical` severity level.
@@ -75,7 +75,7 @@ Manually pass a path to a `.snyk` policy file.
75
75
 
76
76
  Print results in JSON format, useful for integrating with other tools
77
77
 
78
- Example: `$ snyk container test --json-file-output=vuln.json`
78
+ Example: `$ snyk container test --json`
79
79
 
80
80
  ### `--json-file-output=<OUTPUT_FILE_PATH>`
81
81
 
@@ -83,6 +83,8 @@ Save test output in JSON format directly to the specified file, regardless of wh
83
83
 
84
84
  This is especially useful if you want to display the human-readable test output using stdout and at the same time save the JSON format output to a file.
85
85
 
86
+ Example: `$ snyk container test --json-file-output=vuln.json`
87
+
86
88
  ### `--sarif`
87
89
 
88
90
  Return results in SARIF format. Note this requires the test to be run with `--file` as well.
@@ -33,11 +33,11 @@ Use the `-d` option to output the debug logs.
33
33
 
34
34
  ### `--detection-depth=<DEPTH>`
35
35
 
36
- Use to indicate how many subdirectories to search. `DEPTH` must be a number, 0 or greater, where 0 is the current directory.
36
+ Use to indicate how many subdirectories to search. `DEPTH` must be a number, 1 or greater; zero (0) is the current directory.
37
37
 
38
38
  Default: no limit.
39
39
 
40
- Example: `--detection-depth=3` limits search to the specified directory (or the current directory if no `<PATH>` is specified) plus three levels of subdirectories.
40
+ Example: `--detection-depth=3` limits search to the specified directory (or the current directory if no `<PATH>` is specified) plus three levels of subdirectories; zero (0) is the current directory.
41
41
 
42
42
  ### `--org=<ORG_ID>`
43
43
 
@@ -65,7 +65,7 @@ Manually pass a path to a `.snyk` policy file.
65
65
 
66
66
  Print results in JSON format.
67
67
 
68
- Example: `$ snyk iac test --json-file-output=vuln.json`
68
+ Example: `$ snyk iac test --json`
69
69
 
70
70
  ### `--json-file-output=<OUTPUT_FILE_PATH>`
71
71
 
@@ -73,6 +73,8 @@ Save test output in JSON format directly to the specified file, regardless of wh
73
73
 
74
74
  This is especially useful if you want to display the human-readable test output using stdout and at the same time save the JSON format output to a file.
75
75
 
76
+ Example: `$ snyk iac test --json-file-output=vuln.json`
77
+
76
78
  ### `--sarif`
77
79
 
78
80
  Return results in SARIF format.
@@ -36,12 +36,11 @@ For more information see the article [Does the Snyk CLI support monorepos or mul
36
36
 
37
37
  ### `--detection-depth=<DEPTH>`
38
38
 
39
- Use with `--all-projects` or `--yarn-workspaces` to indicate how many subdirectories to search. `DEPTH` must be a number, 0 or greater, where 0 is the current directory.
39
+ Use with `--all-projects` or `--yarn-workspaces` to indicate how many subdirectories to search. `DEPTH` must be a number, `1` or greater; zero (0) is the current directory.
40
40
 
41
- Default: 4 (the current working directory (0) and 4 subdirectories).
41
+ Default: 4, the current working directory (0) and 4 subdirectories.
42
42
 
43
- Example: Limit search to the specified directory (or the current directory if no `<PATH>` is specified), zero (0) plus three levels of subdirectories.\
44
- `--detection-depth=3`
43
+ Example: `--detection-depth=3` limits search to the specified directory (or the current directory if no `<PATH>` is specified) plus three levels of subdirectories; zero (0) is the current directory.
45
44
 
46
45
  ### `--exclude=<GLOB>[,<GLOB>]...>`
47
46
 
@@ -37,12 +37,11 @@ For more information see the article [Does the Snyk CLI support monorepos or mul
37
37
 
38
38
  ### `--detection-depth=<DEPTH>`
39
39
 
40
- Use with `--all-projects` or `--yarn-workspaces` to indicate how many subdirectories to search. `DEPTH` must be a number, 0 or greater, where 0 is the current directory.
40
+ Use with `--all-projects` or `--yarn-workspaces` to indicate how many subdirectories to search. `DEPTH` must be a number, 1 or greater; zero (0) is the current directory.
41
41
 
42
- Default: 4 (the current working directory (0) and 4 subdirectories).
42
+ Default: 4 , the current working directory (0) and 4 subdirectories.
43
43
 
44
- Example: Limit search to the specified directory (or the current directory if no `<PATH>` is specified), zero plus three levels of subdirectories.\
45
- `--detection-depth=3`
44
+ Example: `--detection-depth=3` limits search to the specified directory (or the current directory if no `<PATH>` is specified) plus three levels of subdirectories; zero (0) is the current directory.
46
45
 
47
46
  ### `--exclude=<GLOB>[,<GLOB>]...>`
48
47
 
@@ -142,7 +141,7 @@ Manually pass a path to a `.snyk` policy file.
142
141
 
143
142
  Print results in JSON format.
144
143
 
145
- Example: `$ snyk test --json-file-output=vuln.json`
144
+ Example: `$ snyk test --json`
146
145
 
147
146
  ### `--json-file-output=<OUTPUT_FILE_PATH>`
148
147
 
@@ -150,6 +149,8 @@ Save test output in JSON format directly to the specified file, regardless of wh
150
149
 
151
150
  This is especially useful if you want to display the human-readable test output using stdout and at the same time save the JSON format output to a file.
152
151
 
152
+ Example: `$ snyk test --json-file-output=vuln.json`
153
+
153
154
  ### `--sarif`
154
155
 
155
156
  Return results in SARIF format.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snyk",
3
- "version": "1.911.0",
3
+ "version": "1.912.0",
4
4
  "description": "snyk library and cli utility",
5
5
  "files": [
6
6
  "help/cli-commands",