list

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package list provides a list of annotation plugins.

Index

Constants

This section is empty.

Variables

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

All annotators.

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

Default detectors that are recommended to be enabled.

FFA (Full Filesystem Accountability) related annotators.

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

Misc annotators.

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

VEX generation related annotators.

Functions

func AnnotatorsFromName added in v0.3.1

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

AnnotatorsFromName returns a list of annotators from a name.

Types

type InitFn

type InitFn func(cfg *cpb.PluginConfig) annotator.Annotator

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