buildinfo

package
v1.41.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 37 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	// Warnings holds user-facing messages from tree-build (e.g. unresolved HF references).
	Warnings []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)

Jump to

Keyboard shortcuts

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