sbom

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct {
	Logger *zap.Logger
}

Detector resolves graphs from explicit SBOM files using Bomly's first-party decoders.

func (Detector) Applicable

func (d Detector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)

Applicable reports whether the request targets an explicit SBOM file.

func (Detector) Descriptor

func (d Detector) Descriptor() sdk.DetectorDescriptor

Descriptor describes the first-party SBOM detector.

func (Detector) PackageManagerSupport

func (d Detector) PackageManagerSupport() []sdk.PackageManagerSupport

PackageManagerSupport returns SBOM package-manager discovery metadata.

func (Detector) Ready

func (d Detector) Ready() bool

Ready reports whether the detector can run in the current environment.

func (Detector) ResolveGraph

ResolveGraph resolves a dependency graph from a supported SBOM file.

Jump to

Keyboard shortcuts

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