Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AggregateScanAndGetQueue = func(pluginName string, currentContent map[string]string, counts int, ignoreLength bool) []map[string]string { aggregatedScans, err := dbservice.AggregateScans(pluginName, currentContent, counts, ignoreLength) if err != nil { log.Printf("AggregateScans Error: %v", err) return aggregatedScans } if len(currentContent) != 0 && len(aggregatedScans) == 0 { log.Printf("New scan was added to the queue of %q without sending.", pluginName) return nil } return aggregatedScans }
View Source
var (
SeverityIndexes = map[string]int{
"critical": 4,
"high": 3,
"medium": 2,
"low": 1,
"negligible": 0,
}
)
Functions ¶
This section is empty.
Types ¶
type ScanService ¶
type ScanService struct {
// contains filtered or unexported fields
}
func (*ScanService) ResultHandling ¶
func (scan *ScanService) ResultHandling(input string, plugins map[string]plugins.Plugin)
Click to show internal directories.
Click to hide internal directories.