inventory

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Overview

Package inventory stores the scan result types SCALIBR can return.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inventory

type Inventory struct {
	Packages []*extractor.Package
	Findings []*detector.Finding
}

Inventory stores the artifacts (e.g. software packages, security findings) that a scan found.

func (*Inventory) Append

func (i *Inventory) Append(other ...Inventory)

Append adds one or more inventories to the current one.

func (Inventory) IsEmpty

func (i Inventory) IsEmpty() bool

IsEmpty returns true if there are no packages, findings, etc. in this Inventory.

Jump to

Keyboard shortcuts

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