cpe

package
v0.0.0-...-0710af2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DictionaryFind

func DictionaryFind(p pkg.Package) (cpe.CPE, bool)

func Generate

func Generate(p pkg.Package) []cpe.CPE

Generate Create a list of CPEs for a given package, trying to guess the vendor, product tuple. We should be trying to generate the minimal set of representative CPEs, which implies that optional fields should not be included (such as target SW).

func GetIndexedDictionary

func GetIndexedDictionary() (_ *dictionary.Indexed, err error)

func GroupIDsFromJavaMetadata

func GroupIDsFromJavaMetadata(metadata pkg.JavaMetadata) (groupIDs []string)

func GroupIDsFromJavaPackage

func GroupIDsFromJavaPackage(p pkg.Package) (groupIDs []string)

Types

This section is empty.

Directories

Path Synopsis
index-generator
This program downloads the latest CPE dictionary from NIST and processes it into a JSON file that can be embedded into Syft for more accurate CPE results.
This program downloads the latest CPE dictionary from NIST and processes it into a JSON file that can be embedded into Syft for more accurate CPE results.

Jump to

Keyboard shortcuts

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