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 |
crio
Package crio holds crio related files
|
Package crio holds crio 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 |
Click to show internal directories.
Click to hide internal directories.