vuls2

package
v0.39.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: GPL-3.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultPath is the path for vuls2 db file
	DefaultPath = func() string {
		wd, _ := os.Getwd()
		return filepath.Join(wd, "vuls.db")
	}()
)

Functions

func Detect

func Detect(r *models.ScanResult, vuls2Conf config.Vuls2Conf, noProgress bool) error

Detect detects vulnerabilities and fills ScanResult

func EnrichVulnInfos added in v0.39.0

func EnrichVulnInfos(r *models.ScanResult, vuls2Conf config.Vuls2Conf, noProgress bool) error

EnrichVulnInfos enriches all ScannedCves in the ScanResult with additional vulnerability data (e.g., Red Hat API) from the vuls2 database. This should be called after all detection paths have completed.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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