Documentation
¶
Overview ¶
Package annotator provides the interface for annotation plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Annotator ¶
type Annotator interface {
plugin.Plugin
// Annotate annotates the scan results with additional information.
Annotate(ctx context.Context, input *ScanInput, results *inventory.Inventory) error
}
Annotator is the interface for an annotation plugin, used to add additional information to scan results such as VEX statements. Annotators have access to the filesystem but should ideally not query any external APIs. If you need to modify the scan results based on the output of network calls you should use the Enricher interface instead.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cachedir implements an annotator for packages that are in cache directories.
|
Package cachedir implements an annotator for packages that are in cache directories. |
|
Package list provides a list of annotation plugins.
|
Package list provides a list of annotation plugins. |
|
osduplicate
|
|
|
dpkg
Package dpkg implements an annotator for language packages that have already been found in DPKG OS packages.
|
Package dpkg implements an annotator for language packages that have already been found in DPKG OS packages. |
Click to show internal directories.
Click to hide internal directories.