cyclonedx

package
v0.77.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVulnerability

func NewVulnerability(m match.Match, p vulnerability.MetadataProvider) (v cyclonedx.Vulnerability, err error)

NewVulnerability creates a Vulnerability document from a match and the metadata provider

Types

type Presenter

type Presenter struct {
	// contains filtered or unexported fields
}

Presenter writes a CycloneDX report from the given Matches and Scope contents

func NewJSONPresenter added in v0.55.0

func NewJSONPresenter(pb models.PresenterConfig) *Presenter

NewPresenter is a *Presenter constructor

func NewXMLPresenter added in v0.55.0

func NewXMLPresenter(pb models.PresenterConfig) *Presenter

NewPresenter is a *Presenter constructor

func (*Presenter) Present

func (pres *Presenter) Present(output io.Writer) error

Present creates a CycloneDX-based reporting

Jump to

Keyboard shortcuts

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