list

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 7 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,
)

All annotators.

Default detectors that are recommended to be enabled.

VEX generation related annotators.

Functions

func AnnotatorsFromNames

func AnnotatorsFromNames(names []string) ([]annotator.Annotator, error)

AnnotatorsFromNames returns a deduplicated list of annotators from a list of names.

func FilterByCapabilities

func FilterByCapabilities(annotators []annotator.Annotator, capabs *plugin.Capabilities) []annotator.Annotator

FilterByCapabilities returns all annotators from the given list that can run under the specified capabilities (OS, direct filesystem access, network access, etc.) of the scanning environment.

func FromCapabilities

func FromCapabilities(capabs *plugin.Capabilities) []annotator.Annotator

FromCapabilities returns all annotators that can run under the specified capabilities (OS, direct filesystem access, network access, etc.) of the scanning environment.

Types

type InitFn

type InitFn func() 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