convert

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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