azure

package
v0.58.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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 CBL-Mariner scanner

func NewAzureScanner

func NewAzureScanner() *Scanner

func NewMarinerScanner

func NewMarinerScanner() *Scanner

func (*Scanner) Detect

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

Detect vulnerabilities in package using CBL-Mariner scanner

func (*Scanner) IsSupportedVersion

func (s *Scanner) IsSupportedVersion(_ context.Context, _ ftypes.OSType, _ string) bool

IsSupportedVersion checks if the version is supported.

Jump to

Keyboard shortcuts

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