sbom

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled         bool           `yaml:"enabled" mapstructure:"enabled"`
	AnalyzersList   []string       `yaml:"analyzers_list" mapstructure:"analyzers_list"`
	Inputs          []types.Input  `yaml:"inputs" mapstructure:"inputs"`
	MergeWith       []MergeWith    `yaml:"merge_with" mapstructure:"merge_with"`
	AnalyzersConfig *config.Config `yaml:"analyzers_config" mapstructure:"analyzers_config"`
}

type MergeWith

type MergeWith struct {
	SbomPath string `yaml:"sbom_path" mapstructure:"sbom_path"`
}

type Results

type Results struct {
	Metadata types.Metadata
	SBOM     *cdx.BOM
}

func (*Results) EncodeToBytes

func (r *Results) EncodeToBytes(outputFormat string) ([]byte, error)

func (*Results) IsResults

func (*Results) IsResults()

type SBOM

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

func New

func New(conf Config) *SBOM

func (SBOM) GetType

func (s SBOM) GetType() types.FamilyType

func (SBOM) Run

nolint:cyclop

Jump to

Keyboard shortcuts

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