syft2

package
v2.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

README

Source

The contents of this directory is largely based on anchore/syft's internal syftjson package. The version copied is from an old commit of Syft that supports Syft JSON Schema 2.0.2.

The implementations of decoder and validator have been omitted for simplicity, since they are not required for buildpacks' SBOM generation.

Aspects of the model have been copied over due to slight deviations against the latest Syft JSON model.

Documentation

Index

Constants

View Source
const ID sbom.FormatID = "syft-2.0-json"
View Source
const JSONSchemaVersion string = "2.0.2"

Variables

This section is empty.

Functions

func Format

func Format() sbom.Format

func ToFormatModel

func ToFormatModel(s sbom.SBOM) internalmodel.Document

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL