sbom

package
v0.28.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 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]*types.ComponentSBOM, imgList []string, tmpPaths types.TempPaths) error

Catalog catalogs the given components and images to create an SBOM. func Catalog(componentSBOMs map[string]*types.ComponentSBOM, imgList []string, imagesPath, sbomPath string) error {

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(tmp types.TempPaths, outputDir string, packageName string) error

OutputSBOMFiles outputs the sbom files into a specified directory.

func ViewSBOMFiles

func ViewSBOMFiles(tmp types.TempPaths)

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