Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// General settings
Mode string `toml:"mode"` // interactive, strict, log
MinSeverity string `toml:"min_severity"` // low, medium, high, critical
Offline bool `toml:"offline"`
// Auto-scan settings
AutoScan struct {
Enabled bool `toml:"enabled"`
Ecosystems []string `toml:"ecosystems"` // node, python, rust, go, ruby
} `toml:"auto_scan"`
// Docker settings
Docker struct {
Enabled bool `toml:"enabled"`
Image string `toml:"image"`
Timeout int `toml:"timeout"` // seconds
} `toml:"docker"`
// ClamAV settings
ClamAV struct {
Enabled bool `toml:"enabled"`
Socket string `toml:"socket"`
} `toml:"clamav"`
// YARA settings
YARA struct {
Enabled bool `toml:"enabled"`
RulesPath string `toml:"rules_path"`
CustomRules []string `toml:"custom_rules"`
} `toml:"yara"`
// Cache settings
Cache struct {
Enabled bool `toml:"enabled"`
TTL int `toml:"ttl"` // hours
} `toml:"cache"`
// Output settings
Output struct {
Format string `toml:"format"` // table, json, minimal
ShowClean bool `toml:"show_clean"`
Verbose bool `toml:"verbose"`
} `toml:"output"`
}
Config represents SecChain configuration
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles configuration operations
func NewManager ¶
NewManager creates a new configuration manager
Click to show internal directories.
Click to hide internal directories.