list

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 13 Imported by: 1

Documentation

Overview

Package list provides a functions for accessing SCALIBR-specific plugins from their respective type-specific lists.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(cfg *cpb.PluginConfig) ([]plugin.Plugin, error)

All returns all plugins defined in their type-specific list files. Note that these plugins have different capability Requirements and can't all be run on the same host (e.g. some are Linux-only while others are Windows-only) Prefer using FromCapabilities instead.

func Annotators

func Annotators(plugins []plugin.Plugin) []annotator.Annotator

Annotators returns the plugins from a list which are Annotators.

func Detectors

func Detectors(plugins []plugin.Plugin) []detector.Detector

Detectors returns the plugins from a list which are Detectors.

func Enrichers

func Enrichers(plugins []plugin.Plugin) []enricher.Enricher

Enrichers returns the plugins from a list which are Enrichers.

func FilesystemExtractors

func FilesystemExtractors(plugins []plugin.Plugin) []filesystem.Extractor

FilesystemExtractors returns the plugins from a list which are filesystem Extractors.

func FromCapabilities

func FromCapabilities(capabs *plugin.Capabilities, cfg *cpb.PluginConfig) ([]plugin.Plugin, error)

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

func FromName

func FromName(name string, cfg *cpb.PluginConfig) (plugin.Plugin, error)

FromName returns a single plugin based on its exact name.

func FromNames

func FromNames(names []string, cfg *cpb.PluginConfig) ([]plugin.Plugin, error)

FromNames returns a deduplicated list of plugins from a list of names.

func StandaloneExtractors

func StandaloneExtractors(plugins []plugin.Plugin) []standalone.Extractor

StandaloneExtractors returns the plugins from a list which are standalone Extractors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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