model

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Type      string
	FilePath  string `json:",omitempty"`
	Libraries []Package
}

type Package

type Package struct {
	types.Package
	Vulnerabilities []osv.Vulnerability
}

type PackageInfo

type PackageInfo struct {
	FilePath string
	Packages []Package
}

type ScanResult

type ScanResult struct {
	// 镜像/容器名称
	Name string

	// 镜像/容器ID
	ID string

	// 系统信息
	OSInfo *types.OS

	// 系统pkg总数
	PackageTotal int

	// 系统pkg详情
	PackageInfos []PackageInfo

	// 应用依赖总数
	ApplicationTotal int

	// 应用依赖详情
	Applications []Application

	// 漏洞总数
	CveTotal int
}

Jump to

Keyboard shortcuts

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