scanner

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetLicenses

func GetLicenses(digest, path string, filter types.ItemFilter) (*types.LicenseReport, error)

GetLicenses returns licenses for the given image.

func GetPackages added in v0.9.5

func GetPackages(digest, path string, filter types.ItemFilter) (*types.PackageReport, error)

GetPackages returns packages for the given image.

func GetVulnerabilities

func GetVulnerabilities(digest, path string, filter types.ItemFilter) (*types.VulnerabilityReport, error)

GetVulnerabilities returns vulnerabilities for the given image.

Types

type LicenseParser

type LicenseParser func(path string, filter types.ItemFilter) (*types.LicenseReport, error)

LicenseParser is an interface for license parsers.

type PackageParser added in v0.9.5

type PackageParser func(path string, filter types.ItemFilter) (*types.PackageReport, error)

PackageParser is an interface for package parsers.

type ScannerCmd added in v0.9.5

type ScannerCmd func(digest, path string) *exec.Cmd

MakeLicenseCmd is an interface for license scanners.

type VulnerabilityParser

type VulnerabilityParser func(path string, filter types.ItemFilter) (*types.VulnerabilityReport, error)

VulnerabilityParser is an interface for vulnerability parsers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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