debian

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClock

func WithClock(clock clock.Clock) option

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

Scanner implements the Debian scanner

func NewScanner

func NewScanner(opts ...option) *Scanner

NewScanner is the factory method to return Scanner

func (*Scanner) Detect

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

Detect scans and return vulnerabilities using Debian scanner

func (*Scanner) IsSupportedVersion

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

IsSupportedVersion checks is OSFamily can be scanned using Debian

Jump to

Keyboard shortcuts

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