sbom

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package sbom is the engine module wrapper around internal/sbom. It projects a full Software Bill of Materials into the unified Finding model: an INFO summary of what was inventoried, plus INFO findings for any non-fatal cataloger warnings. The rich SBOM itself is retrieved via the `dsecrat sbom` command (or internal/sbom.Generate) rather than the Finding stream.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct{}

Module is the SBOM-generation capability (CAPABILITY_SPEC domain 1).

func New

func New() *Module

New returns an SBOM module.

func (*Module) Analyze

func (m *Module) Analyze(ctx context.Context, t *engine.Target) ([]engine.Finding, error)

Analyze builds the SBOM and returns summary findings.

func (*Module) Description

func (m *Module) Description() string

func (*Module) Domains

func (m *Module) Domains() []string

func (*Module) Name

func (m *Module) Name() string

func (*Module) Supports

func (m *Module) Supports(t engine.TargetType) bool

Jump to

Keyboard shortcuts

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