sbom

package
v0.30.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package sbom contains tools for generating SBOMs.

Package sbom contains tools for generating SBOMs.

Package sbom contains tools for generating SBOMs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Catalog

func Catalog(componentSBOMs map[string]*layout.ComponentSBOM, imageList []transform.Image, paths *layout.PackagePaths) error

Catalog catalogs the given components and images to create an SBOM.

func IsSBOMAble added in v0.27.1

func IsSBOMAble(pkg types.ZarfPackage) bool

IsSBOMAble checks if a package has contents that an SBOM can be created on (i.e. images, files, or data injections)

func OutputSBOMFiles

func OutputSBOMFiles(sourceDir, outputDir, packageName string) (string, error)

OutputSBOMFiles outputs the sbom files into a specified directory.

func ViewSBOMFiles

func ViewSBOMFiles(directory string)

ViewSBOMFiles opens a browser to view the SBOM files and pauses for user input.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder is the main struct used to build SBOM artifacts.

Jump to

Keyboard shortcuts

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