sbom

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SeverityMapper = map[models.SeverityType]cyclonedx.ScoringMethod{
	models.SeverityCVSSV2: cyclonedx.ScoringMethodCVSSv2,
	models.SeverityCVSSV3: cyclonedx.ScoringMethodCVSSv3,
	models.SeverityCVSSV4: cyclonedx.ScoringMethodCVSSv4,
}

Functions

func ToCycloneDX14Bom

func ToCycloneDX14Bom(uniquePackages map[string]models.PackageVulns) *cyclonedx.BOM

func ToCycloneDX15Bom

func ToCycloneDX15Bom(uniquePackages map[string]models.PackageVulns) *cyclonedx.BOM

Types

type CycloneDXBomCreator

type CycloneDXBomCreator func(packageSources map[string]models.PackageVulns) *cyclonedx.BOM

Jump to

Keyboard shortcuts

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