Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner implements the Alpine scanner
func (*Scanner) Detect ¶
func (s *Scanner) Detect(ctx context.Context, osVer string, repo *ftypes.Repository, pkgs []ftypes.Package) ([]types.DetectedVulnerability, error)
Detect vulnerabilities in package using Alpine scanner
func (*Scanner) IsSupportedVersion ¶
func (s *Scanner) IsSupportedVersion(ctx context.Context, osFamily ftypes.OSType, osVer string) bool
IsSupportedVersion checks if the version is supported.
Click to show internal directories.
Click to hide internal directories.