cyclonedx

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Namespace = "aquasecurity:trivy:"

	PropertySchemaVersion = "SchemaVersion"
	PropertyType          = "Type"
	PropertyClass         = "Class"

	// Image properties
	PropertySize       = "Size"
	PropertyImageID    = "ImageID"
	PropertyRepoDigest = "RepoDigest"
	PropertyDiffID     = "DiffID"
	PropertyRepoTag    = "RepoTag"

	// Package properties
	PropertySrcName         = "SrcName"
	PropertySrcVersion      = "SrcVersion"
	PropertySrcRelease      = "SrcRelease"
	PropertySrcEpoch        = "SrcEpoch"
	PropertyModularitylabel = "Modularitylabel"
	PropertyFilePath        = "FilePath"
	PropertyLayerDigest     = "LayerDigest"
	PropertyLayerDiffID     = "LayerDiffID"
)

Variables

This section is empty.

Functions

func WithClock

func WithClock(clock clock.Clock) option

func WithFormat

func WithFormat(format cdx.BOMFileFormat) option

func WithNewUUID

func WithNewUUID(newUUID newUUID) option

Types

type Writer

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

Writer implements types.Writer

func NewWriter

func NewWriter(output io.Writer, version string, opts ...option) Writer

func (Writer) Write

func (cw Writer) Write(report types.Report) error

Write writes the results in CycloneDX format

Jump to

Keyboard shortcuts

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