cyclonedx

package
v0.86.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

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

NewJSONPresenter is a *Presenter constructor

func NewXMLPresenter added in v0.55.0

func NewXMLPresenter(pb models.PresenterConfig) *Presenter

NewXMLPresenter 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