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
Click to show internal directories.
Click to hide internal directories.