storage

package
v3.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignatureProvider

type SignatureProvider interface {
	GetSignature(id string) (*detection.Signature, error)
	ScanCandidates(topo *topology.FunctionTopology) ([]*detection.Signature, error)
	// AddSignature accepts a pointer to allow ID propagation back to the caller.
	// This is vital for maintaining a single source of truth for auto generated IDs.
	AddSignature(sig *detection.Signature) error
}

SignatureProvider defines the contract for signature persistence and retrieval. This abstraction allows the engine to remain agnostic of the underlying storage implementation while ensuring security and performance constraints are met.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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