Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fee74d5

Browse files
authored
Update documentation to show SPDX support (anchore#452)
* add docs for spdx support Signed-off-by: Alex Goodman <[email protected]> * copy updates for format options Signed-off-by: Alex Goodman <[email protected]>
1 parent fee35dd commit fee74d5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ syft packages <image> -o <format>
8383
Where the `format`s available are:
8484
- `json`: Use this to get as much information out of Syft as possible!
8585
- `text`: A row-oriented, human-and-machine-friendly output.
86-
- `cyclonedx`: A XML report conforming to the [CycloneDX 1.2](https://cyclonedx.org/) specification.
86+
- `cyclonedx`: A XML report conforming to the [CycloneDX 1.2 specification](https://cyclonedx.org/specification/overview/).
87+
- `spdx`: A tag-value formatted report conforming to the [SPDX 2.2 specification](https://spdx.github.io/spdx-spec/).
88+
- `spdx-json`: A JSON report conforming to the [SPDX 2.2 JSON Schema](https://github.com/spdx/spdx-spec/blob/v2.2/schemas/spdx-schema.json).
8789
- `table`: A columnar summary (default).
8890

8991
## Installation

cmd/packages.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ import (
2828
const (
2929
packagesExample = ` {{.appName}} {{.command}} alpine:latest a summary of discovered packages
3030
{{.appName}} {{.command}} alpine:latest -o json show all possible cataloging details
31-
{{.appName}} {{.command}} alpine:latest -o cyclonedx show a CycloneDX SBOM
31+
{{.appName}} {{.command}} alpine:latest -o cyclonedx show a CycloneDX formatted SBOM
32+
{{.appName}} {{.command}} alpine:latest -o spdx show a SPDX 2.2 tag-value formatted SBOM
33+
{{.appName}} {{.command}} alpine:latest -o spdx-json show a SPDX 2.2 JSON formatted SBOM
3234
{{.appName}} {{.command}} alpine:latest -vv show verbose debug information
3335
3436
Supports the following image sources:

0 commit comments

Comments
 (0)