Documentation ¶
Index ¶
- Constants
- func CheckDependencies(timeoutSec int)
- func CheckIfSudoNoPasswd(timeoutSec int)
- func CheckScanModes() error
- func DetectPlatforms(timeoutSec int)
- func EnsureResultDir(scannedAt time.Time) (currentDir string, 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 ¶
View Source
const ( Outside = iota Header = iota Content = iota )
state
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 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 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
Click to show internal directories.
Click to hide internal directories.