list

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package list provides a list of annotation plugins.

Index

Constants

This section is empty.

Variables

View Source
var All = concat(
	LayerDetails,
	VEX,
	Misc,
	FFA,
)

All annotators.

View Source
var Default = InitMap{cachedir.Name: {protoCfg(cachedir.New)}}

Default detectors that are recommended to be enabled.

FFA (Full Filesystem Accountability) related annotators.

View Source
var LayerDetails = InitMap{
	buildpacks.Name: {protoCfg(buildpacks.New)},
}

LayerDetails related annotators.

View Source
var Misc = InitMap{
	npmsource.Name:  {protoCfg(npmsource.New)},
	dpkgsource.Name: {protoCfg(dpkgsource.New)},
	brewsource.Name: {protoCfg(brewsource.New)},
}

Misc annotators.

View Source
var VEX = InitMap{
	apk.Name:              {protoCfg(apk.New)},
	cachedir.Name:         {protoCfg(cachedir.New)},
	cos.Name:              {protoCfg(cos.New)},
	dpkg.Name:             {protoCfg(dpkg.New)},
	rpm.Name:              {protoCfg(rpm.New)},
	noexecutabledpkg.Name: {protoCfg(noexecutabledpkg.New)},
}

VEX generation related annotators.

Functions

func AnnotatorsFromName added in v0.3.1

func AnnotatorsFromName(name string, cfg *config.PluginConfig) ([]annotator.Annotator, error)

AnnotatorsFromName returns a list of annotators from a name.

Types

type InitFn

type InitFn func(cfg *config.PluginConfig) (annotator.Annotator, error)

InitFn is the annotator initializer function.

type InitMap

type InitMap map[string][]InitFn

InitMap is a map of annotator names to their initers.

Jump to

Keyboard shortcuts

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