Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPaths ¶
func GetConfigPaths() []string
GetConfigPaths returns standard configuration file paths
Types ¶
type Config ¶
type Config struct {
Scan ScanConfig `yaml:"scan"`
Thresholds Thresholds `yaml:"thresholds"`
Output OutputConfig `yaml:"output"`
Logging LoggingConfig `yaml:"logging"`
}
Config represents the application configuration
func GetDefaultConfig ¶
func GetDefaultConfig() *Config
GetDefaultConfig returns the default configuration
type HTMLConfig ¶
type HTMLConfig struct {
Path string `yaml:"path"`
AutoRefresh bool `yaml:"auto_refresh"`
RefreshInterval int `yaml:"refresh_interval"`
Theme string `yaml:"theme"`
}
HTMLConfig contains HTML report settings
type LoggingConfig ¶
LoggingConfig contains logging settings
type MarkdownConfig ¶
type MarkdownConfig struct {
Enabled bool `yaml:"enabled"`
Path string `yaml:"path"`
IncludeExamples bool `yaml:"include_examples"`
}
MarkdownConfig contains markdown report settings
type OutputConfig ¶
type OutputConfig struct {
HTML HTMLConfig `yaml:"html"`
Markdown MarkdownConfig `yaml:"markdown"`
}
OutputConfig contains output-related settings
type ScanConfig ¶
type ScanConfig struct {
Paths []string `yaml:"paths"`
Exclude []string `yaml:"exclude"`
FileTypes []string `yaml:"file_types"`
}
ScanConfig contains scanning-related settings
Click to show internal directories.
Click to hide internal directories.