Versions in this module Expand all Collapse all v0 v0.44.0 Aug 25, 2023 v0.0.1 Oct 9, 2023 Changes in this version + var SeverityColor = []func(a ...interface{}) string + func ColorizeSeverity(value, severity string) string + func IsOutputToTerminal(output io.Writer) bool + func NewFileLicenseRenderer(result types.Result, isTerminal bool, severities []dbTypes.Severity) fileLicenseRenderer + func NewMisconfigRenderer(result types.Result, severities []dbTypes.Severity, ...) *misconfigRenderer + func NewPkgLicenseRenderer(result types.Result, isTerminal bool, severities []dbTypes.Severity) pkgLicenseRenderer + func NewSecretRenderer(target string, secrets []types.SecretFinding, ansi bool, ...) *secretRenderer + func NewVulnerabilityRenderer(result types.Result, isTerminal, tree bool, severities []dbTypes.Severity) *vulnerabilityRenderer + func RenderTarget(w io.Writer, target string, isTerminal bool) + type Renderer interface + Render func() string + type Writer struct + IgnoredLicenses []string + IncludeNonFailures bool + LicenseRiskThreshold int + Output io.Writer + Severities []dbTypes.Severity + ShowMessageOnce *sync.Once + Trace bool + Tree bool + func (tw Writer) Write(report types.Report) error