sbom

package
v0.0.0-...-47294c1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sbom holds sbom related files

Index

Constants

View Source
const (
	ScanFilesystemType = "filesystem" // ScanFilesystemType defines the type for file-system scan
	ScanDaemonType     = "daemon"     // ScanDaemonType defines the type for daemon scan
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report interface {
	ToCycloneDX() (*cyclonedxgo.BOM, error)
	ID() string
}

Report defines the report interface

type ScanOptions

type ScanOptions = types.ScanOptions

ScanOptions defines the scan options

func ScanOptionsFromConfig

func ScanOptionsFromConfig(cfg config.Component, containers bool) (scanOpts ScanOptions)

ScanOptionsFromConfig loads the scanning options from the configuration

type ScanRequest

type ScanRequest = types.ScanRequest

ScanRequest defines the scan request interface

type ScanResult

type ScanResult struct {
	Error     error
	Report    Report
	CreatedAt time.Time
	Duration  time.Duration
	ImgMeta   *workloadmeta.ContainerImageMetadata
}

ScanResult defines the scan result

Directories

Path Synopsis
Package collectors holds collectors related files
Package collectors holds collectors related files
docker
Package docker holds docker related files
Package docker holds docker related files
host
Package host holds host related files
Package host holds host related files
Package scanner holds scanner related files
Package scanner holds scanner related files
Package telemetry holds telemetry related files
Package telemetry holds telemetry related files
Package types holds sbom related types
Package types holds sbom related types

Jump to

Keyboard shortcuts

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