ci

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CDX

func CDX(cdx *cyclonedx.BOM) string

func MatchTable

func MatchTable(matches []Match)

func Run

func Run(ci types.CIConfiguration, cdx *cyclonedx.BOM)

TODO: Implement more CI logic

func TallyTable

func TallyTable(tally Tally) string

func Vex

func Vex(cdx *cyclonedx.BOM) string

Types

type Assessment

type Assessment struct {
	Tally        Tally
	FailCriteria string
	Matches      []Match
	Passed       bool
}

func Evaluate

func Evaluate(criteria string, cdx *cyclonedx.BOM) Assessment

type Match

type Match struct {
	Component     *cyclonedx.Component
	Vulnerability *cyclonedx.Vulnerability
}

type Tally

type Tally struct {
	Unknown    int
	Negligible int
	Low        int
	Medium     int
	High       int
	Critical   int
}

Jump to

Keyboard shortcuts

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