Documentation
¶
Overview ¶
Package vulncheck finds known, reachable vulnerabilities in a Go module's dependencies by running govulncheck over the target's repository (Target.Repo). It is optional and degrades gracefully: if the repo is not a Go module, or govulncheck is not installed, or it cannot analyze the code, the check reports nothing rather than failing the scan.
Note: govulncheck fetches the Go vulnerability database (vuln.go.dev by default) and must match the installed Go toolchain. For non-Go ecosystems, use a dedicated SCA tool; Scout does not bundle one.
Index ¶
- type GoVulnCheck
- func (GoVulnCheck) ASVS() []string
- func (GoVulnCheck) Category() core.Category
- func (GoVulnCheck) Description() string
- func (GoVulnCheck) ID() string
- func (GoVulnCheck) Mode() core.Mode
- func (GoVulnCheck) OWASP() []string
- func (GoVulnCheck) Run(ctx context.Context, t core.Target) ([]core.Finding, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoVulnCheck ¶
type GoVulnCheck struct{}
GoVulnCheck reports reachable CVEs in Go dependencies.
func (GoVulnCheck) ASVS ¶
func (GoVulnCheck) ASVS() []string
func (GoVulnCheck) Category ¶
func (GoVulnCheck) Category() core.Category
func (GoVulnCheck) Description ¶
func (GoVulnCheck) Description() string
func (GoVulnCheck) ID ¶
func (GoVulnCheck) ID() string
func (GoVulnCheck) Mode ¶
func (GoVulnCheck) Mode() core.Mode
func (GoVulnCheck) OWASP ¶
func (GoVulnCheck) OWASP() []string
Click to show internal directories.
Click to hide internal directories.