syft301

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 12 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 v0.41.1 of Syft that supports Syft JSON Schema 3.0.1.

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Format

func Format() sbom.Format

func ToFormatModel

func ToFormatModel(s sbom.SBOM) model.Document

ToFormatModel transforms the sbom import a format-specific model. note: this is needed for anchore import functionality TODO: unexport this when/if anchore import functionality is removed

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