analyzer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze

func Analyze(events []types.SyscallEvent) (string, []types.SyscallEvent)

Analyze determines a verdict based on captured events. Events matching known-benign patterns are filtered out first. Suspicious events are enriched with Category and Reason fields.

func GenerateSummary added in v0.4.0

func GenerateSummary(verdict string, events []types.SyscallEvent) *types.ReportSummary

GenerateSummary creates a human-readable summary from analyzed events.

func SetSensitivePaths added in v0.5.0

func SetSensitivePaths(patterns []string)

SetSensitivePaths configures the sensitive path patterns used by the analyzer to detect credential access via shell commands (e.g. "cat ~/.ssh/id_rsa").

Types

This section is empty.

Jump to

Keyboard shortcuts

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