Comparing version 1.1150.0 to 1.1151.0
@@ -32,3 +32,3 @@ # Code test | ||
## Options for the code test subcommand | ||
## Options | ||
@@ -51,2 +51,16 @@ ### `--org=<ORG_ID>` | ||
### `--report` | ||
**NEW** option: Share results with the Snyk Web UI. | ||
**Feature availability**: This feature is currently in Closed Beta. To obtain access, contact your Snyk account representative. | ||
This creates a project in your Snyk account with a snapshot of the current configuration issues or appends the snapshot to an existing project. | ||
After using this option, log in to the Snyk website and view your projects to see the snapshot. | ||
Example: `$ snyk code test --report` --project-name="PROJECT_NAME" | ||
For more information see [Publishing CLI results to a Snyk Project](https://docs.snyk.io/scan-application-code/snyk-code/cli-for-snyk-code/publishing-cli-results-to-a-snyk-project-and-ignoring-cli-results#publishing-cli-results-to-a-snyk-project) | ||
### `--json` | ||
@@ -53,0 +67,0 @@ |
@@ -127,3 +127,3 @@ # Container monitor | ||
When `app-vulns` is enabled, use the `--nested-jars-depth` option to set how many levels of nested jars Snyk is to unpack. Depth must be a number. | ||
When `app-vulns` is enabled, use the `--nested-jars-depth=n` option to set how many levels of nested jars Snyk is to unpack. Depth must be a number. | ||
@@ -130,0 +130,0 @@ ### `--exclude-base-image-vulns` |
@@ -119,7 +119,7 @@ # Container test | ||
For more information see [Detecting application vulnerabilities in container images](https://docs.snyk.io/products/snyk-container/getting-around-the-snyk-container-ui/detecting-application-vulnerabilities-in-container-images) | ||
For more information, see [Detecting application vulnerabilities in container images](https://docs.snyk.io/products/snyk-container/getting-around-the-snyk-container-ui/detecting-application-vulnerabilities-in-container-images) | ||
### `--nested-jars-depth` | ||
When `app-vulns` is enabled, use the `--nested-jars-depth` option to set how many levels of nested jars Snyk is to unpack. Depth must be a number. | ||
When `app-vulns` is enabled, use the `--nested-jars-depth=n` option to set how many levels of nested jars Snyk is to unpack. Depth must be a number. | ||
@@ -160,2 +160,6 @@ ### `--exclude-base-image-vulns` | ||
For more information and examples see [Advanced Snyk Container CLI usage](https://docs.snyk.io/snyk-container/snyk-cli-for-container-security/advanced-snyk-container-cli-usage) | ||
### Refer to a container image by its digest | ||
`$ snyk container test app@sha256:17cb37098f0efb819c075eea4ff2a495be909a396e86ece317a6e3a8968e025c --file=Dockerfile` | ||
For more information and examples, see [Advanced Snyk Container CLI usage](https://docs.snyk.io/snyk-container/snyk-cli-for-container-security/advanced-snyk-container-cli-usage) |
@@ -152,4 +152,6 @@ # IaC test | ||
This creates a project in your Snyk account with a snapshot of the current configuration issues. After using this option, log in to the Snyk website and view your projects to see the monitor. | ||
This creates a project in your Snyk account with a snapshot of the current configuration issues or appends the snapshot to an existing project. | ||
After using this option, log in to the Snyk website and view your projects to see the snapshot. | ||
Example: `$ snyk iac test --report` | ||
@@ -156,0 +158,0 @@ |
@@ -75,2 +75,4 @@ # Ignore | ||
**Note**: Not supported for Snyk Code. | ||
### `--policy-path=<PATH_TO_POLICY_FILE>` | ||
@@ -77,0 +79,0 @@ |
@@ -90,16 +90,6 @@ # SBOM | ||
```bash | ||
$ snyk sbom --unmanaged --format=spdx2.3+json | ||
``` | ||
`$ snyk sbom --unmanaged --format=spdx2.3+json` | ||
### Create a CycloneDX XML document for a Maven project | ||
``` | ||
$ snyk sbom --file=pom.xml --format=cyclonedx1.4+xml | ||
``` | ||
### **Create a CycloneDX JSON document and scan using bomber and Snyk** | ||
<pre class="language-bash"><code class="lang-bash"><strong>$ snyk sbom --format=cyclonedx1.4+json --file=go.mod > /tmp/sbom.cdx.json && \ | ||
</strong><strong> bomber scan --provider snyk --token $SNYK_API_TOKEN /tmp/sbom.cdx.json | ||
</strong></code></pre> | ||
`$ snyk sbom --file=pom.xml --format=cyclonedx1.4+xml` |
{ | ||
"name": "snyk", | ||
"version": "1.1150.0", | ||
"version": "1.1151.0", | ||
"description": "snyk library and cli utility", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -1,10 +0,10 @@ | ||
9359cafa0d6e25fa1856fc7dc6fa7eb1eecd4824686cdefaefb80407312f3aa0 docker-mac-signed-bundle.tar.gz | ||
2e4abbfc70197797afd2df4f7b96979d62dd80c6db42779cf0edef05b799a6e5 snyk-alpine | ||
ab48f643047cb81f956d401a3f5d802228bf0f796e4b7e91afd0d629e7468b1f snyk-fix.tgz | ||
2060b1a9a2e69381f31613f38218c6c875de64b56c5ab51bc557847160e26599 snyk-for-docker-desktop-darwin-arm64.tar.gz | ||
10f48e01470f814ea9cb3a2fe7ac84e8e00bcd38346c29c640acaa6fa106584b snyk-for-docker-desktop-darwin-x64.tar.gz | ||
189494a8a4d3d36ae425e0861c3091d60b98569dbeea7d67fc0bcdfd8f0dec85 snyk-linux-arm64 | ||
6a01f521874ebb850d7bb0d002aac29799ed7af3f6d7bc20c3b6635ca626952d snyk-linux | ||
e696c6168734c3c3e681a10ac73754123ba2ae798b3d7b28266fd1d3d8797e5a snyk-macos | ||
9aaa6958ea78ab5d1bf236d498006c143912318d343507a6b5f0baad96c1f3e3 snyk-protect.tgz | ||
9cf453cfa78d2cf7f44f9c785316172587b0fcf848d5a9276a291a9a2592dd52 snyk-win.exe | ||
4865a076a18a881a6ddaecc420f53bff99e2045dfd6615528d615ad9c3397448 docker-mac-signed-bundle.tar.gz | ||
a7cf6a909640a4676f2d5a21188594e254a13cf1561dcc082785fc5f700739a4 snyk-alpine | ||
4e895930944e9baab704b7cbd51bbb9fc5c005b12bfe88ddf639224ec02db07b snyk-fix.tgz | ||
bac61d5da998194d6bb83cc27e0a872b6a17cee6d691d39465a079ca3ffdc816 snyk-for-docker-desktop-darwin-arm64.tar.gz | ||
8a06d7dd4bc4447bd8e9cf839e337d9c14429ef2fb27d9e34b672e54e3cbae8b snyk-for-docker-desktop-darwin-x64.tar.gz | ||
50de6d520da245a56e2478d440262e2efabd59364bc52295cc57b48e4642437f snyk-linux-arm64 | ||
6a9a2e5c1c464a4e5cba26f7df83c2213571ea0cf922705f9ed213b43d144651 snyk-linux | ||
4aab7e4fb9f72f1a9c16600593439fb0d23a9dfe5fbeafce5654b5356e959e60 snyk-macos | ||
580b5a910d1f377bad0535668a25f12a6a27fc34c78d491f1c74e7959f777581 snyk-protect.tgz | ||
df98806fb657a8293d73b20db4a47b8494ff93c786066d00af630b40ec38a2cb snyk-win.exe |
@@ -1,10 +0,10 @@ | ||
9359cafa0d6e25fa1856fc7dc6fa7eb1eecd4824686cdefaefb80407312f3aa0 docker-mac-signed-bundle.tar.gz | ||
2e4abbfc70197797afd2df4f7b96979d62dd80c6db42779cf0edef05b799a6e5 snyk-alpine | ||
ab48f643047cb81f956d401a3f5d802228bf0f796e4b7e91afd0d629e7468b1f snyk-fix.tgz | ||
2060b1a9a2e69381f31613f38218c6c875de64b56c5ab51bc557847160e26599 snyk-for-docker-desktop-darwin-arm64.tar.gz | ||
10f48e01470f814ea9cb3a2fe7ac84e8e00bcd38346c29c640acaa6fa106584b snyk-for-docker-desktop-darwin-x64.tar.gz | ||
189494a8a4d3d36ae425e0861c3091d60b98569dbeea7d67fc0bcdfd8f0dec85 snyk-linux-arm64 | ||
6a01f521874ebb850d7bb0d002aac29799ed7af3f6d7bc20c3b6635ca626952d snyk-linux | ||
e696c6168734c3c3e681a10ac73754123ba2ae798b3d7b28266fd1d3d8797e5a snyk-macos | ||
9aaa6958ea78ab5d1bf236d498006c143912318d343507a6b5f0baad96c1f3e3 snyk-protect.tgz | ||
9cf453cfa78d2cf7f44f9c785316172587b0fcf848d5a9276a291a9a2592dd52 snyk-win.exe | ||
4865a076a18a881a6ddaecc420f53bff99e2045dfd6615528d615ad9c3397448 docker-mac-signed-bundle.tar.gz | ||
a7cf6a909640a4676f2d5a21188594e254a13cf1561dcc082785fc5f700739a4 snyk-alpine | ||
4e895930944e9baab704b7cbd51bbb9fc5c005b12bfe88ddf639224ec02db07b snyk-fix.tgz | ||
bac61d5da998194d6bb83cc27e0a872b6a17cee6d691d39465a079ca3ffdc816 snyk-for-docker-desktop-darwin-arm64.tar.gz | ||
8a06d7dd4bc4447bd8e9cf839e337d9c14429ef2fb27d9e34b672e54e3cbae8b snyk-for-docker-desktop-darwin-x64.tar.gz | ||
50de6d520da245a56e2478d440262e2efabd59364bc52295cc57b48e4642437f snyk-linux-arm64 | ||
6a9a2e5c1c464a4e5cba26f7df83c2213571ea0cf922705f9ed213b43d144651 snyk-linux | ||
4aab7e4fb9f72f1a9c16600593439fb0d23a9dfe5fbeafce5654b5356e959e60 snyk-macos | ||
580b5a910d1f377bad0535668a25f12a6a27fc34c78d491f1c74e7959f777581 snyk-protect.tgz | ||
df98806fb657a8293d73b20db4a47b8494ff93c786066d00af630b40ec38a2cb snyk-win.exe |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
42679072