Documentation ¶
Index ¶
- func CheckDependencies(timeoutSec int)
- func CheckIfSudoNoPasswd(timeoutSec int)
- func CheckScanModes() error
- func DetectIPSs(timeoutSec int)
- func DetectPlatforms(timeoutSec int)
- func EnsureResultDir(scannedAt time.Time) (currentDir string, err error)
- func GetScanResults(scannedAt time.Time, timeoutSec int) (results models.ScanResults, err error)
- func InitServers(timeoutSec int) error
- func PrintSSHableServerNames() bool
- func Scan(timeoutSec int) error
- func ViaHTTP(header http.Header, body string) (models.ScanResult, error)
- type DetectedCveID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDependencies ¶ added in v0.3.0
func CheckDependencies(timeoutSec int)
CheckDependencies checks dependencies are installed on target servers.
func CheckIfSudoNoPasswd ¶ added in v0.1.5
func CheckIfSudoNoPasswd(timeoutSec int)
CheckIfSudoNoPasswd checks whether vuls can sudo with nopassword via SSH
func DetectIPSs ¶ added in v0.8.3
func DetectIPSs(timeoutSec int)
DetectIPSs detects the IPS of each servers.
func DetectPlatforms ¶ added in v0.1.5
func DetectPlatforms(timeoutSec int)
DetectPlatforms detects the platform of each servers.
func EnsureResultDir ¶ added in v0.5.0
EnsureResultDir ensures the directory for scan results
func GetScanResults ¶
GetScanResults returns ScanResults from
func InitServers ¶
InitServers detect the kind of OS distribution of target servers
func PrintSSHableServerNames ¶ added in v0.1.5
func PrintSSHableServerNames() bool
PrintSSHableServerNames print SSH-able servernames
Types ¶
type DetectedCveID ¶ added in v0.3.0
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