alpine

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

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 NewScanner

func NewScanner() *Scanner

NewScanner is the factory method for Scanner

func (*Scanner) Detect

func (s *Scanner) Detect(osVer string, pkgs []ftypes.Package) ([]types.DetectedVulnerability, error)

Detect vulnerabilities in package using Alpine scanner

func (*Scanner) IsSupportedVersion

func (s *Scanner) IsSupportedVersion(osFamily, osVer string) bool

IsSupportedVersion checks the OSFamily can be scanned using Alpine scanner

Jump to

Keyboard shortcuts

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