amazon

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClock added in v0.20.0

func WithClock(clock clock.Clock) option

Types

type Scanner

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

Scanner to scan amazon vulnerabilities

func NewScanner

func NewScanner(opts ...option) *Scanner

NewScanner is the factory method to return Amazon scanner

func (*Scanner) Detect

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

Detect scans the packages using amazon scanner

func (*Scanner) IsSupportedVersion

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

IsSupportedVersion checks if os can be scanned using amazon scanner

Jump to

Keyboard shortcuts

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