From 321f7fd0d09ec5523b9e49e9292fda1fb770dcf3 Mon Sep 17 00:00:00 2001 From: ZAKKY Date: Fri, 19 Jun 2026 14:17:14 +0530 Subject: [PATCH] syft: add page (#22489) --- pages/common/syft.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/syft.md diff --git a/pages/common/syft.md b/pages/common/syft.md new file mode 100644 index 0000000000..b73ac14664 --- /dev/null +++ b/pages/common/syft.md @@ -0,0 +1,36 @@ +# syft + +> Generate a Software Bill of Materials (SBOM) from container images and filesystems. +> More information: . + +- Generate an SBOM from a container image: + +`syft {{image:tag}}` + +- Generate an SBOM from a local directory: + +`syft {{path/to/directory}}` + +- Generate an SBOM from a container archive file: + +`syft {{path/to/archive.tar}}` + +- Generate an SBOM in SPDX JSON format: + +`syft {{image:tag}} {{[-o|--output]}} spdx-json` + +- Generate an SBOM in CycloneDX JSON format: + +`syft {{image:tag}} {{[-o|--output]}} cyclonedx-json` + +- Write the SBOM to a file in a specific format: + +`syft {{image:tag}} {{[-o|--output]}} {{format}}={{path/to/output_file}}` + +- Display help: + +`syft {{[-h|--help]}}` + +- Display version: + +`syft --version`