Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureResultDir ¶
EnsureResultDir ensures the directory for scan results
Types ¶
type DetectedCveID ¶
type DetectedCveID struct {
CveID string
Confidence models.Confidence
}
DetectedCveID has CveID, Confidence and DetectionMethod fields LenientMatching will be true if this vulnerability is not detected by accurate version matching. see https://github.com/future-architect/vuls/pull/328
type Scanner ¶
type Scanner struct {
ResultsDir string
TimeoutSec int
ScanTimeoutSec int
CacheDBPath string
Debug bool
LogDir string
Quiet bool
DetectIPS bool
Targets map[string]config.ServerInfo
}
Scanner has functions for scan
func (Scanner) Configtest ¶
Configtest checks if the server is scannable.
Click to show internal directories.
Click to hide internal directories.