analyzer

package
v0.0.0-...-b5b2af5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppMap = map[string]string{
	"gobinary":        "Go",
	"gomod":           "Go",
	"python-pkg":      "PyPI",
	"pip":             "PyPI",
	"pipenv":          "PyPI",
	"jar":             "Maven",
	"pom":             "Maven",
	"gradle-lockfile": "Maven",
	"npm":             "npm",
	"node-pkg":        "npm",
	"yarn":            "npm",
	"pnpm":            "npm",
}

Functions

func ScanAsset

func ScanAsset(fileSystem api.FileSystem, parallel int64) *analyzer.AnalysisResult

func ScanContainer

func ScanContainer(container api.Container, parallel int64) (model.ScanResult, error)

func ScanImage

func ScanImage(image api.Image, parallel int64) (model.ScanResult, error)

func ScanOSV

func ScanOSV(res *model.ScanResult, verbose bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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