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 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, _ *ftypes.Repository, pkgs []ftypes.Package) ([]types.DetectedVulnerability, error)
Detect scans the packages using amazon scanner
func (*Scanner) IsSupportedVersion ¶
IsSupportedVersion checks if os can be scanned using amazon scanner
Click to show internal directories.
Click to hide internal directories.