Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner implements the Chainguard scanner
func NewScanner ¶
func NewScanner(opts ...option) *Scanner
NewScanner is the factory method for Scanner
func (*Scanner) Detect ¶
func (s *Scanner) Detect(_ string, _ *ftypes.Repository, pkgs []ftypes.Package) ([]types.DetectedVulnerability, error)
Detect vulnerabilities in package using Chainguard scanner
func (*Scanner) IsSupportedVersion ¶
IsSupportedVersion checks the OSFamily can be scanned using Chainguard scanner
Click to show internal directories.
Click to hide internal directories.