cpe

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 18 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DictionaryFind added in v0.86.0

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 added in v0.86.0

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

func GroupIDsFromJavaMetadata added in v0.61.0

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

func GroupIDsFromJavaPackage added in v0.38.0

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