Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SeverityRanking = map[string]int{
"Unknown": 0,
"Negligible": 1,
"Low": 2,
"Medium": 3,
"High": 4,
"Critical": 5,
}
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func (*Analyzer) Analyze ¶
func (a *Analyzer) Analyze(vulnerabilityReport *apiclair.VulnerabilityReport) (*AnalyzerResult, error)
func (*Analyzer) PrintResult ¶
func (a *Analyzer) PrintResult(result *AnalyzerResult, quiet bool)
type AnalyzerResult ¶
type AnalyzerResult struct { OK bool Rows []*AnalyzerResultRow CountTotal int CountNotOKWhitelisted int CountNotOKNotWhitelisted int }
Click to show internal directories.
Click to hide internal directories.