scanservice

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SeverityIndexes = map[string]int{
		"critical":   4,
		"high":       3,
		"medium":     2,
		"low":        1,
		"negligible": 0,
	}
)

Functions

func AggregateScanAndGetQueue

func AggregateScanAndGetQueue(pluginName string, currentContent map[string]string, counts int, ignoreLength bool) []map[string]string

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL