format

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorizeSeverity

func ColorizeSeverity(severity string) string

func ColorizeStringBySeverity

func ColorizeStringBySeverity(value string, severity string) string

func CurrentTag

func CurrentTag(image *types.Image) string

func Cve

func Cve(sb *types.Sbom, c *types.Cve)

func Cves

func Cves(cve string, cves *[]types.Cve, sb *types.Sbom, remediate bool, dockerCli command.Cli, workspace string, apiKey string)

func Image

func Image(image *types.Image, imageTags bool) string

func PackageRemediation

func PackageRemediation(p types.Package, c types.Cve) string

func Remediation

func Remediation(remediation []string)

func RenderCommit

func RenderCommit(image *types.Image) string

func RenderVulnerabilities

func RenderVulnerabilities(image *types.Image) string

func ToSeverity

func ToSeverity(cve types.Cve) string

func ToSeverityInt

func ToSeverityInt(cve types.Cve) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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