buildinfo

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetResolutionRepoInParamsIfExists

func SetResolutionRepoInParamsIfExists(params *technologies.BuildInfoBomGeneratorParams, tech techutils.Technology) (serverDetails *config.ServerDetails, err error)

func WithDescriptors

func WithDescriptors(descriptors []string) bom.SbomGeneratorOption

Types

type BuildInfoBomGenerator

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

func NewBuildInfoBomGenerator

func NewBuildInfoBomGenerator() *BuildInfoBomGenerator

func (*BuildInfoBomGenerator) CleanUp

func (b *BuildInfoBomGenerator) CleanUp() error

func (*BuildInfoBomGenerator) GenerateSbom

func (b *BuildInfoBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)

func (*BuildInfoBomGenerator) PrepareGenerator

func (b *BuildInfoBomGenerator) PrepareGenerator() error

func (*BuildInfoBomGenerator) WithOptions

func (b *BuildInfoBomGenerator) WithOptions(options ...bom.SbomGeneratorOption) bom.SbomGenerator

type DependencyTreeResult

type DependencyTreeResult struct {
	FlatTree     *xrayUtils.GraphNode
	FullDepTrees []*xrayUtils.GraphNode
	DownloadUrls map[string]string
}

func GetDiffDependencyTree

func GetDiffDependencyTree(scanResults *results.TargetResults, resultsToCompare *results.TargetResults, fullDepTrees ...*xrayUtils.GraphNode) (*DependencyTreeResult, error)

Collect dependencies exists in target and not in resultsToCompare

func GetTechDependencyTree

func GetTechDependencyTree(params technologies.BuildInfoBomGeneratorParams, artifactoryServerDetails *config.ServerDetails, tech techutils.Technology) (depTreeResult DependencyTreeResult, err error)

Directories

Path Synopsis
gem
go
npm

Jump to

Keyboard shortcuts

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