Skip to content

Commit a16bac1

Browse files
committed
chore: update docs for container sbom command
1 parent 0ebbade commit a16bac1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

help/cli-commands/container-sbom.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `snyk container sbom` feature requires an internet connection.
1010

1111
## Usage
1212

13-
`$ snyk container sbom --format=<cyclonedx1.4+json|cyclonedx1.4+xml|cyclonedx1.5+json|cyclonedx1.5+xml|cyclonedx1.6+json|cyclonedx1.6+xml|spdx2.3+json> [--org=<ORG_ID>] [--exclude-app-vulns] <IMAGE>`
13+
`$ snyk container sbom --format=<cyclonedx1.4+json|cyclonedx1.4+xml|cyclonedx1.5+json|cyclonedx1.5+xml|cyclonedx1.6+json|cyclonedx1.6+xml|spdx2.3+json> [--org=<ORG_ID>] [--platform=<PLATFORM>] [--exclude-app-vulns] <IMAGE>`
1414

1515
## Description
1616

@@ -59,6 +59,12 @@ If you have multiple organizations, you can set a default from the CLI using:
5959

6060
For more information, see the article [How to select the Organization to use in the CLI](https://docs.snyk.io/snyk-cli/scan-and-maintain-projects-using-the-cli/how-to-select-the-organization-to-use-in-the-cli)
6161

62+
### `--platform=<PLATFORM>`
63+
64+
For multi-architecture images, specify the platform for the container image.
65+
66+
Supported platforms are: `linux/amd64`, `linux/arm64`, `linux/riscv64`, `linux/ppc64le`, `linux/s390x`, `linux/386`, `linux/arm/v7`, or `linux/arm/v6`
67+
6268
### `[--exclude-app-vulns]`
6369

6470
Snyk scans and generates an SBOM for operating system dependencies as well as application dependencies in your image by default.

0 commit comments

Comments
 (0)