Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Threshold *ThresholdConfig `yaml:"threshold"`
}
Config represents vulnerability thresholds that must be satisfied for the tool to return success code
func ReadConfig ¶
ReadConfig Load configuration file from filesystem
type ThresholdConfig ¶
type ThresholdConfig struct { CriticalCount int `yaml:"criticalCount"` HighCount int `yaml:"highCount"` MediumCount int `yaml:"mediumCount"` LowCount int `yaml:"lowCount"` UnknownCount int `yaml:"unknownCount"` }
ThresholdConfig represent values loaded from threshold configuration file
Click to show internal directories.
Click to hide internal directories.