Documentation
¶
Overview ¶
Package convert provides a utility function for converting Veles plugins (Detectors and Validators) to SCALIBR core plugins (FilesystemExtractors and Enrichers)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromVelesDetector ¶
func FromVelesDetector(velesDetector veles.Detector, name string, version int) func() filesystem.Extractor
FromVelesDetector converts a Veles Detector into a SCALIBR FilesystemExtractor plugin. This allows enabling Veles Detectors individually like regular SCALIBR plugins. The wrapped FilesystemExtractor does not do any extraction on its own - it's a placeholder plugin that is used to configure the Veles detection before the scan starts.
func SetupVelesExtractors ¶
func SetupVelesExtractors(extractors []filesystem.Extractor) ([]filesystem.Extractor, error)
SetupVelesExtractors configures the central Veles secret detection plugin using the placeholder plugins found in the extractor list. Returns the updated extractor list.
Types ¶
This section is empty.